Main Menu
  • Welcome to The RPG Maker Resource Kit.

Underwater

Started by AlwaysIdeas, February 14, 2007, 07:33:36 AM

0 Members and 1 Guest are viewing this topic.

AlwaysIdeas

Travelling underwater in a submarine would be possible on RPG XP wouldn't it. Tell me if I'm right:

Just make a tileset that is underwater, make passable etc, change sprite to submarine and your right, just like normal world maps.

But what if I had it that if you press say...SHIFT, the sub rises and turns into a boat?
How would you do this for an airship as well, (eg press control to transform)?
If it is scripts needed, how would I make it that as soon as you get the ship, you can't turn into the submarine or airship?

This is for my Lufia game.

Sorry, probably stupid question. :'(

.:Pyroken Serafoculus:.

#1
Well, one thing you could do is make multiple submarine charsets, each in ascending order of size, and make a parallell process which says that if the shift button is being presssed, change the player sprite to a larger version of itself, then wait, say, 3 frames, then keep repeating that so that it looks like the submarine is moving upward. Then you could transfer the player to an ocean tileset with the appropriate passability settings, and change the sprite into a boat sprite. You could also replace the largest submarine sprite with a half-sub-half-boat sprite to make a better effect.

As for the airship, do the same thing, just keep making it smaller, and don't change maps; simply transform the sprite into a boat that looks like it's sailing and not flying. EDIT: Actually, do change maps, just don't fade. Once you become a boat, you won't be able to travel on land, so you'll have to have another map with the right passability settings.

Your last question is the simplest. Once you've changed the sprite, find a way to render that parallel process useless, like turning on a switch which is the condition for a page in the submarine-changing event in which there is absolutely nothing.

Sorry if this is a bit confusing; I'm not good at explaining, but let me know if this helps.
...

Nightwolf

Quote from: Dr_Cid on February 14, 2007, 07:33:36 AM
Travelling underwater in a submarine would be possible on RPG XP wouldn't it. Tell me if I'm right:

Just make a tileset that is underwater, make passable etc, change sprite to submarine and your right, just like normal world maps.

But what if I had it that if you press say...SHIFT, the sub rises and turns into a boat?
How would you do this for an airship as well, (eg press control to transform)?
If it is scripts needed, how would I make it that as soon as you get the ship, you can't turn into the submarine or airship?

This is for my Lufia game.

Sorry, probably stupid question. :'(

Events.



When Ctrl pressed

move hero(event sub) up, make it a boat.


But you need sprites, and also a half sub half boat sprite.


Arlen is hot.

AlwaysIdeas

I'll try this when I get sprites.