Uploaded May 2022 | Updated September 2026, 2 weeks ago
I was playing around with some simple ideas for platform collision detection. I do this by checking if there is a playfield below while the fire button is not being pressed or collision detection while jumping.
This is not part of a game I am working on but I had wondered about making a platform in the future and I thought up some code in the shower and was curious if it worked the way I thought it would when all was said and done. I do love some of the new platforming games on the Atari like the VHZC games like Game of the Bear or even ones like Panky and while I have played around with the platform example from Random Terrain's website I wanted to make my own platforming code so that I could one day make one.
In Pizza Boy I had a kind of fixed platforming where the y coordinates could only be certain numbers or would increment a certain distance. This code allows for any distance.
I had a brain fart in making gravity (I have done it before in Pizza Boy and Lineman) but I started with just plugging in the playfield checks and then made a simple jump/float to kind of just test collision. Overall for a short bit of code it seemed to do a decent job checking platforms all over the stage.
I was playing around with some simple ideas for platform collision detection. I do this by checking if there is a playfield below while the fire button is not being pressed or collision detection while jumping.
This is not part of a game I am working on but I had wondered about making a platform in the future and I thought up some code in the shower and was curious if it worked the way I thought it would when all was said and done. I do love some of the new platforming games on the Atari like the VHZC games like Game of the Bear or even ones like Panky and while I have played around with the platform example from Random Terrain's website I wanted to make my own platforming code so that I could one day make one.
In Pizza Boy I had a kind of fixed platforming where the y coordinates could only be certain numbers or would increment a certain distance. This code allows for any distance.
I had a brain fart in making gravity (I have done it before in Pizza Boy and Lineman) but I started with just plugging in the playfield checks and then made a simple jump/float to kind of just test collision. Overall for a short bit of code it seemed to do a decent job checking platforms all over the stage.










