Blaqkwraith's Recent Forum Activity

  • I've looked all over but I'm looking for a particular situation. I have a function "test" that goes to an array that loads data from a JSON data file. How can I call this function "test" at the start of the layout?

  • Your having problems with HTML 5 on iOS?

  • Its not on their side due to everything working fine on PC. There has to be something with the way iOS caches. I can make the app work only on incognito with chrome. After that I can navigate without incognito no problems ( my guess everything is cached).

  • I have created a simple app and wanted to test it with different OS and browsers. The game works fine on all PC browsers but on the iOS browsers not so much. On one of the browser I saw this error dns probe finished nxdomain. I have talked to support of my webhost and it wasn't anything on their side. I have figured out that I can get the game to work if I use chrome and open incognito tab on iOS. After that everything is cached and then the game is fine with regular chrome. There seems to be something I'm missing to fix this problem for iOS.

  • I've tried the persist path which is when I decided to go to the forums. I got things working, maybe not the most efficient way but been testing all weekend. Question with global objects that text box will take up that space on all layouts and how can I stop the running timer, lets say the user went to a home page?

  • Yes thank you that is exactly what I was looking for. Does it seem to far fetch for the Timer(alarm) to not get reset on the layout. Everything else with that object stays the same but the Timer resets. Can you help me understand how you would do it differently, using a global object? Fairly new to construct and the manual only goes so far and everything online points me to using the Timer behavior...lol a never ending loop. Thanks so much for the help, I wanted to try something different and went with asking the forums.

  • No I dont want the alarm to restart. I want the alarm to keep going off every 12 seconds from the start of the layout when its synced with the running timer that starts on the layout. But when you reset layout the alarm will start back over and its no longer synced with the running clock

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a quick example of my issue. Nothing starts until layout 2 when the timer and the alarm start. At 12 seconds the alarm will go off and every 12 seconds after that. However if you click the sprite to restart the layout the alarm timer is reset and it might not be synced with every 12 seconds anymore.

  • Thanks for the fast response, negative on the global object. When I debug the layout I can see the timer running and the sound activates on time but when I click restart layout the timer gets reset.

  • No I understand the functions of the Timer behavior. I dont want my Timer that is running to reset when the user resets layout. Example I have a sound that goes off every minute using the Timer behavior. When the user completes the task they can then click a restart layout button and do it again. I have everything setup so that the timer keeps going through the restart layout command however the Timer resets. So the user is left with a Timer that doesn't match up with the still running clock from the previous.

  • I have a simple game that keeps a running game timer. When the level is over I have a restart button that just restarts the layout, the game timer continues with no problems. However I have timers using the Timer behavior that reset messing up the timing of sound with the running game timer. How can I set a timer to the running game timer or stop the Timer from restarting?

Blaqkwraith's avatar

Blaqkwraith

Member since 9 Jun, 2019

Twitter
Blaqkwraith has 1 followers

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies