Hi,
I just started to use RMMV. I'll buy it next month but I have already started working on it. I used older versions. I've never really use Ruby. Only by some few modifications.
Now I want to use Javascript to simplify my event systems before the entire script.
In an event I do something like that :
Condition : If variable "picture" = 1
> Display picture "Mypicture1", x= variableX, y= variabley etc...
end
Condition : If variable "picture" = 2
> Display picture "Mypicture2", x= variableX, y= variabley etc...
end
and I do that 24 times. (I'm crazy and very patient :headshake: ).
Before I ask my question here, I did some research. Tell me if I'm wrong
I want to display a picture. I call a script and I do something like that :
$gameScreen.showPicture(1, "Mypicture", 0, 50, 50, 100, 100, 255, normal)
I want also use a variable in the name of my picture (Mypicture1, Mypicture2, Mypicture3...) and for the position
$gameScreen.showPicture(1, "Mypicture{VARIABLE1}", 0, {VARIABLE2}, {VARIABLE3}, 100, 100, 255, normal)
How can I do ?
I use game variables $gameVariables(1) for the picture name, $gameVariables(2) for X, $gameVariables(3) for Y.
Please help me to learning .
I just started to use RMMV. I'll buy it next month but I have already started working on it. I used older versions. I've never really use Ruby. Only by some few modifications.
Now I want to use Javascript to simplify my event systems before the entire script.
In an event I do something like that :
Condition : If variable "picture" = 1
> Display picture "Mypicture1", x= variableX, y= variabley etc...
end
Condition : If variable "picture" = 2
> Display picture "Mypicture2", x= variableX, y= variabley etc...
end
and I do that 24 times. (I'm crazy and very patient :headshake: ).
Before I ask my question here, I did some research. Tell me if I'm wrong
I want to display a picture. I call a script and I do something like that :
$gameScreen.showPicture(1, "Mypicture", 0, 50, 50, 100, 100, 255, normal)
I want also use a variable in the name of my picture (Mypicture1, Mypicture2, Mypicture3...) and for the position
$gameScreen.showPicture(1, "Mypicture{VARIABLE1}", 0, {VARIABLE2}, {VARIABLE3}, 100, 100, 255, normal)
How can I do ?
I use game variables $gameVariables(1) for the picture name, $gameVariables(2) for X, $gameVariables(3) for Y.
Please help me to learning .
).