Noah2610 / deathfloor

Work-in-progress Mega Man inspired game.
MIT License
2 stars 0 forks source link

Refactor MovementData component #12

Closed Noah2610 closed 4 years ago

Noah2610 commented 4 years ago

MovementData is too player-specific and holds too much information in general. Should probably be renamed and reused as PhysicsData (gravity, acceleration, etc.), and the Jumper and WallJumper components should hold jumping data for the player.

Noah2610 commented 4 years ago

Also refactor MovementData's wall_slide_strength into new WallSlider component.

Noah2610 commented 4 years ago

Remaining fields on PhysicsData component (previously MovementData):

This is aight for now.