TheHeroOfTheDawn
Member
Alright, seeing as how no one is gonna do this for me (as my request goes unanswered)... I've decided to take things into my own hands...
Ok, what I'm trying to do is create a script that would allow me to create at Tales-style "Skit" using pictures. Now, yes, I can easily event things into place, but here's the kicker- I can't animate the pictures (which, animating the pictures would allow for the skit faces to appear to actually be talking, which is what I'm trying to do...) without a script.
What I'm aiming to create:
I'd have my event code look like this:
[Event Page]
Show Picture: 1,'Girl_Skit_Face_Happy', Upper Left (150,115) (100%, 100%)
Show Picture: 2,'Guy_Skit_Face_Embarrassed', Upper Left (450,115) (100%, 100%)
script:
Text: [Insert some Text Here]
script:
End
The script command would be like this
$animate.picture would start it, the arguments being ([Picture Id from Show picture Command], [Amount of Frames])
$loop.animation would cause the animation to loop, it's arguments are ([Picture Id from Show picture Command], [Start Loop with This Frame], [End loop with this frame]) (Do note, I'm gonna try to make it so that, if the loop is called without the start and stop commands, it will just play all of the frames over and over)
$stop.animation would stop the animation, argument: ([Picture Id from Show picture Command]), thus returning the picture to the way it was when the script was first called.
Or, that'd be my plan anyways... I have no idea on where to begin.
I've got a base idea. I've created a class for my script, and got some variables.
I need to know how I'd call in the data from the "Show Picture" command to fill some of these variables.
I'm also not quite sure on how to get the script to act off of the script event command.
Any help would be greatly appreciated.
Ok, what I'm trying to do is create a script that would allow me to create at Tales-style "Skit" using pictures. Now, yes, I can easily event things into place, but here's the kicker- I can't animate the pictures (which, animating the pictures would allow for the skit faces to appear to actually be talking, which is what I'm trying to do...) without a script.
What I'm aiming to create:
I'd have my event code look like this:
[Event Page]
Show Picture: 1,'Girl_Skit_Face_Happy', Upper Left (150,115) (100%, 100%)
Show Picture: 2,'Guy_Skit_Face_Embarrassed', Upper Left (450,115) (100%, 100%)
script:
Code:
$animate.picture (1, 3)
$loop.animation (1, 2, 3)
script:
Code:
$stop.animation (1)
The script command would be like this
$animate.picture would start it, the arguments being ([Picture Id from Show picture Command], [Amount of Frames])
$loop.animation would cause the animation to loop, it's arguments are ([Picture Id from Show picture Command], [Start Loop with This Frame], [End loop with this frame]) (Do note, I'm gonna try to make it so that, if the loop is called without the start and stop commands, it will just play all of the frames over and over)
$stop.animation would stop the animation, argument: ([Picture Id from Show picture Command]), thus returning the picture to the way it was when the script was first called.
Or, that'd be my plan anyways... I have no idea on where to begin.
I've got a base idea. I've created a class for my script, and got some variables.
I need to know how I'd call in the data from the "Show Picture" command to fill some of these variables.
I'm also not quite sure on how to get the script to act off of the script event command.
Any help would be greatly appreciated.