World Maps
#15
Difficult, but NOT impossible

On a normal map it would be estimated that a movement in any direction is approximately 5 feet. This means that on a normal 500x500 map, any given map is approximately 1/2 mile by 1/2 mile. However, Remember the old-school imagemap idea from HTML? If we took say a picture, a HUGE picture, and had that represent our 'world map, and mapped out square points, for inaccesibles, cities, points of reference and more, along with a longitude/lattitude system.

You can set up four variables, two for the player's current X and Y on the lattitude System, and two for the direction they're wanting to go (North, South, East West)
You can also set up Two Parallel Events. One for Directional Movement, and one to check obstacles


This should be set when moving from the map to the world map (to determine point of start for world map, as well as to help set up the super map's initial position.)

@worldtravX = 100
@worldtravY = 100

@pictureposX = @worldtravX - 3200
@pictureposY = @worldtravY - 3200

Show Picture at upper left being at @pictureposX, pictureposY


Now, if you say wanted to press Up, Down, Left or Right, you could set up conditionals like

If Up pressed,
@goingy = @worldtravY - 1
@goingdir = 8

If down pressed
@goingy = @worldtravY + 1
@goingdir = 2

If left pressed
@goingX = @worldtravX - 1
@goingdir = 4

If right pressed
@goingX = @worldtravX + 1
@goingdir = 6



Now, with the mapped out areas that we have decided can be walked on, we can create conditional branches for each one...

Conditional Branch
If @goingx => 140
If @goingx =< 145
If @goingy => 195
If @goingy =< 205
call Event "Move"
Branch End
And of course, you create more blocks for each area you would be able to traverse on your huge map.


Now, create another Common Event called "Move" with no trigger that can actually effect the change.

If @goingdir = 8
Move Picture down y+1
@worldtravy = @worldtravy-1
@goingdir = 0

If @goingdir = 6
@goingdir = 0
Move picture left x+1
@worldtravx = @worldtravx-1

If @goingdir = 4
@goingdir = 0
Move picture right X+1
@worldtravx = @worldtravx-1

If @goingdir = 2
@goingdir = 0
Move picture up y-1
@worldtravy = @worldtravy+1

Now then, no world map is complete without an ability to get back into a regular map right?
If @goingx => 140
If @goingx =< 145
If @goingy => 195
If @goingy =< 205
Transfer Player to Such and Such Map, x such, and y such...
Branch End



Now, if you really want to be special with it? Got a HHHHHUUUUUGGGGEEEEE map that you think would crack RPG Maker? Break it up into nine maps.

If @goingx => 3200
If @goingx =< 6399
If @goingy => 0
If @goingy =< 3199
picture 1 = "NWregion"
picture 2 = "NRegion"
picture 3 = "NERegion"
picture 4 = "WRegion"
picture 5 = "Center"
Picture 6 = "EastRegion"
Picture 7 = "SWRegion"
Picture 8 = "SRegion"
Picture 9 = "SE Region"

and if the going goes too far, or each picture is too far off the map, have it be removed, and added as new pictures on the other map, for literally thousands of 'MILES' of terrain...

This could be expanded in events to seperate for vehicles (walking, horseback, airship, even...)
[Image: AVvXsEga1vIr5Rx3FkoFbGo1OoMJAqgq6TeqcbpF...L3AWg=s752]

BLOG: JayVinci.blogspot.com
FORUM COMING SOON
Currently working on:
Ambitions: RPG Developer Bakin
Heart of Vox: RPG Developer Bakin
Reply }


Messages In This Thread
World Maps - by bacon - 02-07-2010, 07:09 PM
RE: World Maps - by JayRay - 12-27-2014, 08:10 PM
RE: World Maps - by finalholylight - 12-28-2014, 08:36 AM
RE: World Maps - by Ahzoh - 12-28-2014, 11:34 PM
RE: World Maps - by JayRay - 01-02-2015, 05:24 PM
RE: World Maps - by Kain Nobel - 01-02-2015, 06:08 PM
RE: World Maps - by JayRay - 01-02-2015, 08:03 PM
RE: World Maps - by Ahzoh - 01-02-2015, 10:47 PM
RE: World Maps - by JayRay - 01-05-2015, 07:45 PM
RE: World Maps - by MetalRenard - 01-05-2015, 08:54 PM
RE: World Maps - by JayRay - 01-05-2015, 10:06 PM
RE: World Maps - by Ahzoh - 01-06-2015, 09:55 PM
RE: World Maps - by JayRay - 01-07-2015, 04:57 AM
World Maps - by Guest - 02-07-2010, 07:20 PM
World Maps - by Ace - 02-07-2010, 07:20 PM
World Maps - by Wyatt - 02-07-2010, 08:19 PM
World Maps - by Scarred - 03-01-2010, 04:17 AM
World Maps - by ALUCARDfromHELLSING - 03-16-2010, 07:49 PM
World Maps - by deValdr - 03-17-2010, 06:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Maps and screenshots thread aerendyll 1,051 1,208,327 03-18-2024, 04:54 AM
Last Post: Remi-chan
   Pretty Maps; Bad Design. MechanicalPen 12 15,569 01-25-2023, 09:03 PM
Last Post: Steel Beast 6Beets
   HEY HEY JAY RAY #1: World Maps JayRay 4 8,573 01-26-2015, 11:21 PM
Last Post: Taylor
   Open World FPS without FPLE JayRay 7 14,632 01-16-2015, 11:51 PM
Last Post: JayRay
   Getting beyond 999 maps without scripts in Parallax maps. JayRay 1 6,289 10-20-2013, 03:10 AM
Last Post: DerVVulfman
   Big Maps vs. Small Maps bacon 28 42,229 05-09-2013, 06:26 AM
Last Post: MechanicalPen



Users browsing this thread: 6 Guest(s)