A Quick Way To Place An Actor On Scene?
AlkaPP
Member, PRO Posts: 194
Hi world,
Are there any quick ways to place an actor in many places on scene?
For example, I placed the a diamond on scene location, and option+drag that diamond to another location to clone that diamond so I now have 2 diamonds on scene. But if I want to place like 100 of them on scene at different location, instead of placing one by one which would take a lot of time, can I do it using table (maybe insert the x,y locations) or any other methods to do this faster?
Hope I didn't confuse anyone
Thanks,
My Gamesalad Games On App Store:
Greedy Chubby: https://itunes.apple.com/us/app/greedy-chubby/id834371213?ls=1
Comments
Yes, you could spawn them based upon table values. You'd have to have those X and Y positions pre determined, though. I believe we have a tutorial on spawning based on table values on GSHelper.com
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Yes, you can spawn by using a loop and reading through table rows for x,y positions. Check out the Release Candidate which features a Loop over Table behavior that will assist with this.
If you want a fast method, try searching the forums for Fast For Loop or HyperLoop. There are some great demos but... they are VERY complex.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Hey @AlkaPP,
You can do it using tables. Below is a video to help give you an idea of what you are wanting to accomplish.
Hope that helps!
This may be the video @Braydon_SFX is referring to for the template.
I can't express enough how much love for Gamesalad Commuity... 3 comments within less than 5 minutes... A $10,000 check for each of you if my game is going to make $50,000/day like Flappy Bird...
My Gamesalad Games On App Store:
Greedy Chubby: https://itunes.apple.com/us/app/greedy-chubby/id834371213?ls=1
I'll hold you to that...
Glad to help.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
As will I!
Glad to help out!!!
I can finally quit my day job.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Turned up too late again, I will stay poor
Darren.
Oh yeahhh... I created the x,y locations using Excel and use the "import CSV" function from Gamesalad and the tutorial from T-Shirt Booth video above. These combination save me hours to place more than 100 diamonds on 28 scenes.
@Darren $10,000 Check as well (sorry, I know I'm being silly. Just got too exciting with my project ) I gotta say I love your Project Merger tool. It work extremely well. I used it to merge my project with your effect demo. Everything was amazing. Save me hours if I merged it manually. Can't wait to show you guys my new game
My Gamesalad Games On App Store:
Greedy Chubby: https://itunes.apple.com/us/app/greedy-chubby/id834371213?ls=1
Glad the video really helped you out. Looking forward to seeing what you have in store!