iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Reply to this topicStart new topic
> [-Transportation-] Transfer via World Map, Select a destination from the world map.
Leridan
post Jun 7 2010, 07:12 PM
Post #1



Group Icon


Type: Designer
Alignment: Neutral Good




Leridan's 'Transfer via World Map' Event



This feature will allow the player to open a world map in one of two ways: an item from the inventory, or by pressing a specific button. The latter option may be toggled on/off by a switch. When the map is displayed, the player can use a cursor to select a destination and the game will transfer the hero to that location.

How it works:

This feature is not plug-and-play ready. If you do not understand how variables and conditional branches work, I suggest you brush up on those before attempting to use this event. The demo is for example purposes only; you can use the methods, but you will need to modify the code to fit your own world map image.

Now with that out of the way, let me explain how this works.



The map is structured in rows and indexes (or columns). In the demo example, there are three rows (0-2) and varying amounts of indexes within each row. This is important because there are two variables required by this event: [0001: map index] and [0002: map row] by default. These variables determine the position of the cursor on the map.

Pressing up on the keyboard decreases the map row variable by 1. Pressing down increases the map row variable by 1. The left and right arrow keys decrease and increase the map index variable respectively.

Pressing the enter/return key (or the accept button for controllers) will transfer the player to the selected map. This feature can be enabled and disabled by a switch. If the switch is turned on, the map is still viewable, but the transfer function is not accessible.

The cancel button closes the map.

Screenshots of the full code:
Spoiler:

























All necessary files are included in the download. The code has been commented to explain each part of the process.

This post has been edited by Leridan: Jun 7 2010, 07:51 PM
Attached File(s)
Attached File  Transfer_via_World_Map.zip ( 732.74K ) Number of downloads: 129
 


--------------------


I support:

Go to the top of the page
 
+Quote Post
   
Celianna
post Jun 7 2010, 07:35 PM
Post #2



Group Icon


Type: Artist
Alignment: Chaotic Evil




Thank you for screenshotting everything, this is a very well explained event biggrin.gif
Go to the top of the page
 
+Quote Post
   
Rexga
post Jul 16 2010, 04:35 AM
Post #3



Group Icon


Type: Writer
Alignment: Unaligned




Thank you i have been looking for something like this


--------------------

Looking for help on my game anyspot is open for you, see the recruit topic HERE
Go to the top of the page
 
+Quote Post
   
landis17
post Jul 16 2010, 04:44 AM
Post #4


Yo...I'm back.
Group Icon


Type: Writer
Alignment: Chaotic Good




Wow, thanks alot man. Thanks for the save. I almost had to redo my ENTIRE game because I couldn't figure out how to do this. Good thing I caught this in time.

Oh my bad. I forgot....I already deleted it.... mellow.gif

So...yeah. Yay.
Go to the top of the page
 
+Quote Post
   
Leridan
post Jul 16 2010, 04:44 AM
Post #5



Group Icon


Type: Designer
Alignment: Neutral Good




QUOTE (Rexga @ Jul 16 2010, 01:35 AM) *
Thank you i have been looking for something like this

Oh, that's good. I'm glad someone can benefit from this. smile.gif

QUOTE (landis17 @ Jul 16 2010, 01:44 AM) *
Oh my bad. I forgot....I already deleted it....

Sucky, man. Sucky.

This post has been edited by Leridan: Jul 16 2010, 04:46 AM


--------------------


I support:

Go to the top of the page
 
+Quote Post
   
CountryRoberts
post Sep 20 2011, 09:10 AM
Post #6



Group Icon


Type: Undisclosed




Hey This is great thanks for all your hard work. Instead of using this to change locations on map, I am going to use it to have the screen display additional information about the town. Like what side quests are available shops Et cetera. Thanks so very much.

This post has been edited by CountryRoberts: Sep 20 2011, 09:16 AM
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 15th September 2014 - 08:36 AM

RPGMakerVX.net is an Privacy Policy, Legal.