Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Intro:


This plugin allows you set up a teleportation system in game.


Version: 1.03


Change Log:

  • Added ability to change player direction during teleport

    <teleportMap: <x> <y> <direction(see numpad)> 
  • Example: <teleportMap: 11 6 6 > -- Player will be facing right after teleporting

[*]Added script calls to enable / disable teleports at once

  • KR.Helpers.enableAllTeleports()
  • KR.Helpers.disableAllTeleports()

[*]You can now change the background of the scene

  • KR.Helpers.changeBackground("imageName")

    imageName has to be in quotes & image should be in your picture folder.


[*]Added support for Galv's Basic Event Shadows

[*]Maps are saved properly now after saving your game

[*]You can now show pictures in the window to the right on the teleportation screen.

[*]The full size snapshot shown in game for a map has been removed, since it can't be saved.

  • But, this can still be emulated by taking picture of the map outside of game.


Features:

  • Teleporting to different maps.
  • Scene to select maps to teleport to.
  • Disabling maps to teleport to.
  • Enabling maps to teleport to.

Instructions:

  1. Install the script with the same name: EISTeleportationSystem.js
  2. Use the functions and notetags below to create your own maps to teleport to.

    • Enable/Disable teleport functions work after you've visited a map; you can use the map's display name to enable/disable the teleportation to that map.
  3. Insert the notetag into map's note section to designate a teleport map.
  4. Have fun!



/* Version: 1.00
* Notetag:
* <teleportMap: <x> <y> <direction(optional -- see numpad)> >
* - A potential picture feature instead of a Sprite of the whole map.
* - The two numbers are the x and y values of your teleport on that map.
* Example: <teleportMap: 3 6>
*
* Functions
* KR.Helpers.startTeleportScene()
* - Starts the teleportation system Scene.
*
* KR.Helpers.enableTeleport(mapName, mapId)
* - Enables a teleport map on the menu -- you can use either mapname or Id.
* - Example: KR.Helpers.enableTeleport("Deep Dungeon");
*
* KR.Helpers.disableTeleport(mapName, mapId)
* - Disables a teleport map on the command menu.
* - Example: KR.Helpers.disableTeleport("Deep Dungeon");
*/


Setup Example Windows:

b6UTiTR.png





In-game Examples:


mBWzspA.png



LhB4Axy.png

Please see the below attachment to use the plugin.



Credits:


Free for both commercial and non-commercial use.Credit with the name Kino or Endless Illusion Software.


Thanks:Thank you to anyone who decides to use this script; I appreciate it!


If there are any bugs/issue, please contact me via message on the forums. I want to try and make the script as extensible/flexible as possible, so if you have an ideas also


please message me!


Note:
I will be continuing work on this plugin this week to make it more extensible, so please comment with any interesting ideas!

View attachment EISTeleportationSystem.js
 
Last edited by a moderator:

Calicer

Composer
Member
Joined
Feb 2, 2014
Messages
7
Reaction score
3
First Language
English
Primarily Uses
Woah this looks great, I'll definitely be using it in my project  :)


Edit: It would be great if you could set a background image to the teleport scene, also whenever I teleport I seem to be stuck on the stepping animation unable to move
 
Last edited by a moderator:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Doable with the background image.


 Just for clarity, is your character  teleporting into a small area?  The teleport is set to move the character forward one space to prevent that.


If you could provide a screenshot of what the the area looks like, it would be helpful.
 

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
I'd love to use your plugin but I'm afraid I can't get it to work so far. 


There's something I'm probably missing and I even tried it on a clean game (no other plugins there).


I can call the TP menu via script call, but no maps registered.


Then I use an event and do the script call "KR.Helpers.enableTeleport(2)" which results in error.


Also tried:


- KR.Helpers.enableTeleport(Map2)


- KR.Helpers.enableTeleport(002)


- KR.Helpers.enableTeleport(Map2, 2)


"Map2" being the name and "002" being the map ID.


I've used aswell the map note tag: <teleportMap: 11 8>


11 for x and 8 for y.


I don't know what I'm doing wrong :S
 

Calicer

Composer
Member
Joined
Feb 2, 2014
Messages
7
Reaction score
3
First Language
English
Primarily Uses
Here's a screenshot, it's a pretty tiny space I'm trying to teleport to so that's probably it...

Screenshot.png
 

Ghost of Christmas Kloe

The Icecream Princess
Veteran
Joined
Nov 15, 2015
Messages
1,548
Reaction score
961
First Language
English
Primarily Uses
RMMZ
Yup, as Kino said, it moves one forward and it'd walk onto the ceiling if it could. Seriously, just test making the ceiling tile walkable, and you'll see thats what's causing the issue!


:D ;)
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
I'd love to use your plugin but I'm afraid I can't get it to work so far. 


There's something I'm probably missing and I even tried it on a clean game (no other plugins there).


I can call the TP menu via script call, but no maps registered.


Then I use an event and do the script call "KR.Helpers.enableTeleport(2)" which results in error.


Also tried:


- KR.Helpers.enableTeleport(Map2)


- KR.Helpers.enableTeleport(002)


- KR.Helpers.enableTeleport(Map2, 2)


"Map2" being the name and "002" being the map ID.


I've used aswell the map note tag: <teleportMap: 11 8>


11 for x and 8 for y.


I don't know what I'm doing wrong :S



So the enable Teleport you need to put your name in Strings


So if the display name of your map( the right box in the map edit menu) is Map002 you'd do


KR.Helpers.enableTeleport ("Map002").


I'll fix that issue for you;it's probably a small oversight on my part. I'll have it fixed  within an hour.


Edit:


Try <teleportMap: 11 8 >
 
Last edited by a moderator:

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
Hi again!


So.. strings + that space after the 8 worked!


I remember I have tried both but probably not at the same time >_<


 Time to try it on the main game :3


Thank you for the support :)  

Edit: Just seen, it registers now directly after visiting the map w/o the script call. That's fine, too I guess.
 
Last edited by a moderator:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Yes, I set it up, so that it'll scan the map asap. If you want to define a list before visiting, that it'd be a good idea. Reminds me of Breath of Fire 3 just a tad.
 

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
Hmm I've just screened everything.


Not sure what it is now, what causes the error

maperror1.png


maperror2.png


maperror3.png


maperror4.png



+ on the registered map the tp went on the left side of the map although the coords where in the middle. checked the numbers again, but they seem right.

 

maperror5.png2016_4_5_0_8_15_318_1262.png

and another edit: this seems to work fine w/o the space after the second number (ok I'm confused now x_x)
 
Last edited by a moderator:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
I fixed the regular expression. If you re-download it, you shouldn't have any problems inputting x and y values with or without spaces before the last bracket.


Secondly, if the map doesn't get scanned into the teleport scene -- you won't be able to enable teleportation on that map; that's why you got the error in the screen shot, but you shouldn't have that issue now. @Henryetha


@Calicer I added an extra parameter, so now you can change the player direction to whichever one you want.  <teleportMap: 11 6 6 >  -- Player will be facing right after teleporting.
 
Last edited by a moderator:

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
Thank you very much, so far no more issues :)  
+ very nice Plugin, thanks for your work.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Thanks! I'm glad my plugin was able to help you in some way!
 

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
So, back again.


I was installing yesterday the new Galv Plugin for basic shadows and found in the end that it was not compatible with the teleportation plugin.


I've written first to him and that's what he said: "I had a quick look at that other plugin and saw it has graphic bugs while using it on it's own in a new project. Sorry, I am not going to make this plugin compatible with that one."


So... I'm just asking if there maybe is anything you can do?
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
Basic shadows plugin? I'll see what I can do.


@Henryetha I worked on it, and seem to have a fix for the issue as of now; it should be compatible with Galv's Basic Shadows.


Just make sure Galv's script goes above mine; the download has been updated.
 
Last edited by a moderator:

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
And thank you again!


So fast + it's working now, very nice!
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
805
First Language
English
Primarily Uses
RMMV
You're welcome;  I'm glad it works!


Thanks for bringing the compatibility issue to my attention ; that was really nice of you.
 

Latest Threads

Latest Posts

Latest Profile Posts

Mike running through an area that's influenced by his thoughts, thus his drawings are infused into the land.
We're playing Omori by OMOCAT starting at 2pm est :D
Hi there! Do you actively use your Itch.io account? How do you use it?
When you have your friend over and you try to have a good time and let him try your game but he legit finds 10+ bugs that you now have to add to your already big workload for the day lol.

Forum statistics

Threads
111,339
Messages
1,060,294
Members
144,659
Latest member
MrCarbonez
Top