Problem with game logic

michelericciomichelericcio Member Posts: 45
edited November -1 in Working with GS (Mac)
Hello,
I am a beginner with GameSalad and I would ask you if you can help me creating this kind of thing described below:

I've got a couple of images (example: letter A - letter A) and another images that is different (for example: letter B).
Each level should increase the number of couples creating random letter with a random function and for each level should create a single letter (that the gamer will use to complete the level). How can I develop this random function?
How can i assign a function to an actor that i previously created?

Example:
level 1:
Image A
Image A
Image B

level2:
Image R
Image R
Image O
Image O
Image L

and so on...

Please help me, i really don't know how to do this thing.

Thanks in advance.
Michael.

Comments

  • michelericciomichelericcio Member Posts: 45
    nothing?
  • rebumprebump Member Posts: 1,058
    Well, I've read your first post twice and I still don't know exactly what it is you are asking.
  • synthesissynthesis Member Posts: 1,693
    Not sure what you are asking...but sounds like you need to give each unique image an ID number attribute in the game. The give your screen image slot a slot ID attribute in the game.

    Then generate your random rule calls and a reset switch.
    Generate the number...through the switch...the slot gets the random number...slot updates the correct image into the slot.

    As a beginner...be aware that actors cannot talk to each other directly (which is my understanding at this point)...all communication between actors must be handled by global game attributes.

    Hopefully GS V1.0 (wink.wink) will have the ability to talk to other actors directly.
  • michelericciomichelericcio Member Posts: 45
    Sorry for my english. I'll try to explain it better.

    What i need to do is creating a stage that starts with one couple of actors and another different actors on the screen and until this point is ok.

    The problem occurs when i try to create the next level by clicking with the mouse on the figure that is alone because the next level should have two couples and one figure alone. My problem now is that i don't know where to put the rules to spawn two couple of actors and to spawn a fifth actor.
  • michelericciomichelericcio Member Posts: 45
    nothing? :D
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    still confusing sorry...

    Can you not simply manually make each level, and put the actors in that you want?

    Or are you trying to automate it so it gets harder and harder.

    Think I sort of get what your asking.

    Level 1 - you have 3 actors, one is different, the idea of the game is to touch the different one and move to next level.

    Level 2- there are 5 actors, 1 is different... etc etc...

    Level 3 - there are 7 actors, 1 is different.

    is this right.?

    if not please try and explain again, you will get the help you want eventually.
  • michelericciomichelericcio Member Posts: 45
    "Level 1 - you have 3 actors, one is different, the idea of the game is to touch the different one and move to next level.

    Level 2- there are 5 actors, 1 is different... etc etc...

    Level 3 - there are 7 actors, 1 is different.

    is this right.?"
    Yes, draper! yes :P

    it's possibile to automate all?

    thanks a lot!
  • michelericciomichelericcio Member Posts: 45
    up :P
Sign In or Register to comment.