LaurenceBedford's Forum Posts

  • Thanks Gillis and newt but am i right in saying newt your calculation - calculates if its been a full day since the user started playing?

    But I'm slightly confused on how to calculate the next day -- if you understand where I'm coming from :)

  • I would use "unixtime" and compare the milliseconds in a day.

    So if unixtime-86400000 => storedUnixtime, then you know its a day

    newt what do you mean by storedUnixtime as i cant seem to find that command?

  • newt I have tried with the browser js for example getFullYear() but it returns 0 what am i doing wrong

    i used this code Browser.ExecJS("getFullYear()")

    EDIT IT WORKS NOW

    BUT how do i see if its the next day as i want to call an api once daily so i dont call it every time the app opens how would i do this?

  • Hi I want to be able to show the month and day in a text box formatted like this

    and then in another text box I would like to show the year

    but how do i do this as I have tried Date() but it returns everything which i dont want.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000 thank you so much it works now!!

  • What you are looking at is JSOn data you should use AJAX to request that URL and then use on AJAX completed parse JSON string to AJAX.lastData then set a variable to JSON.Get("money") and in this case it will set it to 264.44

  • Have a look at the enhance plugin they do ads

  • At the start of my project i request an api that returns this json

    I then set a variable to json.get("word") which pulls the word in this case middlescence that all works but when I try to pull the definitions the same way it does not it returns a value of 0, I have tried JSON.Get("definitions(0)") or JSON.Get("definitions.text") But it still returns nothing what do i DO

    Tagged:

  • Hi guys I recently saw this and I wanted to recreate a trail effect like this on the ball and the paddles, how would i do this as the whole project has a sort of glow effect how is this done!!

    here is the the video:

    twitter.com/Brunnoob/status/1121206870432206849

  • You do not have permission to view this post

  • Salman_Shh I would love to hire you to help me create a game mechanic in c2 where do i contact you?

  • > Hi Guys, Im working on an arcade style game with only one screen but i need some game ideas.

    > Should I release a working demo heres a picture of the start screen!

    LaurenceBedford

    A working demo would be fun, but I can already say I like the look of it.

    I'm not always a fan of retro/pixel games but I fully understand why us indie devs would choose this way (less when it's big devs on consoles with remake of old game still using the same sprites for '80s-'90s), but really, there is something I really dig about your character design! :)

    Thank you Im glad you like the look of it! here is a working demo see what you think! silly-liskov-6df97f.netlify.com

  • Hi Guys, Im working on an arcade style game with only one screen but i need some game ideas.

    Should I release a working demo heres a picture of the start screen!

  • no have capx :(

    I know

  • Looks like some physics object with 0 friction going to the right. The wheels probably don't actually work and are just for visuals. When you touch, a torque is applied with the origin on the back wheel that lifts the bike.

    It's all guesswork though.

    thanks