Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Teleport from X Map to Y Map.

Hello Again.
This is my Stupid number 3 question:

How can I transfer (so Teleport) an Event X from a X map to a Y map....

An Example:
I want transfer an Event (Ex: EV001) from the 001 Map to 002 Map.


Thanks.
 
I don't think you can but if you make an event on map 001 when it 'teleports' turn on swich 001 (or any other swich).

On the second map make an event that only appers if switch 001 is on.
 
I do not want to do that, because that will increase the lag in the map, I Want an unique special map to put a lot of events, and when i need an event I only call a code to teleport that event to the current map.

But Thanks..

Does somebody have another idea?
 
Or you could use a switch. First page of the event on map A triggers a self switch and goes to a blank page on that same event. With an even already on map B waiting for a switch to be pulled. First page of the event on map B will be blank with a switch waiting to be pulled and the second page is your event page 1 from map A. Hope thats not too confusing....
 
badmonur;307942 said:
Or you could use a switch. First page of the event on map A triggers a self switch and goes to a blank page on that same event. With an even already on map B waiting for a switch to be pulled. First page of the event on map B will be blank with a switch waiting to be pulled and the second page is your event page 1 from map A. Hope thats not too confusing....

That was already suggested, and he doesnt want to do it because it'll increase the lag ;)
 

Jason

Awesome Bro

Do the event one, as it is easier, and just get that new antilag script, no question about it, you saw how there was 660 events running smoothly at 40FPS on a 500x500 map, everyone wins !
 
Hehe... ha...

Now, if this is something where eventing and scripting is necesary, you could ALSO try something where a VARIABLE is raised or lowered by the amount of events that enter a certain zone to another. In this instance, you would simply be keeping track of each VARIABLE to know exactly how many events of each type are in the room, and then, depending on the VARIABLE, you just have the events scattered around the next room, and if variable is X amount or above, that event is there, if not, he isn't, and you can set up a different variable for each type of event.

And I've already filled my page with 200 events, each one doing random movement animations, and second pages with (seemingly random) chirping effects for a demo of a farm... No lag... and I have 792 megs of ram on a Pentium 3,

So if you don't want to deal with switches on the event, try a simple variable switch, two pages, one does the event, one doesn't, and then just line them up like

:D:D:D:D:D:D:D:D:D:D:D:D
8-)8-)8-)8-)@_@@_@@_@@_@':|':|':|':|

Or scatter them around the map.
If the variable for Map 2's big smily is 5, well, 5 smilies would show up in the new room, the variable for big grin, and so on and so forth...

I like the idea of it too, reminds me of the Sonic game from Dreamcast, where you could teleport the pets to your nest and watch them get better... sort of like a Pokemon.

(and THAT would be really cool with a time script, where each event "grows" with time) But, I'm just dreaming now.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top