FERdeBOER's Forum Posts

  • 12 posts
  • Hi!

    Just read at https://shatter-box.com/knowledgebase/g ... -cocoonio/:

    "It seems that Google Analytics is not allowing to add analytics for apps and games anymore. They only offer Firebase now as analytics tool. However there is no working Construct 2 plugin yet."

    Does it mean that the plugin doen't work anymore?

    Thanks!

  • FERdeBOER

    Oops, fixed it again, here is a sample capx for official save-load.

    Working great now! Thanks!

  • FERdeBOER

    Fixed, thanks for notification.

    Than was fast! Thanks!

    But I'm having a new one:

    Javascript error!
    ReferenceError: cmd is not defined
    http://localhost:50000/rex_youtube_player_plugin.js, line 373 (col 31)
    
    This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.[/code:dexns0sh]
  • Hi rexrainbow

    Thank you so much for your plugins. You are really amazing.

    I'm having a problem with this one and loading a saved game. When I try it says:

    [quote:1w85a29a]Javascript error!

    ReferenceError: pendingCallbacks is not defined

    http://localhost:50000/rex_youtube_player_plugin.js, line 502 (col 9)

    This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.

    The plugin is not even in use yet, just loaded, but still not implemented in my game.

    Thanks again!

  • Good day!

    The topic says it all... is there a way I can get gps time? I can't find a way using geolocation.

    I know how to get system time, but that's not what I'm looking for, and the program is not intended to work online, so I can't get it from the internet.

    Is there a way to do that?

    Thanks.

  • Thank you for the clarification

    Sorry if I wasn't clear, I understood it once you pointed me to it and then found it in the manual, but I'm pretty sure it will help others.

    I'm starting to learn some coding while I'm not messing with construct 2 (or working) and I already "knew" (I was supposed to, but I forgot, as this post proves) the character's count and remembered it when I saw your line and the manual... But I don't think the manual alone would have been useful for me in this case if I wouldn't know something about the subject already.

    Thank you again!!

  • ..maybe?..or not?

    left(str(Geolocation.Latitude),10)

    Works perfectly, Thank you very much korbaach !!

    Edit: Just looked for the explanation and found in the manual:

    [quote:6353udw3]left(text, count)

    Return the first count characters of text.

    Not clear at all if you don't know exactly what you're looking for.

  • Hello to you all.

    I'm having an issue when using Geolocation: most of the times I get the position with 9 digits: 43.4759862, but sometimes I get a lot of numbers: 43.475898199999996.

    Is there a way to make the result to appear always the same way, with 9 digits?

    I've tried

    round(((Geolocation.Latitude)*10000000)/10000000)[/code:b6woo8f3]
    But it rounds the number to 40 (Because it's not a "real" decimal number, I guess, I'm not very good with GPS  formats).
    
    Thanks in advance.
  • OK, part of the solution to this... if I export the project with NW.js then it works... but if I export it to HTML5 it doesn't (I've tried directly from the folder on my desktop or uploading to my public dropbox folder).

    Is there a way to write external files in HTML5? Maybe not using NW.js, but other method?

  • I was about to open a thread to ask the same, as I haven't find the answer after many and many searches.

    I basically can't make the actions to work at all, even if I set

    Start of layout -> NWjs -> set clipboard text to "test"

    Nothing happens, the clipboard still have whatever it had at than moment.

    My goal is, as mindfaQ 's, to be able to write an external file. I also think a working file would be enough for me (I hope).

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • FERdeBOER

    str(Date.Year % 100)

    That's definitively better than what I was thinking about, passing it to a variable and substracting 2000

    Thank you very much!

  • This plugin is really useful for me. Thank you very much.

    I have a (probably noob) question: Is it possible to print the year only with the las two digits? i.e.: just '14' instead of '2014'.

    Thanks again,

    Fer

  • 12 posts