Log In  
Follow
gigs

I like to code

[ :: Read More :: ]

Been seeing some amazing things in Pico-8 lately and want to try my hand at some basic 3d. Can someone point me in the right direction for learning?
Thanks! <3

P#87676 2021-02-15 16:30 ( Edited 2021-02-15 16:31)

[ :: Read More :: ]

Been getting interested in neural networks and machine learning lately and recently discovered this:https://github.com/vbrydik/pico-nn

On the GitHub page it says to "Just copy code from here and use it in pico-8 or other lua app."

I know I can't just copy it into a p8 cart because the code it references isn't in my cart.

What would be the correct way to implement this?

Thanks :)

P#75494 2020-04-27 16:32

[ :: Read More :: ]

Hey all,

Been having this issue where P8 will suddenly close usually when I am editing code on Sublime Text. Seems to happen after about ten minutes or so. Anyone else experiencing this?

On Windows 10.

I'll update if I notice any patterns.

P#75298 2020-04-24 16:40 ( Edited 2020-04-24 16:41)

[ :: Read More :: ]

Stepped away from P8 for a while so I find myself a bit confused about the draw and update behavior.

I am trying to make a game where pieces fall and I am using cicfill to create these.

function build_pill(x,y,color,y2,color2)
    radius=2.2
    x2 = x - 3

    pill={circfill(x,y,radius,color),
                circfill(x2,y2,radius,color2)
        }
        add(pills,pill)

        return pill
end

I call it in update:

function _update()
    cls()
    build_pill(30,30,5,30,9)

end

The cls() function keeps erasing my object. However when I remove the cls() function the screen doesnt look right either.

SO

When is the right place to put the cls() and still be able to draw my shapes?

Thanks!

P#73681 2020-03-05 03:15

[ :: Read More :: ]

Was looking through the api on https://neko250.github.io/pico8-api/ and I noticed the command gui_theme. It seemed to be something I enter in the splore console but does't work. Is there a correct way to use this? Has it been deprecated?

P#61828 2019-02-13 01:14

[ :: Read More :: ]

Cart #56636 | 2018-09-14 | Code ▽ | Embed ▽ | No License

So this is a followup to a thread I made a few days ago about having trouble parsing a table that has multiples of the same piece.
In this example I am trying to select either piece (which will be indicated by an arrow) but as you will see it only works for one.

P#56637 2018-09-13 22:29 ( Edited 2018-09-14 22:17)

[ :: Read More :: ]

So apologies if this has been asked before,

I am looking to build a sentence with random strings that will be stored in a table.

For example:

    text = {}
names = {"a", "b", "c"}

name = names[rnd(2)] <-- doesn't work :(

foo = {
    str = "Hi my name is" .. name
}

Everything I have found is in the Non P8 version of Lua.

P#54142 2018-07-13 12:56 ( Edited 2018-07-18 08:53)

[ :: Read More :: ]

Hi P8 community,

I am looking to embed some of my games onto a portfolio site I built using Github pages and am not sure how to embed the player without just linking to it on a separate view.
I am certain this can be done as I have seen games on Itch and the like.
I'm sure its easy and I'm just forgetting some basic HTML thing.

Anyone?

Thanks!

P#53393 2018-06-08 18:16 ( Edited 2018-06-10 16:02)

[ :: Read More :: ]

Hey P8 fam,

Got a weird thing happening with my game and am having trouble finding anything on this, What is happening is on my map editor I am seeing sprite formations that I did not put there and when I try to remove some of them I see a glitching effect on some of the sprites I did place intentionally when I run the game.
Does that make sense?

Does this have to do with the 128 sprite limit? Didn't think I hit it.

Happy to answer any questions, thanks.

P#50710 2018-03-22 22:35 ( Edited 2018-03-25 01:53)

[ :: Read More :: ]

by gigs
Cart #46336 | 2017-11-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Hey all so I posted a cart so you can see what I am facing here:

I have the town with buildings that have collision coded into them with the doors coded to take the player to another room which is admittedly hacked together.
What happens is the player is then transported(sorta) to a new location - yet when I move him around in the 'new' zone there seems to be residual collision code which prevents total freedom of movement for the player.

Any better ways to go about this? I want the player to enter the brown zone and be able to freely move around at will.

Thanks!

P#46337 2017-11-15 16:12 ( Edited 2017-11-18 19:48)

[ :: Read More :: ]

Hello Pico 8 fam,

Been working on a game that is something of a Final Fantasy clone and I am trying to implement different rooms for the player to enter. I am stumped with how to get this going and was wondering if there were any good resources available for me to dig into.

I need a blank slate each time I enter a room.

P#45988 2017-11-07 23:08 ( Edited 2017-11-08 06:59)

[ :: Read More :: ]


P#43566 2017-08-23 22:00 ( Edited 2017-08-24 02:00)

[ :: Read More :: ]

Hey everyone,

I recently purchased Pico-8 and am loving it. I am breezing through the few tutorials there are on the internet and am starting to wonder how many of you have implemented physics engines to handle things such as gravity and the like.
I have been looking at other people's code and getting a bit of a clue but am feeling a little overwhelmed :<.

Any resources would be great as I want to learn how to do this for real so I can grow as a developer.

Thanks!

Edit: Just looking for something simple how when the player jumps, to have him come back down

P#26396 2016-08-03 16:38 ( Edited 2016-08-04 01:50)

Follow Lexaloffle:          
Generated 2024-03-29 15:21:57 | 0.081s | Q:25