Grimmy's Forum Posts

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

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

  • Will send in the morning. Its late here (Argentina) but I will send along with steps to repro. No problem. Cheers

  • I can send you my project if you like. What's your email? I can send a dropbox link.

    I have a few layouts in my project but this only seems to happen when returning to a layout (the title screen) from another layout.

    This layout is the first layout in the game but it never seems to have the issue when you first run it, only when you return to it from another scene.

    Also, this is the only scene with more than one Spriter object in it. No idea if that has any relevance or not.

  • If I deactivate a group in an event sheet and then load some other event sheet/layout; when I come back to the original event sheet, will that group still be deactivated?

    From what I can see this seems to be the case (am I correct?) but I would expect the event sheet to reset to its original setting when it loads in again as this would be far easier to manage.

    There doesn't seem to be any Reset ALl Groups action and so its becoming increasingly complicated to know which group are open and which are not.

    Is what I'm seeing correct? If so how can I force groups back to their original state?

  • In today's latest beta of C3 (r229) the error is happening pretty much all the time (in my project at least).

  • in my log its always just [Construct 3] AJAX request to 'https://preview.construct.net/colours.json' (tag 'colours') failed: 404 which is the file I load at the start of the layout.

  • That's great, Thanks! My app depends on it! The error seems quite rare (in in ten or twenty) and I've tried to minimize the number of times it needs to load the file, but when it breaks it breaks bad and I can't seem to find a workaround as even successive load attempts continue to fail. (as if the file is getting deleted somehow maybe?)

    Good Luck!

  • Mike, I am using Spriter in my project so could it be something to do with the latest Spriter Beta plugin?

    I have scml objects on the same layout that my AJAX call fails when that layout starts.