Hi how i can make this simple game on gamesalad?

I make this orbs smasher tutorial very easy for corona . but if i dont want to write code? i can do this on gamesalad right. some one can help me to do this on gamesalad? thanks a lot!



i just wat a guide because a have the actors of the diferents orbs. i want to know where are the rules to make this posible.

sorry my english :)

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    edited August 2013
    I reckon you can do that with one actor, spawn that actor x amount of times randomly around the screen, and on that actor add a rule if touched then destroy actor.

    Look at the online manual/cookbook/guide on how to do each of those things. It shouldn't take you very long to do.

    Once you've got that nailed, you can start introducing scores, and timers.
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    edited August 2013
    If you want to take the game further once you've done the above try and make them bounce around the screen so that they're a little harder to tap.

    It seems like a good little starting project :)
  • DanielDesignerDanielDesigner Member Posts: 16
    i go to try it with the coockbook. you know where i can find the book on pdf format? Thanks!!
  • DanielDesignerDanielDesigner Member Posts: 16
    how i can spawn that actor x amount of times randomly around the screen? that the part i cant do it. i have the actor and if i touch it destroy perfect. thanks a lot kevin!
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    You can get the manual in PDF but not the cookbook. I'm not so sure the cookbook will have guides on how to use each behaviour but the manual might, failing that searching online for guides on how to do each of the above should give you what you need. I don't know how familiar/comfortable with the creator yet but the manual will show you around it.

    http://gamesalad.com/manuals
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    I've not needed to spawn anything myself yet but I'd try either of these two, and if they didn't work I'd search for a solution

    1. set up an actor that has a timer loop for every 0.0 or 0.1 seconds and inside that timer add a spawn actor behaviour to spawn the orb actor, you'll need to implement a counter and a rule to only spawn if there's less than x orbs on the screen. This actor would need to be placed on the game screen but can be invisible or out of view of the camera.
    2. add two game attributes, one to store how many should be spawned and one to store how many have been spawned so far. Then add a rule to the orb actor that if the number spawned so far is less than the number that should be spawned then spawn another orb actor. Place one orb actor on the screen. Increment the spawned so far counter each time one is spawned.

    With both of these you'll need to spawn them at a random x and y position.

    Hopefully someone will jump on the thread and give you a better approach, or you'll find one playing around with GameSalad.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Here is a little sample project to check out.

    What happens is there is a bubble actor with a touch to destroy rule on it. And the controller actor that uses a Timer and a Game Level Attribute "bubbleCount" to add 10 bubbles to the screen. The controller actor does most of the work, it spawns the bubbles, at random locations, note the Position setting of the Spawn Behavior and then increments the bubble count by one each time a new bubble is added. In an actual game I'd make the controller actor transparent, but in this case I wanted you to see it on screen just so you can see what I'm talking about.

    Hope it helps!
  • DanielDesignerDanielDesigner Member Posts: 16
    This its great! thanks Jamie and Kevin! now i understand how works.
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
Sign In or Register to comment.