Colludium's Recent Forum Activity

  • Awesome work, Ashley! I'm glad I could help.

  • It's hard to be certain because looking at the image is harder than messing with an event sheet. Here are my thoughts...

    If you are not using containers, none of the animation calls define which ZombieAnimation you are referencing. I suspect that you are using Containers, though, so you can probably ignore this second point, I only mention it in case you are not...

    Where you have ShieldSprite -> On collision with ZombieCollider, you set ZombieAnimation to "down". That trigger is called within your For each ZombieCollider loop, which is unnecessary and requires forced collision checking (more overhead, negates collision cells) than if you had the trigger at the 'root' of the event sheet.

    Also, the subsequent For each ZombieAnimations is not required, as the sub event should stand alone and function correctly without it. I would advise against using a wait 3 seconds before commanding what the ZombieAnimation should do next because there's scope for referenced objects to get mixed up. Just add a timer behavior to the animation object and set it to trigger in time + 3 secs, then use that trigger to change the animation.

  • I'm just glad I found a way to reproduce it in a simple capx, TiAm; hopefully Ashley will be able to work his magic and fix it without too much pain.

  • Ashely,

    I can replicate this in a fairly simple project!

    Bug Report

  • Problem Description

    When web fonts are placed on global layers a preview compilation can cause the web fonts to be incorrectly rendered and the editor to crash.

    Attach a Capx

    [attachment=0:2zxfj1n8][/attachment:2zxfj1n8]

    Description of Capx

    The capx contains 7 layouts, each with 7 layers. Layers 0 to 3 are set global in Layout 1. Layout 1 contains a very large number of copies of a single text object (the only way I could force the crash to occur consistently), with lots of copies of the text object on each of the global layers.

    Steps to Reproduce Bug

    • Run one of the layouts (not layout 1)
    • Observe the result
    • If the compilation doesn't render incorrectly (with default font showing in the browser) and the editor doesn't crash, try selecting a different layout - this seems to be exacerbated if you switch between these layouts before running (? maybe just me)

    Observed Result

    The web fonts are not rendered correctly and the editor crashes.

    Expected Result

    The web fonts should render correctly, and the editor should not crash.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    W8.1 x64

    Construct 2 Version ID

    r190

  • It seems to make no difference whether it is on or off.

  • The crash always happens during rendering for preview or just after returning to the editor after a preview. Because the text objects don't load their web fonts, I'm suspicious in that direction, but that could just be a symptom of something else. I have quite a few text objects on global layers (HUD etc) so I'm trying to recreate it in a simple project, but since this is intermittently failing already I'm not confident of reproducing it. I also have a few canvas objects on global layers, and replacing them would require me to replace the text objects with sprite font so I can use paster... It's my next and last option!

  • Already turned it off... (if the icon caching was for me).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, Ashley, you were right to be skeptical about my earlier conclusion. Although the editor is far more stable now that I have removed almost all of my plugins and that one web font, I just had a repeat of the crash on compilation to nw (all text objects were displayed with tiny default font). My last 2 plugins are CB Hash and Canvas, which leaves me one last try. I'm going to remove CB Hash and see what happens next, as it seems unlikely that both of my computers have display driver issues v the C2 editor (one's a 9 month old W8.1 and the other is a 2 year old with W7). I will have to soak this one up, I suspect, as I have progressed too far to remove Canvas as I can't recreate what it provides by using native plugins...

  • Ashley - For your info, black fillings like this are similar to the symptoms I saw before my editor crash problem (the one that I put down to a web font).

    Guillermo - A bit of a random question - are you using webfonts and, if so, does this still happen if you choose a system default font instead? I recently saw symptoms like this when my (non-steam sourced) editor was crashing. After removing almost all of my plugins, I removed a web font and the problem has gone away.... (for now, at least!)

    (see this recent thread)

  • Thanks blackhornet, I really appreciate your work on this great prog. I have figured ways to work around it as well. I rarely need special characters so don't lose sleep on it on my account! Cheers.

  • Good idea!

    Character set in the text output:

    €[/code:3ag0e656]
    
    Here's from the output xml:
    
    [code:3ag0e656]<Letterset>€</Letterset>[/code:3ag0e656]
    
    3 for the price of 1....
Colludium's avatar

Colludium

Member since 26 Aug, 2013

Twitter
Colludium has 11 followers

Connect with Colludium

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies