gibbon's Forum Posts

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

  • I have been working on a HTML app recently and noticed that for every version I export (HTML) I have to force my browser to reload a fresh version (not a cached version) (by adding a version parameter to the requested URL, or put it in a new directory etc).

    As annoying as it is, for dev this was OK. The issue is, this is a targeted mobile PWA and is therefore "added to home screens", so neither of the above can be done. When I update the project the PWA loaded form the home screen does not update.

    Is there any methods built in to C3 to force this?

    I thought that the project version number would be saved inside sw.js so every time its up revved the sw.js changes and therefore I believe will force a reload, but it does not store it inside sw.js (or anywhere in an HTML export from what I can see)?

    EDIT: Just found this, will do some further testing...

    construct.net/en/tutorials/offline-games-construct-8

  • Just out of curiosity.. What are you doing in Animate that you cannot do in C3, since you own a C3 subscription already?

    (The only thing I knew was video export)

    That is exactly it... :)

    And I'm assuming that C3 can have that, but I guess that's not going to happen now they have a separate potential revenue stream with that particular feature...

  • As we originally announced, Construct Animate will be sold as a separate product upon launch. C3 subscriptions were only allowed for the public beta, which is now coming to an end. We're aiming to launch shortly and so we're getting everything in place for that - part of which is moving over to the new Construct Animate subscription system. That should go live soon, but in the mean time I'm afraid there is not yet a way to get a Construct Animate subscription - hopefully it won't be long!

    Well that's unfortunate timing...

    Are we talking a few days by any chance, I have a project for a client and using Animate seems to be going well but I have now run out of events...

    So I'm assuming ill have to move onto use other software for now?