A Quick Way To Place An Actor On Scene?

AlkaPPAlkaPP 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

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    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

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
    edited March 2014

    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.

  • AlkaPPAlkaPP Member, PRO Posts: 194

    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

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    @AlkaPP said:
    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...

    I'll hold you to that...

    Glad to help.

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291

    As will I! :p

    Glad to help out!!! :D

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I can finally quit my day job.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • UtopianGamesUtopianGames Member Posts: 5,692

    Turned up too late again, I will stay poor :)

    Darren.

  • AlkaPPAlkaPP Member, PRO Posts: 194

    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 :smiley: ) 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

  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291

    Glad the video really helped you out. Looking forward to seeing what you have in store!

Sign In or Register to comment.