playMaker

Author Topic: Animated backgrounds  (Read 865 times)

Seiryu33

  • Full Member
  • ***
  • Posts: 133
Animated backgrounds
« on: March 16, 2019, 03:01:40 PM »
So this is a tricky one. Like I know how to make scrolling backgrounds from still images, but how do I create animated backgrounds? Like you have a stage with moving water that rises and falls like in Sonic. So far I've only found things about programming.

Thore

  • Sr. Member
  • ****
  • Posts: 480
Re: Animated backgrounds
« Reply #1 on: March 16, 2019, 08:07:04 PM »
You probably just need to make a sprite animation. Ideally, the animated elements are separate from the still background. You simply make a game object, plug the animation component onto it, import the sprite sheet and then drag the different sprites onto the timeline in the animation window. The procedure is the same for when the entire background has animation frames. If you’ve never done this, look up beginner tutorials on sprite animation.

Also note, when the animation is a transform, i.e. an object or waterlevel just moves up and down, a wheel spins, etc, you are better off with using keyframes. This is also quite basic and the best is to watch introduction tutorials on YouTube.