New guy needs help with booleans.

So I am new to this so sorry if this is a dumb question. I am working on a game where in the middle of the screen three different actors appear and the command, say a swipe vs. a touch vs. a two finger touch, is required to make it true. Can I have the same actor with three different images, choose an image at random and then based on the image have different commands? Or do I need three different actors with the different images to each with their own command. And if this is the case how to I am one actor appear at random in the same place. Now for my final question this is paired with another action. IF both actions need to have their requirements met simultaneously to continue, how would I do that. For instance if I needed to have to fingers on the screen while shaking the phone? Thank you all for the help. I am been through a few tutorials and am learning as I go. I am just hoping you all can help with this. Oh if there is anyways you can talk to me like a 3 year old, them maybe my daughter will be able to explain it to me. Seriously though I am not great at this so making your answer as simple as possible would be great.

Comments

  • BellowBellow Bartender Member, PRO Posts: 227

    Are these three actors have different behaviors ?

  • IsaacPhoenixIsaacPhoenix Member, PRO Posts: 15

    Not necessarily. Basically once the requirements are met it repeats the scene. So each actor has a different thing that needs to be done. For instance You need to tap with one finger and swipe with another at the same time. Like moving two puzzle pieces into place. But this also changes depending on the two actors on the screen. One actor requires one action, like moving it to a correct location and the other to a different location. But they are random in a group of actors each. So how to I make the actor that spawns random and how to I make sure that both conditions are met before I reset the scene?

  • BellowBellow Bartender Member, PRO Posts: 227

    At my computer gs is not installed right now so you need to use two different actors.

    for the random spawn look at the google its easy but i dont remember it now.

    For checking conditions.

    For first one give a rule and put another actor to the screen for checking conditions. When this two actor collide change att game rule or whatever (you need to create new att or real at the scene for this one) +1 and when the other one collide with other actor make it plus 1 too.

    so

    Put a rule for level 1 when the gamerule att = 3 change scene to the next chapter (this is for your nexxt cchapter) or move to next chapter
    you must start your gamerule att 0

    at the first actor put a rule when the actor collide with actor 2 change att gamerule + 1

    so this make it 1 and put same rule for other actor too.

    This way when 2 actor get the correct place your gamerule att got 2

    put a rule when gamerule att = 2 finish game.

    there is some bugs but its something like that.

Sign In or Register to comment.