Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RM2K] How to make continuous spawns

Started by Milennin, January 03, 2013, 11:18:03 AM

0 Members and 1 Guest are viewing this topic.

Milennin

The basic idea is this: Have objects/sprites spawn at one side of the map, and make them move to the other side of the map. Upon reaching the other side have them disappear, and respawn again at their original location.
How do I make something like this? If it's possible at all?
Go beyond the impossible, and kick reason to the curb!!

&&&&&&&&&&&&&

#1
Yes.

This is a very quick little example, this isn't supposed to be a tutorial. 

You can't spawn entities, so you'll have to keep some off camera for later use.
[spoiler="Waiting to strike!"]

[/spoiler]

For them to walk down, just use a move event command. Use repeat action, and skip if cannot move.
[spoiler="Hup two!"]

[/spoiler]

To get them back to the top, use set event location. You can use a set location, or use variable so they don't always return to the same place.
[spoiler="Where am I?"]

[/spoiler]
&&&&&&&&&&&&&&&&

Wiimeiser

What I do is make switch 1 an unnamed temporary switch and turn it on for brief periods of time like cutscenes. You can exploit this to have a character teleport away without the animation mysteriously vanishing, for example.

Milennin

Heh, old topic is old, guys. But thanks for the reply.=P Yeah, I figured out how to do this a while ago, by having a second page on an event that turns it invisible when it reaches its end point, and make it move back to the other end of the screen, where it'll then turn itself visible to appear again. Although your solution is even better, Boe. I've only recently started to use variables, so I never really thought of using them to make stuff continuously spawn.
Go beyond the impossible, and kick reason to the curb!!