dop2000's Forum Posts

  • 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!

  • 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.

  • Yes, on 3 different phones.

    My old project still works fine (goes fullscreen) on all 3.

  • Yes, it works in nw,js

    But I need it to work in my mobile browser.

  • I think your "toggle silent" action gets executed twice, once in On Touched event and once in On Mouse Click event.

    If you are testing on PC, both events are triggered at the same time.

    So it toggles off, then on again, that's why nothing happens.

    You can set "Use Mouse Input=No" in Touch properties or remove the On Mouse event, and change your code to this:

    On Touched button
       Set Toggle_music to (Toggle_music=0)      <-this will toggle the variable, 0 will become 1, 1 will become 0
    
    System->Compare variable->Toggle_music=0
    System->Trigger once
         Audio->Pause "music"
    
    System->Compare variable->Toggle_music=1
    System->Trigger once
         Audio->Resume "music"
    
    [/code:p1ja75te]
  • For some reason I can't request full screen in my new projects.

    It still works in my old projects, but not in new.

    I create a blank project, add one event:

    Touch->On any touch start : Browser->Request Fullscreen

    And it goes full screen on PC, but doesn't work in Chrome on my android phone!

    The solution is probably really simple, but I can't find it...

  • No worries!

  • Yes, it's a workaround, but it's a legit workaround

    I think I saw it in one of the official tutorials.

    I guess you can do the same with a function. If sprites are overlapping, call a function, pass sprite UID as a parameter. Inside the function pick all sprites with UID<>param(0), check overlapping again and... not sure what's next. I remember doing something like this, but I don't remember how

    The method with the family is much easier.

  • Create a family with this sprite and use it to refer to another instance of the sprite in the same event.

    E.g.:

    For each Sprite

    ...Sprite overlapping SpriteFamily

    ........SpriteFamily Set Invisible

    ........Sprite Set Visible

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, BadMario!

    I have many boxes on the layout that may move chaotically and fall on each other all the time, so turning Physics on/off is not an option. I only turn it off when box is dragged.

    I am trying to make stationary boxes Immovable. If this doesn't work well, I'll probably have to switch to ChipMonk.