dop2000's Forum Posts

  • You need to share your project, because I don't know what kind of game you have in mind.

    If your laser is one continuous ray as in this example, then you should make it with many individual line sprites. Each sprite is a short line, you spawn it at each mirror, set the correct angle, and change its width to the distance to the next mirror.

  • It depends on the game.

    In a puzzle game like this you can add an instance variable reflectAngle to the mirror sprite and set its value to -90 or 90.

    When ray hits the the mirror, set ray angle to (ray.angle+mirror.reflectAngle)

    If the game is something like this one, you'll need to calculate the angle depending on the angle of the mirror sprite.

    Or if your ray is short and has Bullet behavior, simply set "Bounce of obstacles=yes"

    There are also a few plugins that can be useful:

  • Are they always linked?

    Is this situation possible?

    R=50

    G=70

    B=100

    What should happen if I move R to 55?

  • You can't pick instances like that.

    If you want to pick 3 instances, try this:

    System-> Pick by evaluate -> (SlideBar.UID=100 | SlideBar.UID=101 | SlideBar.UID=102)

    Still, I don't understand what you want.

    What should happen when you change slidebar with UID 100?

    What should happen when you change slidebar with UID 101?

    What should happen when you change slidebar with UID 102?

  • Like this?

  • Not necessarily, each browser may work with local storage in a slightly different way.

    Local storage events are asynchronous, you need to use them correctly.

  • Change Origin image point of the Zone sprite to (0,0), it's currently in the center.

    Also, replace (120) with (90) in that formula, because your layout height is 180px, not 240.

    And one more thing - create an empty layout, name it "Assets" and move sprites like enemies, blood stains etc. to that layout.

    Construct 2 requires at least one copy of each object to be present on a layout, but it doesn't need to be your main game layout, it can be an unused one.

  • I will incorporate some kind of interaction with the ladies in the next version.

    I kinda liked the chubby one

    Also, maybe consider adding some choices for the player which lead to different sequence of events, to increase replay value.

  • You do not have permission to view this post

  • SnipG

    OMG, thank you so much! You saved me from the insanity!!!

    I have spent the last 4 hours installing android USB drivers on 2 laptops, configuring USB debugging, collecting logs...

    I knew the solution would be something very simple and very stupid and was right.

    I tried "On any touch start", "Is in touch" and "Is touching object", but my phone needed "On touch end"!

    Oddly, requesting fullscreen after "On any touch start" works in other browsers, in Scirra Arcade, and apparently on other phones, but not on mine.

    Phew... I can sleep now.

    Thank you again!

    NN81, big thanks to you too!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks NN81 for testing!

    But it still makes zero sense to me...

    Why full screen is not working in new projects on all my 3 phones, with different Chrome versions, android versions, different google accounts etc?

    Why does it still work fine in old projects? On the same phones!

    I think I'm going crazy...

  • Arcade link works for me too. But it probably runs in an iframe and there is a lot of stuff wrapped around it. So it doesn't help me...

    Have you tried this link? Does it work for you?

    http://doptrix.com/C2/fullscreen/

    If it gives you "not found" page, type the url exactly as it is here, it's case sensitive and should end with "/"

    Does it work when you preview capx from C2 over wifi on your mobile?

  • Another, a bit obscure way:

    Sprite->NOT Is boolean -> (nothing else in this line)

    Else -> (put your code here)

    "Else" event will only be triggered when boolean value is set for all instances.