would you mind going into further detail if you know how plz?[know how to make an airship fir rmxp or redeclare variables]
|
Re-Declare - To declare again
Declaring a variable - setting its value.
Re-declaring Variables is simple. After you use a variable and have no use for it, use it again! that way you don't use 500,000 variables in one game. If you had a variable that was used in tutorial island, and you don't need it anymore. just go ahead and use it in the fire dungeon. Understand?
Ok, let me see if i can try to explain the boat/airship thing without a demo.
(the thing about not having a demo is i don't know if this would work or not. GLG if you could test this for me.. it would be appreciated)
Make a common event that will set your speed higher, set a move route to make yourself "through" and then, change your graphic to the boat/airship. (i say make a common event that way you don't have to keep making them over and over, you can just call the event)
To make unpassable areas, make an event that has no graphic (or have a graphic if you want) and make sure that its like this
Event starts on Event touch (not player touch) Then set the move route for the way opossite of the clear event, that way when he runs into it, he turns around. Understand? You can do that for the deep areas if you only have like a row boat, you can't go cross-country with it into deep water. Pretty simple
Thats the basic idea, just make sure that if it doesn't work. Do what your gut says. Try everything, write ideas down when your not by the computer. (Seriously, keep a pen/pencil and paper by at all times) Thats the way you make great games.
Edit: OK! I made it. Heres the simplest way to do it. Make an airship event that looks like this
Text: "Would you like to board the \C[3]Airship\C[0]?" (the \C[0] stuff is the text colors in VX :P)
Show Choices: Yes, No
When [Yes]
@>Set move route: Player [wait for completion]
$>Through = On
$>Move 1 step towards event (so that he moves on it)
@>Set move route: Player [wait for completion]
$>Change graphic to "Airplane.jpg"
@>Set move route: Player [don't wait]
$>Change speed to X (test the speeds out to see which you like.)
Control Self Switch > A = ON
Erase Event
When [No]
Nothing here
Now, make a new event page. And put that the only way that it activates is if self switch A is on. Make sure it runs as a parallel process and then do this.
Conditional Branch: Button (Blah) is being pressed?
Yes:
Text: Are you sure you want to land? (if you land in an unmoveable tile then you will be forced to start the game over from were you last saved)
Show choices: Yes,no
When [yes]
Set move route player
Change speed back to normal
Through = off (that way he doesn't keep going through walls and such)
Change graphic back to his own body.
when [no]
nothing happens.
(I like that event
lol took me about 5 seconds to think it up. Muahaha GLG i'm getting up to your thinkings (btw thanks for the advice "think like a programmer"))
Now for areas that you don't want to be passable. This is the easiest one yet.
Make an event. No graphic but make it activate on EVENT TOUCH.
Then just put this
Set move route player
1 step backward.
Thats it. :P LOL! I love being able to answer peoples questions. Keep sending em this way!