Mipey's Recent Forum Activity

  • I very much doubt graphical artefacts are related to javascript engines at all. Most likely it's graphics engine responsible for rendering textures.

  • It depends on your graphics card and drivers.

  • I believe there is a limit to URI length, depending on browser and webserver. IE (8 and 9), for example, is limited to 2048 characters in the URL or some such. This affects POST and GET requests used by AJAX.

  • Or just hit that yellow cog - Post Options - and report the post!

  • I have a bad habit called fixing things that ain't broken... Bear with me!

    See system expressions in the manual here

    Notably:

    time - counts time since the game started, includes timescale

    wallclocktime - counts REAL time, no timescale

    zeropad - pads a number with ceros

    Why time or wallclocktime expressions? Because adding dt every tick actually may not be accurate, so I suggest keeping track of the time instead. When you start the counter, add current time to a variable. For countdown, add time + seconds. Then every tick you display variable-time and it shows seconds that passed.

    If you want more precise timing, down to tenths or hundredhs of seconds, you can use the dt counter. Within one second, the inaccuracy is not that big anyway.

    How to display time as minutes and seconds? Easy...

    Set text to zeropad(2,floor(time/60)) & ":" & zeropad(2,time%60)

    The first one shows minutes, padded by leaded zero when needed. Floor is there to ensure it is a whole number.

    The middle one is just there for aestethic purposes. :P

    The last one shows seconds, padded by leading zero.

    I think, at least.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • From here: construct.net/en

    zeropad(number, digits)

    Pad number out to a certain number of digits by adding zeroes in front of the number, then returning the result as a string. For example, zeropad(45, 5) returns the string "00045".

    So you want zeropad(timer,2)

  • Easily doable. 99% of effort would go into assets, however.

  • Uh... nowhere it says you have to bundle EVERYTHING in one project. Just copy the project and trim it for Scirra Arcade.

  • ranma: If it weren't free for taking, I wouldn't be posting it here. :)

  • I believe it is zero indexed, so "Tile" should have been at index 0 and Tile.AnimationFrame at 1.

  • Yes, if I recall correctly, every five versions are supposed to be stable. 90 was stable, so 95 will be stable.

  • You just have to reset the counter. In my example, it starts 3 seconds after the layout has started. You can use a different condition and reset the timer, then it'll work anytime you want it to.

Mipey's avatar

Mipey

Member since 16 Jan, 2009

None one is following Mipey yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies