skymen

Veteran
Veteran
Joined
Aug 26, 2013
Messages
46
Reaction score
5
First Language
French
Primarily Uses
Hi, I'm trying to make some very basic A-RPG plugin, and I would like to know how to play an animation on an event via Javascript.
 

Gyldstrand

Veteran
Veteran
Joined
Oct 16, 2014
Messages
76
Reaction score
4
You mean like the animations under the Animations tab?

$gameMap.event(1).requestAnimation(1)
 
Last edited by a moderator:

Sausage_Boi

Game Dev. "Artist."
Veteran
Joined
Sep 10, 2014
Messages
1,744
Reaction score
703
First Language
Americanese
Primarily Uses
RMVXA
My question, as an addendum, is: If I use that request animation call, can I build an animation outside of MV via javascript and import the animation? Like, for instance an animated title screen?
 
Last edited by a moderator:

Gyldstrand

Veteran
Veteran
Joined
Oct 16, 2014
Messages
76
Reaction score
4
I had to google "addendum". What does the Javascript animation look like in code?
 

Sausage_Boi

Game Dev. "Artist."
Veteran
Joined
Sep 10, 2014
Messages
1,744
Reaction score
703
First Language
Americanese
Primarily Uses
RMVXA
CODE.png


i screenshotted CodeAcademy for this snippet, because I couldn't copy it.
 

Gyldstrand

Veteran
Veteran
Joined
Oct 16, 2014
Messages
76
Reaction score
4
I don't know a whole lot but I think you can do stuff like that. If not you can probably make something to make it do that.
 

Latest Threads

Latest Profile Posts

d757 going live today
Me: *Decides to make a custom battle system for my game using events.*
One week later: *Decides to implement about 200% more tactics than originally planned.*
Another week later: *Decides to add in allies to battle and let you switch between them without using any of the default battle system or menu options at all because I'm a masochist.*
We got BASE COLOR, bois!! And sadness...
Hap2FPS.gifHap5FPS.gif
Happy

Sad2FPS.gifSad5FPS.gif
Sad
A game review, Eloquent Countenance by RachelDrawsThis.

Forum statistics

Threads
118,719
Messages
1,118,172
Members
155,861
Latest member
marytan123
Top