playMaker

Author Topic: Animated backgrounds  (Read 386 times)

Seiryu33

  • Full Member
  • ***
  • Posts: 112
    • View Profile
Animated backgrounds
« on: March 16, 2019, 12: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: 454
    • View Profile
Re: Animated backgrounds
« Reply #1 on: March 16, 2019, 05: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.