Clouds: simple jumping on moving platforms

Applet:
http://xvp.pl/clouds/clouds.html

Goal: Find the golden cloud and jump on top of it.
Hint: Golden cloud emits yellow tiles.
Controls: Arrows for right, left and jump.
More info: Big clouds fly slower, small quicker. With player on top, cloud loses energy
and eventually begins to fall. Big clouds have a lot of energy, small have little.

Wow!.. I actually liked it :slight_smile:

Gave no errors for me, everything worked fine, here some suggestions:

  • If the player is standing on a cloud, make the player have the same velocity as the cloud, because he moves off else…
  • The player is able to get “stuck” in a cloud for a moment… This doesn’t look good… but you’d need to do more cracy collision detection else…
  • make the camera move with the player a bit more… The problem is, that the camera currently always looks in the opposite direction as the player walks, because of the algorithm. Either make it strictly follow the player, or (better) make it move slightly farther in the direction the player previously walked.

Everything other than that: Awesome work! Just the right size a game has to have for learning game development. Move on with somehow a bit harder game ideas. As I see you even used procedural generation here (the moving of the clouds and the clouds itself), why not go on with a game focused on procedural generation? (believe me, these algorithms are fun! :wink: )

Offtopic: @Riven: aren’t [ol]'s part of bb-codes? :frowning: I’d like to have them…

  • A
  • Be
  • Sea
[list type=decimal]? okey...

It’s a small nice game, good job :slight_smile:

Good small game. I’d like the character to feel more “real” with weight or something, but a nice little game. Hard. :smiley:

+1. Good small game.

please please please please please add the cloud’s x velocity to the player’s x velocity.

This is my only complaint about the game :slight_smile:
It’s a nice challenging game. Update the graphics, add sounds, add high scores, and publish! haha

Thanks for all the comments.

About player’s x velocity vs cloud’s x velocity: I’m aware of this feature, at first I was going to do what you said. But later I thought it’s an additional challenge, one that makes you search for a vertical edge to hang on. Maybe I could implement some sort of compromise: the player could slide off the cloud at slower rate…

When I started implementing this game, I thought I’ll make something more complicated, main feature was supposed to be the clouds, but in the beginning I thought about flying a baloon that reacted to temperature of the clouds etc. Later I just added the jumping dude, and the game ended up being pretty simple. I’ve had some ideas about going further, like fluently shrinking and enlarging objects (both clouds and the hero), but I decided it’s going to be making everything unneccessarily complicated. So for now, I don’t feel like adding anything.