My version of Hoppy Days

I’ve not presented myself yet… but anyway, I’ve finished the Hoppy Days tutorial and here is my take on it:

https://whereismybit.com/hoppydaysantartica

Differences to Yann’s original version:

  • Different sound effects (generated using https://jfxr.frozenfractal.com/#).
    
  • Used the alternative way to avoid the jump bug (after jumping a flag variable is used skip the is_on_floor() check for one "physics frame", so it doesn't reset the y motion set by the jump).
    
  • Use a rather convoluted way to allow the player jump from the edge of a platform (as it is sloped, the player is not on the floor, but sliding; if less than 100ms have lapsed since last is_on_floor()==true and the motion.y is less than a threshold, you can still jump).
    
  • The cloud motion is smooth
    
  • The lightning motion has been made more erratic, as it is not a normal solid object.
    
  • There is an incoming portal and an outgoing one.
    
  • Hurt animation for the player.
    
  • Some collected coins statistics on the "Victory".
    

The level is quite short, but I’m proud of its playability. Hope you like it!

Edit: Forgot to mention that the sources are available here: HoppyDaysAntartica_20180829-1.zip . I’ll be honored if someone finds them interesting, use parts from them or find bugs :slight_smile:.

3 Likes

Really like your idea for fixing the jump bug, that was driving me crazy since it takes away control unexpectedly from the player. Implemented my own version and it’s working great. Good stuff man!

Privacy & Terms