Grimmy's Recent Forum Activity

  • I am aware that I can use the following code to restrict my number to two decimal places (eg 99.99):

    round(float(Value_Inputs.Text)*100)/100

    However, numbers with zeros after the decimal do not display as expected, for example:

    12.00 displays as 12

    12.50 displays as 12.5

    SO, how do I go about keeping the trailing zeros?

    Thanks

    EDIT: I saw a solution here: https://www.construct.net/en/forum/construct-2/how-do-i-18/decimals-zeros-shown-50800 but I tried it and it just seems to make everything round to .00 ...eg 12.5 becomes 12.00 which is not what I want.

  • You do not have permission to view this post

  • I want to display a piece of text from an external website (maybe from a class or some kind of html id ?!?). What's the best way to do this?

    Thanks

  • Sorry I've been out of the loop for a while. I tested the demo project on my system many times and have found no issues with the demo when using R236 beta.

    I tried leaving the demo running for long periods of time, short periods, without network connection etc but it has so far worked every time.

    I think it's a matter of continuing to test and try to hone in on the specific circumstances that the load fails before we can report a new bug.

    It doesn't seem to be 'exactly' the same bug as before even if the outcome (the file failing to load) is the same.

  • SOLVED: Just drag the new file from windows directly over the same file in the C3 project window and everything updates.

  • Currently I seem to need to delete my old object, add a completely new object, then resize it and then drag it into the correct folder each time I want to update my file.

    Specifically I am currently making multiple changes to an svg file and don't want to have do do this monotonous/pointless sequence each time. Is there any way to re-import or refresh file from disk?

    Thanks

  • Okay Thanks! :)

    With Flash now behind us, does anyone know if there is another html engine capable of vector animation or if there may be a chance C3 would be able to do this one day?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there some way to animate svgs in Construct 3 in the same way as a sprite sheet (multiple images played one after the other)? I love svgs because of their tiny file size and of course regular bitmap animations soon start to crank up in size.

    I use spriter which helps keep file size down but I'm thinking of cases for other types of animation like explosion/FX etc which rely on completely unique frames.

    Cheers

    Tagged:

  • I think I've figured out the problem. I have a bare bones example here (with no plugins). Mike I dont think its anything to do with Spriter:

    https://www.dropbox.com/s/kz3g9mtlod9aaj0/ajax-fail-example_2.c3p?dl=0

    The steps are explained in the example but...

    (R229)

    • in the first scene the file is loaded correctly at start (Based on Ashleys example but Im loading my colours.JSON file)
    • click the button to go to the second layout
    • if you return straight away to layout one (by clicking the button), the file is loaded fine
    • HOWEVER..if you wait 30 seconds or more and THEN return to the previous scene the file will not load correctly. This happens every time.

    P.S. I have submitted this as a bug here: github.com/Scirra/Construct-3-bugs/issues/4422

    It doesn't make any sense of course and was a nightmare to figure it out, but it is what it is. Do I win a prize? :)

  • Hmm, I just tested this by having a log print out every second in my first event sheet. This prints fine during the initial layout but when I switch layout (with a new event sheet) the log print no longer prints, meaning the original event sheet is no longer running.

  • Understood, and when the layout is no longer running the event sheet sheet is no longer running (unless you include it somewhere)...But my question is; when that event sheet runs again, are the groups in that sheet reset to their original active or deactivated at start state?

  • I thought a layout loaded an associated event sheet and unloaded it when it switched layouts. Its that not the case?

Grimmy's avatar

Grimmy

Member since 20 Nov, 2012

Twitter
Grimmy has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

17/44
How to earn trophies