RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RM2K] How to make continuous spawns

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 88
Fight Tha Powah!
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!!

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
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 for "Waiting to strike!":


For them to walk down, just use a move event command. Use repeat action, and skip if cannot move.
Spoiler for "Hup two!":


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 for "Where am I?":

« Last Edit: February 27, 2013, 02:43:30 PM by Boe »
&&&&&&&&&&&&&&&&

***
Rep:
Level 77
RMRK Junior
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.

***
Rep:
Level 88
Fight Tha Powah!
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!!