Log In  

I'm working on a top down dungeon game and I have my initial concept laid out, however I'm stuck on creating collision for it. My skill level is middle of the line, I can traverse a cheat sheet with ease and use the basic features. I use tiles in the map to create my rooms so I plan on using flags to create collision boxes for the tiles needed. Someone on the BBS told me to use the sample collision demo, it took me a while to reverse engineer and it certainly works, but the results mess with my games movement mechanics (actually creates acceleration when the original has set speeds) I'm looking for a solution or guide to make the process easier to understand, I have no prior coding experience outside of Pico-8 so I'm learning as I go. Thanks in advance!

P#49564 2018-02-23 16:15 ( Edited 2018-02-23 22:19)

Can't you "start over" from the collide sample?
The framework is rather solid and should put you in the "right" direction.
Do not hesitate to post your game in the Work in Progress section.

Shameless plug: if you squint your eyes, you'll see the collide sample behind https://www.lexaloffle.com/bbs/?pid=48516&tid=30652

P#49566 2018-02-23 16:34 ( Edited 2018-02-23 21:34)

I've done that basically, but it's how the code checks for collision that makes it impossible to avoid the acceleration. I'd rather start from scratch to be honest.

I've also looked over your code and it looks extremely well optimized, though a lot of it is basically letters and numbers to me. Thanks though!

P#49569 2018-02-23 17:19 ( Edited 2018-02-23 22:19)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-20 04:55:48 | 0.005s | Q:10