JordyMoos / elm-pixel-boulder-game

Pixel Boulder Game in Elm
https://jordymoos.github.io/elm-pixel-boulder-game/?startLevel=official%2F001&hideDebug=1
MIT License
41 stars 6 forks source link

Split movement from transform component #153

Closed JordyMoos closed 5 years ago

JordyMoos commented 5 years ago

Because the transform component is given on creation we can not really tune it.

If transform component just holds the position (x and y) And the movement is handled by another components (MovementComponent?) Then we can also make the movement speed dynamic.

This also solves the issue that now all actors are dynamic actors.

JordyMoos commented 5 years ago

Done https://github.com/JordyMoos/elm-pixel-boulder-game/pull/154