Log In  

Cart #32977 | 2016-12-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


Hi my name is Benjamin and this is my first cartridge.
In this I am showcasing how to do very simple collision detection, inspired by Scathes game which you can find here: https://www.lexaloffle.com/bbs/?tid=3116

Don't be afraid to ask questions if you have any!

P#32978 2016-12-03 16:03 ( Edited 2016-12-08 13:01)

You could separate the collision checker into X and Y collision checkers, separately. This would fix the issue of being "stuck" on walls (For example, if you try to go up and left on a wall above you, you will not go left).

P#33200 2016-12-08 08:01 ( Edited 2016-12-08 13:01)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 11:18:45 | 0.009s | Q:15