Colludium's Forum Posts

  • 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).

  • 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....
  • blackhornet,

    Here's the top few lines of the persist.xml obj.

    <?xml version="1.0" encoding="utf-8"?>
    <PersistableFontDetails xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Letterset>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>%</Letterset>
      <AdjustHeight>0</AdjustHeight>
      <AdjustWidth>0</AdjustWidth>
      <SampleText>The quick brown fox jumps over the lazy dog.</SampleText>[/code:1jhc8qmy]
    
    And here are the last few lines from the GYFM2.txt object:
    
    [code:1jhc8qmy]UpdateWindow-IN
    Void buttonFont(System.Object, System.Windows.RoutedEventArgs),Void UpdateWindow(),DrawToBitmap(Arial,Regular,14,<~>,~,500,1000,0,0,0)
    UpdateWindow-OUT
    Void InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean),Void OnSaveFile(System.Object, System.Windows.RoutedEventArgs),DrawToBitmap(Arial,Regular,14,<~>,~,0,0,0,0,0)
    Void InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean),Void OnSaveFile(System.Object, System.Windows.RoutedEventArgs),DrawToBitmap(Arial,Regular,14,<~>,~,0,0,0,0,0)[/code:1jhc8qmy]
    
    Here's the png from the previous post, just for completeness...
    
    [attachment=0:1jhc8qmy][/attachment:1jhc8qmy]
  • blackhornet & TiAm,

    I can confirm that I'm using v 2.4... Here is the character set that is contained within the GYFM window and which is drives the characters in the png image (the png contains these characters as well):

    ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>%

    Here's a screen shot to confirm it:

    [attachment=1:1fp0wzj1][/attachment:1fp0wzj1]

    And here's a screen shot of the text tile. As you can see, the character set there is:

    ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,;:?!-_~#"'&()[]|`\/@°+=*$£€<>%

    [attachment=0:1fp0wzj1][/attachment:1fp0wzj1]

    So... it contains some foreign characters and omits some others (like the Euro symbol). I have no idea why this should be this way - I have just reformatted my computer and it's running W8.1 with a US keyboard and English UK language selected....

    Thanks for helping with this. To be honest, I can probably work around this by not using some of these characters. It just seems odd that there is a disconnect between the input string, the png and the output text object.

  • I really appreciate this program - it's awesome. However, the problem I encountered on page 16 is still present. For some reason the exported text file character set and, consequently, the json are incorrect - yet the characters in the window in the prog are correct and reflect what is in the png....

  • Ashley, so far so good and I'm a bit skeptical as well... What about the editor's treatment of web fonts when compiling a preview? Is it possible that a glitch during compilation could cause a crash shortly thereafter? The mini default font during preview was odd and always indicated that the editor had crashed, as if the editor/compilation process found the font incompatible somehow.

    Also, it is like running a different prog now. C2 is blisteringly fast, and - regarding whether something else caused the fix - I was careful to make incremental changes and test until the next failure to avoid the confusion that would be caused by making multiple adjustments at a time. Never say never, right? But this looks like it has sorted it...

    I have one extra plugin remaining (CB Hash, can't write that one myself in events) and I will certainly report a bug somehow if this recurs.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK then.... This will take a couple of hours to confirm, but it appears that it was a web font that I was using. Nothing about it caused it to be rejected by the c2 editor, or Windows, but it was definitely was causing the editor to slow down. As soon as I deleted it from my system and changed the references in c2 to another font, the c2 editor became lightning fast. I feel a little elated, even though it's taken all weekend to sort out....

    For what it's worth, the name of the font was SF Cartoonist Hand... A pity - it was one of my favorites.

  • TiAm, I agree, it's a little unsettling. It's hard to say what triggers it to happen. I tend to make a few adjustments to an event sheet and then preview the results. Thus the failure seems always to happen just on preview or just after I close the browser tab. I haven't done a comprehensive test using other browsers yet - good idea, although it will lock up before preview as well, so I'm not inclined to think it could be that... I've just had an idea to change something else that I have overlooked - custom web fonts... Often the preview will run with tiny default font (hard to read) or no fonts show at all - both a sign that the editor crashed during compilation.

    I've just got my hopes back up. I'm away from my computer but will post later. Fingers crossed its a corrupt web font set....

  • SecondDimension, I think we have/had different problems. After deleting the shader effects I was using (no change to my problem) I tacked the small number of custom plugins I was using. First to go was Gleam (I discovered a couple of weeks ago that it has become deprecated) - this was easy to replace, it just took a little time (it was my first suspect because it was on many families and present somewhere on every layout during run time). Everything seemed more stable and I had my hopes up... but then, after about an hour of work the same crash happened again! So, the next to go was my old favorite LiteTween. Luckily for me I was only using it on one object, so I found a suitable work-around. And that's it! No repeats of the crashes (so far at least, after 2 hours tinkering in the editor).

    Edit - OK, it's still crashing... Typically when I preview the layout. I have no idea what to do now. It is certainly more stable than before, but it's not as good as it was....

  • QuaziGNRLnose, I don't know... I was hoping it would be a driver incompatibility but the same thing happened when I tested the project on a different computer with a totally different hardware spec and version of windows.

    The editor predominantly crashes when I preview the game... If the game previews and I see all of the text objects in the HUD display are in a tiny font then I know the editor has crashed during compilation. My browser icon and the task manager icon in the task bar then all change to the C2 icon as well (until mouse over)... The editor then is unresponsive (mostly) but it will go in and out of focus; I cannot take a screen shot of what it looks like for some reason - half of the editor goes blank or it colours black. I have so far removed all webgl effects with no effects to be shown in the editor, to no change in stability. I am now writing my own replacement for the hand full of third party plugins I use.

    I did wander about a memory leak but C2 seems to max out at using about 400 Mb and that doesn't seem to constantly increase as I would imagine a leak would cause.

    It's going to take me a day or two to write my behaviours in events. I'll post the results of what I learn here (it was happening before r190); there is no way this can make a bug report, unless I say 'just do work in the editor, on layouts and in event sheets, while saving and previewing a lot, for 15-45 mins'...

    Edit to add that I'm not sure when this started to first happen, and I am reluctant to speculate about the cause, but it was around the time that global layers were introduced (I use quite a few, so my roll back options are limited).

  • I agree that the image editor lacks many features, but it really is only really intended to edit animations and for creating place-holder sprites. Rather than have Ashley spend time creating yet another (and still more limited) image editor, I would rather see an 'open in your favorite image editor' button, whereby it opens up the likes of GIMP, paint.net etc....