Help the pirate infiltrate the rival gang's base in search of treasure.


Controls:

Move- A and D, left arrow and right arrow

Jump- Space key

Attack- Left Shift or Left mouse button


Comments

Log in with itch.io to leave a comment.

Hey, I saw your follow and had a look at your games. Are you using Unity’s native physics as such? This can cause the character to do weird things like bumping the edge of the ground and flying up.

For arcade games it’s better to get maximum control over motion, using 0 friction 0 bounce physics material, then either setting rigidbody body velocity each frame and having them just stop on collision via native collision solver (easier) or setting kinematic body velocity and manually resolving collisions by clamping position (harder, but more control).

If you’re using a capsule 2D collider, which is okay for organic moves, you can also swap to a rectangle collider there to avoid character sliding and falling from the edge. It will give a weird edge case when character has half of their body over the air, but you can fix this later via animation (the famous Sonic “about to fall” animation).

Keep learning and developing, it’s a long way but you’ll quickly see progress over projects!