Tuesday, February 21, 2017

Grass Animation

Wikipedia says :

Platform game (or platformer) is a video game which involves guiding an avatar to jump between suspended platforms and/or over obstacles to advance the game. The player controls the jumps to avoid letting the avatar fall from platforms or miss necessary jumps. The most common unifying element of games of this genre is the jump button, but now there are other alternative like swiping in touchscreen. Jumping, in this genre, may include swinging from extendable arms, or bouncing from springboards or trampolines. These mechanics, even in the context of other genres, are commonly called platforming, a verbification of platform.

From over the internet, feedback -they said- is one factor that make a platformer, or maybe any game feels good. It is how the character actually interacts with the environment. The dust animation is one thing. With this little effect, it makes a lot of different how the game look and feel. The game is more "visually polished" and pleasing to play.

Dust effect.









This time i try to make the grass, or flower maybe, or any kind of cosmetics decorations animated when the player is interact with it. I follow a tutorial from https://zackbellgames.com/ using a sprite skewing and triangle strip to make the grass wiggle.

And the result is
The flower will move a bit when the player interacted with them.

And, with some layering setup, i got some depth effect bonus as the result. 

3 comments:

  1. Please, if you could I want to see yor code? If thats ok 👌?

    ReplyDelete
  2. Please, if you could i want to see your cide, if thats ok 👌

    ReplyDelete