Hey guys,
I’m starting to make my first game in Blitz3D (a simple clone of the classic Sega arcade game Pengo) and I need some help moving my character around properly. Basically I want my character to always conform to the grid squares in the playing area which are 64x64 units. So my character can move at any speed but when the player lets go of the move key the character always stops on the next closest grid space.
Any help or simple code would be great :-)
I’m starting to make my first game in Blitz3D (a simple clone of the classic Sega arcade game Pengo) and I need some help moving my character around properly. Basically I want my character to always conform to the grid squares in the playing area which are 64x64 units. So my character can move at any speed but when the player lets go of the move key the character always stops on the next closest grid space.
Any help or simple code would be great :-)