GSquadron's Forum Posts

  • Hello,

    Right now I use 4 buttons in a mobile game:

    I want just one button and make it omnidirectional to rotate the player and move him. (top-down shooter)

    I want the player to hold touch on a button and rotate the player towards the position of the touch.x-button.x (also .y).

    Imagine if the big one is the button and the black circle is where the player taps.

    How can I find the degrees so that the player rotates to that position?

    Also, the problem is that button.X is not the X value on the locked screen, but rather the position of the X on the map. Same for Y.

    This makes it impossible to do.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ok found it. Thanks!

  • Ok, now I have a new problem.

    The sound does not go low enough. How can I make it to be completely removed?

  • I need to change the volume of the game (Music and sound effects).

    Problem is whenever I try to change the slider, nothing happens.

    I also debugged the slider value and it is alright, which keeps me thinking what is wrong?

    Here is the event:

  • Ok so I added a new layer on top of the game itself on each level instead of adding new layout which is logic.

    Problem is that I want to make all other layers invisible while layer story is visible. With click they should all toggle.

    I have different layers for levels though, so I want to use their names for visibility instead of their numbers to make it dynamic.

    How to use layer's name in the 'set visible' action?

    Update: Thanks for your help guys, now it works perfect!

  • By the way, you gave me an idea as to place them on top of the levels layer.

    I will try it and respond back.

  • Hello,

    I have 10 layers in a folder called levels and 10 layers in a folder called levels story.

    When the player completes a level I want to jump to the next levels story layer.

    How can I do this dynamically?

  • Thanks! It worked!

  • I just tried to find pick object or pick all or function and it does not show anything.

  • I have two objects of same name.

    If the player touches one of them, I want them both destroyed.

    How to destroy both objects which have the same name?

  • Thanks, I got it working.

  • Hello,

    I have a Facebook and Twitter button.

    I want the gamers to click it and a new tab should open to the facebook and twitter page of the game.

    How can I do that?

  • Gear Thanks!

  • Thanks for your reply. Really smart.

    I just applied it and works great.

  • Hello,

    I want to create a blue monster out of green monsters.

    I press CTRL+Click to copy one of the green ones, then I change the sprite and all the green ones are changed.

    How can I change the sprite only for one monster?

    Also, can I attach all green monsters behavior to the new blue one if I just create a new sprite?