nighthawkcoders / platformer3x

JavaScript Gaming Project, Student / Teacher cooperative development
https://nighthawkcoders.github.io/platformer3x/
Apache License 2.0
1 stars 6 forks source link

Monkey facial distortion #6

Closed jm1021 closed 6 months ago

jm1021 commented 6 months ago

Issue

Game was not supporting different sprite animation on same line. Code has been altered to add this behavior.

Other observations

There are instance where monkey still distorts. Like when jumping on Goomba or rapid Jumping. These seem minor, but would require additional investigation.

File Summary

GameSetup.js - supports an option optional min key/value to be used primarily when start is NOT zero Character.js - supports frameX starting at min frame Player.js - animation support for min frame, removed key up extra animation call

jm1021 commented 6 months ago

Picked up in pull request