Timeline
a Timeline is a tool used to create and manage complex animations and sequences over time.
a Timeline is a tool used to create and manage complex animations and sequences over time.
It allows you to control and animate objects, properties, and behaviours in a visually intuitive way, similar to how timelines work in video editing software or animation tools.
It allows you to control and animate objects, properties, and behaviours in a visually intuitive way, similar to how timelines work in video editing software or animation tools.
To create the scripted event
To create the scripted event
in which the bridge reforms in front of the player
in which the bridge reforms in front of the player
we will change the x position, y position and angle
we will change the x position, y position and angle
of each piece of the bridge over time.
of each piece of the bridge over time.
Save the images below to import as a single Sprite
Save the images below to import as a single Sprite
with multiple frames.
with multiple frames.
0
0
1
1
2
2
3
3
4
4
We only need collisions
We only need collisions
on the top of each piece.
on the top of each piece.
Adjust the collision polygon
Adjust the collision polygon
and apply to the entire animation.
and apply to the entire animation.
Remember to add the Solid behaviour to the BridgePiece!
Remember to add the Solid behaviour to the BridgePiece!
Adjust the angle of each piece and position them just outside the layout like so:
Adjust the angle of each piece and position them just outside the layout like so:
Now we want to attach some water drops to each bridge piece
Now we want to attach some water drops to each bridge piece