revosw / RainbowLand

Testing how version control is handled for unity projects
2 stars 0 forks source link

Create Basic Player Object #2

Closed Ferskken closed 2 years ago

Ferskken commented 2 years ago

Make a Basic Player with jump, walljump and double jump.

olav-valle commented 2 years ago

todo:

Update:

These issue are fixed most of the way now. Still needs some tweaking to make it feel good. Solution was to change movement inputs to use addForce instead of setting rigid body velocity directly, along with some control logic.

We now apply a force in the input x-direction each update while velocity is below a specified max.

If input in x-direction is 0, then velocity is reduced geometrically each frame by a specified multiplier. This part still uses rb.velocity directly, and a better solution probably exists. The current implementation feels pretty good to play though.

A few changes still need to be implemented:

olav-valle commented 2 years ago
olav-valle commented 2 years ago

Some thoughts on player movement.

Been playing Super Mario 3 and World for a bit today, trying to get a feel for how the movement is implemented.

SMB3

To my surprise, the movement in SMB3 (considered by many, me included, to be one of the best platformers ever) actually feels really floaty... Floaty to the point where it took me some time to readjust my platforming instincts before I could play the game comfortably. The game actually felt sort of bad, until I got it dialled in... It almost had the same kind of floatiness that the prototype has. Some observations:

Super Mario World

Gonna have to do some more "research" here, before I can make any judgements... Initial thought are that it feels like SMB3 but with better tuning, which is no surprise.