-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enemy Killed Animation #54
Comments
can we add a dissolving or fading effect? |
@EdwardDunn since we are jumping on the enemies, why not squeeze them and make them fall to the ground? This can be done, quit simple, by changing height and using the function hitBottom. I can do a pull-request if you like to. |
I don't think you can easily use the Jquery animation tools typical for CSS animation since the sprites are using the Canvas object - antoschd probably has the easiest method. I couldn't find anything that felt like a cool death animation here: |
@antoschd Great idea, Its nice and simple but really adds to the game play. If other contributors want to create a more advanced animation that is fine but this is a good start. Go ahead and create a PR for your change. I will keep this issue open for anyone who wants to keep working on animations. |
setting height to a third of original and drop enemy to the ground if dead EdwardDunn#54
use alpha to fade away enemy EdwardDunn#54
Enemy Killed Animation
Currently when the player character jumps on an enemy character it falls off the screen.
Create an animation that makes the enemy character explode instead of falling away every time there is a collision.
There are a number of JQuery plugins to help with sprite animation.
The text was updated successfully, but these errors were encountered: