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 Posts

Latest Profile Posts

Got sick and had to take a few days off work in order to get tested and make sure it wasn't the big one. Felt a lot better today and thought to myself, "Hey now, I can't get tested until tomorrow anyway, I can get so much character art done today!"
....I watched Youtube and browsed this site for hours instead.
>.>
But at least I'm doing the art now! Yaaaaay.......
1638314262144.png
Didn't wanna spam the feed by posting Denzel's spritelayer separae, but I'm real happy with how this concept is coming along so wanted to share it, innit :D
EVXA wrote on Avery's profile.
Not sure how often you take time to play the games sent to you, but if you could give my game a shout & review on steam maybe that would be amazing, only if you like the game of course, I'd love to know which games have been your favorites over the years too.
I'm seeing my god daughter's school play next week. Being the mild agoraphobe I am this makes me nervous. Thus I had a dream that it was actually a plot by my best friend to take me clubbing at an establishment where it is customary to throw a harpoon at staff members to reward good service.
Praise be to the game make!

Forum statistics

Threads
117,090
Messages
1,104,489
Members
153,087
Latest member
Luphelia
Top