ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
1,049
Reaction score
1,704
First Language
English
Primarily Uses
N/A
single-screen maps with automatic movement between them - April 29, 2016

Creator name: Ben Hendel-Doying

Features
single-screen maps with automatic movement between them

Allow for the automatic movement of the party between maps simply by walking to the edge, without the need to create ANY events on any map.

BUT: it's required that all maps be only one screen in size. (it should be easy to remove this limitation, though I have not tried it.)

think "Legend of Zelda" for the NES.

a "note tag" must be added to each map, telling that map which maps to link to, in the north, east, south, and west directions. the note tag takes this form:

Code:
  <dir: NORTH EAST SOUTH WEST>

where NORTH, EAST, SOUTH, and WEST should be replaced with the IDs of the maps to link to, or 0 if no automatic linking is desired. (leave out the note tag entirely for no automatic linking at all.)

for example, here are the IDs and note tags of 6 hypothetical maps, arranged in a 3x2 grid:

Code:
  +----------------+----------------+----------------+

  |    MAP ID 1    |    MAP ID 2    |    MAP ID 3    |

  |                |                |                |

  | <dir: 0 2 4 0> | <dir: 0 3 5 1> | <dir: 0 0 6 2> |

  +----------------+----------------+----------------+

  |    MAP ID 4    |    MAP ID 5    |    MAP ID 6    |

  |                |                |                |

  | <dir: 1 5 0 0> | <dir: 2 6 0 4> | <dir: 3 0 0 5> |

  +----------------+----------------+----------------+

these scripts assume you are happy with a window size of 640x360, and maps of 22x13. (this is also changeable, with a little math and some tweaks to the code.)

Note: right-click on your map name for map properties and change the width to 22.

to see it all in action, along with a full explanation of the code, check this YouTube video:

How to Use
Paste this script above Main.

Script


License- Public Domain
 

BCj

Veteran
Veteran
Joined
Jun 19, 2014
Messages
1,929
Reaction score
1,183
First Language
Dutch
Primarily Uses
N/A
This looks nice. Just wondering though, wouldn't things get too laggy if the map gets too big?
 

ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
1,049
Reaction score
1,704
First Language
English
Primarily Uses
N/A
@BCj I don't think so since each map count as one on screen instead one giant map. I find the script convenient for this type of screen resoluton. I haven't really test for performance for more than 16 maps.
 

BCj

Veteran
Veteran
Joined
Jun 19, 2014
Messages
1,929
Reaction score
1,183
First Language
Dutch
Primarily Uses
N/A
Ah I see. I thought you basically had everything on the same map ID for the transition. I misread that part.
 

Latest Threads

Latest Posts

Latest Profile Posts

I guess I should send my CV to Hasbro. I've made Monopoly cheaters edition more fun and challenging. I've developed custom cheats and chest/chance cards for it. And I've cleared many nightmares through my cards and rules.
I'm only missing 2 more bgms for my game but maaaaan, searching for these tracks is killing me. Can't find anything good to replace MZ's Theme 2 and Scene 5 I have as placeholders. Everything is too epic or too evil or too alarming. That 'scene 5' track in particular would fit nicely with my scene. Well, at least I finally figured what my last click-fest of a gameplay element will be like, so something positive :D
Finding new interesting stuff to make for the resource calendar becomes harder every year D:
ScreenShot_8_19_2022_2_3_18.png
FINALLY got the mood system in the game during battle. Since the game is called Panic Attack, I figured you should have certain moods present including Panic. so the main 3 or Hype, Depressed, and Anxious. Panic is only when stunned.
Red_V2.png
Red's design is finally finished (his hair is blue on purpose, it's a joke!). Out of all of the compulsory party members, he spends the most time with you. Just like the character he's based on, he presents himself as a simple person who only wants to help others, but there's obviously more to him than meets the eye.

Forum statistics

Threads
124,698
Messages
1,165,340
Members
163,513
Latest member
seraphonics
Top