Log In  

I'm the guy who will grab 5 slices of free pizza at a party or somethin'.

Cart #train-0 | 2018-12-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I made this little toy for fun. Feel free to make your own tracks (gimme credit tho). :)

P#59864 2018-12-10 03:36 ( Edited 2018-12-11 00:50)

I think it would be neat to have scripts, ones that have a prefix maybe (like "hkblah" with "hk" being the prefix) could be loaded into Pico-8 and launched with a hotkey.

So in the script in the comments you could do

And when Pico-8 detects you press CTRL and S it would run the script.

You could use this to make cheat sheets, have a launcher and go back to it, launch splore, launch a tool to import music and such.

What do you think?

P#57323 2018-09-30 19:39 ( Edited 2018-09-30 23:39)

Hello! I love Pico-8, however I've been trying to find out how to do collision. I've done tons of stuff, however the closest I get does the job for some games. However it can't slide.

Let's say you could move the player in 8 directions top down, and there's a wall on your right. If I hold right, I will run into the wall, however due to the way my code works (and I've tried different ways) if you hold up and right, instead of just going up it just makes you stay there. Meaning it's hard to get into 1 tile gaps in walls.

I've also noticed platformers are hard to do as well, as my code checks each corner, I have no way to check what direction a wall is, meaning if you're jumping while running into a wall, when you get to the top and only one corner is touching the wall, it makes you stick.

So is there any good collision systems that is easy to understand, and allows sliding? Thanks. :)

P#55482 2018-08-21 18:45 ( Edited 2018-08-23 06:44)

Follow Lexaloffle:        
Generated 2020-06-05 16:50 | 0.092s | 4194k | Q:31