jdejean's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is how it´s done in case someone else needs it :)

  • Hi, I´m still fighting this visual leaderboard thingy.

    Worked on dop2000 example and also on this postbut havn´t had much luck with this json file (I can make it work using mysql, or json with identifiers before the { )

    If I don´t have one, I don´t know how to gather each block information independently, any ideas that can help me here?

    Right now, every sprite gets the data of the last json block

    Thanks so much in advance :)

    This is my file today

  • lionz thank you very much, this is exactly what I was trying to understand. It makes so much sense, thanks!

  • Hello, I have been trying to figure this one out with not luck, I imagine it´s something simple, but I just can´t find how to do it.

    I have three instances of the same text with variables ID:1, ID2, and ID3

    and three intances of the same sprite with variables position:500, position:600 and position: 800 and ID:1, ID:2 and ID:3

    I´d like to set the texts over the boxes using the boxes variable. Is this possible?

    I have tried for each text, set x to boxes.position but it sends every text to the same box.

    and also, compare text id, set position to, box.position but, I cannot specify wich one.

    any ideas?

    This is my file dropbox.com/s/uwtft2szw59whgs/instance%20variables%20positions.c3p

    Thanks in advance!

  • 11 days have passed..... and I´m still not sure what am I doing.

    I got this to "work" with the suggestions made by DiegoM and dop2000, thank you so much!

    Now, seeing that Dop2000´s suggestions are on the json side, I started trying to understand dozens of posts about json and arrays... I can have my data sent it this way:

    {

    "rank": 11,

    "score": 14.0,

    "userId": 46.0,

    "userName": "Varsovia",

    },

    {

    "rank": 12,

    "score": 12.0,

    "userId": 43.0,

    "userName": "Istambul",

    },

    How can I put this into an array? is it possible to separate each score, userId, username, etc?

    Thanks so much,.

  • DiegoM Thank you very much for your answer, I´ll try to see how it goes using this method and will post results as I solve this, thanks! :) At first it seems confusing to me, but I{m sure that with time and patience I´ll have it running eventually lol

    And by the way, since we are here, I want to thank you and dop2000 for all the help you guys give here, as a low knowledge user, I usually search this forum for almost everything I do finding already answered questions, and your names are always present, so THANK YOU! Without even you knowing it, you have already answered A LOT of my questions :)

  • dop2000

    This is the php Im trying to use to format mysql as json

jdejean's avatar

jdejean

Member since 12 Jul, 2016

Twitter
jdejean has 2 followers

Trophy Case

  • 8-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies