Create an animation
The animations can boost your game. First you need to create.
- Go to the
Click resource area. In our case, we have this resource :
The image is composed of several patterns
- Go to
Animationsin the data base
- Add a new entry
- Select the animation previously uploaded.
Indicate the number of patterns on the width and height
We have 5 patterns of the width (1) and 3 patterns on the height (2)
Enter frequency of the animation. The higher the frequency, the higher the animation is jerky.
Your image is cut in order to have all the patterns :
The frames on the left corresponds to the time duration.
- Click the first frame in the list as well as a pattern down (a red box appears to show the selection)
Click the black area to place your pattern.
You can change some settings on the pattern :
It is possible to place multiple patterns in the black area
Click on the second frame on the left list and repeat the same procedure. If you want to get the last frames (to avoid replacing them manually each time), click 'Paste previous` frame button
- Finally, click
Playbutton to see the render your animation
View the animation on the map
- Go to the map editor
- Add an event
dd the command event
Show Animations on the
Specify the target of the animation (here, the player)
- Specify the animation previously created.
- Assign a general
100for no zoom)
- Indicate whether the player can move while the animation by clicking
- Validate all
When you test the game and run the event. The animation is displayed correctly on the player.