lower mario bros but scaled x2

6

G-9 2022-08-15 14:48

don't use this scroling system it's the worst but i just can't figure out about smooth scrolling so


Awsa 2022-08-15 16:36 (Edited)

Cool, it looks great!


was8bit 2022-08-15 19:26

One trick is to "force" the character to stop precisely onto each cell... so if your cells are 8x8, allow 8 pixels of movement, then stop at next cell to reassess next movement

For bigger 16x16 cells, just allow 16 pixels of sprite movement, and stop and reassess...

Also, all blocks should completely fill their block, so a block of 8x8 is a whole 8x8 square, same for 16x16, the entire block is full... so you dont have to contend with partial blocks..

Its a cheat, but it does allow for smooth movement that is super easy on the math ;)


SP4CEBAR 2022-08-15 20:49 (Edited)

The gameplay feels great, it gives a parallax effect, even though there's no background


Log in to reply.