That looks nice!
But there is one thing I think should be improved.
In the video it seemed that sometimes mario got hit even you jumped on the enemy.
Have you done the enemy beating just by collision top side of enemy?
It seems like that and because GE's collision system is pixel perfect, mario loses if some
of his pixels hits the side of the enemy, even if he is on top of the enemy.
You should get rid of that by checking marios y position compared to enemys in
the collisions.
Example:
Mario - collision left or right side of enemy - script editor:
- Code: Select all
if (y + height*0.25 > collide.y - collide.height*0.25)
{
//here the losing code
}
With adding 0.25*height to marios y position in the check and decreasing 0.25*collide.height from enemys y position, there will be little bigger area for colliding on the top of enemy without losing.
Of course, if 0.25 is too much or less, it can be changed.
I wish that was helpful.
Can't wait to try the game!