gibbon's Recent Forum Activity

  • I was just wondering why this actually cant be done?

    I have read a lot online about how it can be OS dependant ETC yet somehow there are many many apps that (for example) log GPS ETC whilst minimised. I'm sure they aren't asking apple/google if they can have some special access to do so, so what is the deal?

    I am simply wanting to track GPS every N seconds whilst minimised.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I pay a subscription (and have done for many years) and see features such JS and the HTML element as amazing turning point for C3.

    C3 isn’t just for none coders…

  • You can just edit the index.html file. However, you should find that simply setting the font size of the input to >16px will solve it.

  • Second time I have encountered this and thought that this time round I would put some time into trying to figure it out, but failed.

    With a HTML5 export saved to home screen for offline use and then having it detect an update, I use the "On Update Ready" event to show a message and button to restart. The button uses the Browser object to "Reload" the page, however it just ends up in a loop showing the message again and again until I close the app by swiping and then relaunching.

    What is the proper method of detecting an update, completing the update and restarting?

    It appears 3 years ago someone was experiencing the same issues from the comments on this page... construct.net/en/tutorials/offline-games-construct-8

  • You do not have permission to view this post

  • The most simple way is to set the input font size to 16px or more.

    Also Use maximum-scale=1 in the viewport meta tag.

  • Worked a treat, many thanks!

  • Yes I will, the returned data doesn’t contain the ID but that shouldn’t matter, as long as I can track the result of each request.

    Will give it a go.

    Thanks

  • Without checking, are you suggesting that i can set the request tags dynamically, then use the on any complete and retrieve the tag using Ajax.tag?

    That could work if that’s what you’re suggesting.

  • Having used C3 for many client projects using backend server side services I thought this was just another trivial project, turns out not.

    Basically, the start of the layout first requests a number from the server, this number could be anything but likely to be anywhere from 1 to 20 (it also returns this many ID's). The number/count and ID's are stored and then used to do the number of AJAX requests on a regular basis (5 seconds), each request is to get data based on the ID's

    The problem to solve is, how can I do multiple ajax requests (which varies at runtime) and then track each return?

    I cant hardcode each "on complete" because there might be more or less than what is hardcoded.

    Any ideas?

    Tagged:

  • Its bizarre, I'm positive they weren't there. Since loading the project back up I can confirm they are now there.

    Implemented and working as described.

    Thanks

  • So it appears these update functions in the browser object no longer exsist?

    The Browser object has two conditions to detect this happening: On update found and On update ready.

    I cannot find either of these above?

gibbon's avatar

gibbon

Member since 18 May, 2016

Twitter
gibbon has 1 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies