Log In  

Made a quick and buggy (hah) Frogger.

I wanted to try an hypothesis: I don't think that in the Atari version they do any collision detection at all. Instead, they may use a formula to check whether current position is occupied by an item or not.

Formula in function positem() returns an x position depending on a direction, speed and offset, and is used to draw items and also for checking if there is something on frogger's position (checkrow())

Cart #frogger-0 | 2020-05-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#76997 2020-05-22 00:54 ( Edited 2020-05-22 00:58)


[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-06-03 10:51 | 0.022s | 2097k | Q:36