Lightstone's Forum Posts

  • Hello

    I have a game in portrait mode.

    I'd like check the device orientation (i.e. for a "please rotate screen") which works on mobile and desktop.

    If i use Browser.IsPortrait it does work on mobile but not Desktop. The browser on desktop is mostly in landscape.

    Any ideas how i can check this?

    Thanks

  • Thanks for your replies.

    It will helps me.

  • Hello

    I try to ask in other words.

    When you use Buttons and when you use Sprites as buttons?

    Is there a reason to use buttons anymore?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello

    What is the better way?

    Use C2 buttons (maybe with adjusting CSS) or use own Sprites as buttons?

    I know, with Sprites it is easier to adjust their look and feel.

    But is there also another reason to use button or sprites? Maybe the different kinds of devices and browsers?

    If you use Sprites. Do you create them yourself (how, with which tool) or do you download them (where)?

    Thanks for your hints.

    PS: Sorry for my english, isn't my mothertounge.

  • Thank you. It work's.

  • Hello

    I have following problem:

    Example:

    I create a ball which will fall on a slide and then sliding down. At the end of the slide there is a gate. At the gate the ball stops. When i open the gate (move the gate back/away), the ball doesn't fall again. It stays in the air.

    All objects have the physics behavior.

    Any idea?

    Thx

    Sorry for by bad english. Hope you understand my problem.

  • Thank you.

    I'll try it.

  • Hi

    I have some sprites of the same type. For example i have a family with different cars.

    The family has the behavior of pathfinding.

    On the layout are some of these cars.

    How can i select a car with the mouse and set them a new tartget for pathfinding.

    Thanks

    PS: Sorry for my english, isn't my mothertounge.