Elaborate Battles
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 108
- Joined: Mon Mar 21, 2016 8:42 am
- Completed: Deep Inside, KOI, ROAR, Dreamquartz, YOLO
- Projects: Emerald Wasp
- Deviantart: Banya-Laplace-Studio
- itch: banya
- Location: Italy
- Contact:
Elaborate Battles
I wondered if I could add to the battle system flashing images like in Fire Emblem Heros (like this, specifically: https://www.youtube.com/watch?v=f1ttLkhWJUE), or even a gif. I'm a beginner with python but I'm willing to learn! So... what approach should I use to gain this effect?
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: Elaborate Battles
To make an animation you can do like thisBanya wrote: ↑Wed Sep 26, 2018 3:46 pm I wondered if I could add to the battle system flashing images like in Fire Emblem Heros (like this, specifically: https://www.youtube.com/watch?v=f1ttLkhWJUE), or even a gif. I'm a beginner with python but I'm willing to learn! So... what approach should I use to gain this effect?
defining the animation
Code: Select all
image animation_attack:
"frame1.png"
0.2 #delay in seconds until next frame is shown
"frame2.png"
0.2
"frame3.png"
0.2
---------------
repeat # if you want a looping animation, which you probably do not want in this case
Code: Select all
show animation_attack:
xpos 100
ypos 440
-
- Regular
- Posts: 108
- Joined: Mon Mar 21, 2016 8:42 am
- Completed: Deep Inside, KOI, ROAR, Dreamquartz, YOLO
- Projects: Emerald Wasp
- Deviantart: Banya-Laplace-Studio
- itch: banya
- Location: Italy
- Contact:
Who is online
Users browsing this forum: Google [Bot]