jdejean's Forum Posts

  • Hello everyone!

    I´m calling two php files that show data from leaderboard shown as:

    team 4|991|0|0|0|991|team 5|881|0|0|0|881|team 1|451|88|25|20|584|

    and

    Taylor|679|400|0|0|Group2|1079|Emma Smith|330|5|1|1|Group6|337|Benjamin Price|205|0|0|0|Team A|205|James Miller|99|0|0|0|Group3|

    I have no problem reading them, parsing, puting them on an array, for each tex, set text to array_getscores.ar(tableData.At) etc. all thanks to the help with you guys. thanks!

    The thing is that I need to call them at the same tieme, and need to be updating every x seconds.

    Is it possible? Since I have one Ajax element, and I enter ajax.lastdata into the array..... they are constantly showing one ant the other in turns.

    Any tips? Thank you very much!

    Tagged:

  • I can get the GMT date and hour perfect by using Date.ToUTCString(Date.Now)

    I see there is an expression date.timeZoneOffset, and I guess it is around that, but don´t know how to implement it

  • Hi everyone,

    I want the user to be able to know the real time from different locations as they click. I have seen the date plugin documentation and other forum posts and cannot find an easy way to do this (maybe there is none?)

    In order to make it easier, I separated 3 different texts, so they can display hours, minutes and secons for each country

    Let´s say I´m trying to see UTF -4 time ,

    Date.GetUTCHours(-4), or Date.GetUTCHours(Date.Now-4) this looks like is not the way to do it... any ideas?

    Thanks in advance!

    Tagged:

  • There is an amazing example on the Example Browser called Glokar for this type of game done by MATTHEW GRUBER Tokinsom and HENRIQUE LAZARINI 7Soul that should cover all your questions :)

    It´s really well commented and helps a lot learning and understanding C3 (At least it did for me) :)

  • You might want to see Sparsha´s addons here: sparsha-dhar.itch.io

    I became a fan of this guy since I wanted to create leaderboards, I can assure it´s an easy way to solve logins, leaderboards, etc, even for someone like me, without much experience + the guy and his discord channel are amazingly helpful

    Hope it helps!

  • Looks like here is an update for C3 runtime, hope it helps construct.net/en/make-games/addons/627/scorm-c3-runtime

  • Hello, sjohnsen

    I have seen this C3 plugin by Mimiste here:

    construct.net/en/make-games/addons/86/c3-scorm-plugin

    This is the best I can help so far, since I havn´t been able to use a C3 game in Articulate yet...

    Hope it helps, and please post if you make this work, I´m really interested in this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In my understanding... wich can be waaaay wrong, having a red bar, means that something hasn´t loaded into your game or a file is missing.

  • Does anyone have any experience with playable ads for FB ?

    I keep getting this error when uploading my file to playable-preview:

    FbPlayableAd.onCTAClick() not yet activated. Click CTA to ensure successful native redirection to app store.

    I´m driving myself crazy and can´t find any documentation or posts on c3 website. 😨

    Please help! Thanks in advance!! 🙂

  • This guy has an amazing tutorial on smooth zoom youtube.com/watch

  • Try this:

    Object type: iframe

    And enter <iframe src="https://www.google.com/webhp?igu=1"></iframe>

    in the "Html content" box (Not URL box)

    Should work fine

  • Hi everyone, hopeyou are doing all great. Merry christmas!

    Today I am having this issue:

    I need to check if the game is running between dates, I can get them like this from a backend server:

    "dateFrom":"2022-12-19T00:00:00"

    and "dateTo":"2022-12-25T23:59:59"

    How can I convert 2022-12-19T00:00:00 to date.now (current timestamp) so I can compare if it´s a smaller or larger number?

    Maybe another ideas or workarounds?

    Thanks!

  • Thank you very much dop2000 for all your help, I trouly appreciate it :)

    You make it look so easy, I pulled my hair with this one for weeks.

    I will upload the file when I finish, in case someone else finds it useful. THANKS!

  • Thanks again for trying to help me, dop2000

    You mean like this?

  • This is how it´s done in case someone else needs it :)