Stop actors spawning on top of each other and progressively faster
lukearnamnart
Sydney Member Posts: 7
Currently I have it set up so that the actors spawn in a random sequence, however, when the actors spawn they constantly spawn on top of each other. I'd like to set it up so the actor cannot spawn in that space to the actor which was previously there is destroyed. Also is it possible to set it up so that the actors start appearing progressively faster as time passes..
I have attached a test.gameproj to show how I currently have set it up..
dl link: https://www.dropbox.com/s/ylu6ayxrxiecxmb/tester.gameproj
Thanks heaps!
Comments
bump
@lukearnamnart I was unable to open your test file with the latest version of creator GS 11.0.13
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
It may not have fully synced. That file is 510 bytes... not enough for a full project file.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I'll try again, sorry guys! I got it to appear in a random sequence, and I tested it for a little while, and I stopped them from re-spawning on top of each other however the next actor doesn't appear till the first one has appeared.. I would just like them to continuously spawn..
New link: https://www.dropbox.com/s/t87opbhcsi6y54v/tester1.zip
Thanks for the response!
bump
I don't know of a way to easily do this. The only function we have is random() with with two parameters a minimum and maximum integer. So obviously if actor 2 is live you can't remove that from the range.
If you only have a few actors my modified version might suite your purposes. If you have a lot of actors you will need a more complex set of rules to achieve it. Use the principle in the other file and adapt it to your needs.
If you can't see the attached files reload the page.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
Thanks heaps for that, I have 16 actors it needed to apply to, so not too many.. Thanks heaps, I'll get started on it!
Here is a spawner that gets progressively faster:
Link: https://www.mediafire.com/?dcj81y2qb679lyv