Colludium's Recent Forum Activity

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

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

  • Try Construct 3

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

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

  • TiAm, I have experienced the delight of SSD and will never be able to go back, ever... My current laptop (the one I am going to have to ebay soon... ) has the os on mSATA drives in a raid config - from power off to owning the desktop in about 8 secs... It's how computers always should have been!

    I just installed a slightly older version of Java to see if that was the culprit - nope! Sigh.... It's probably something like the keyboard driver - you know, something I cannot uninstall.

    Edit - Pah! It looks like it's going to be a 3rd party plugin. Now to unpick my project and find out which one is the culprit. So - good news is I don't need to waste money on a new computer; bad news - by filling the gaps in the c2 plugin list I have put my project in jeopardy. Sulk...

  • Thanks TiAm, I fear that it's just a random hardware driver incompatibility issue with my specific system (it's a high end gaming laptop). I'm just about to test on my wife's machine to see if that has the same problem. I expect that it's not a c2 problem and I'm going to have to go computer shopping...

  • I even tried disabling Windows updates, with the aim of running my laptop in isolation, but that didn't work. I'm currently uninstalling everything non-Windows in case the cause lies there. My first warning of impending failure happens when I change tabs or otherwise interact with the editor and the tab bar goes black for up to a second before reappearing (or this happens to another part of the editor window, but always the small bits). If I don't close and restart at that first warning then I risk a freeze up shortly thereafter - I've become very good at pressing the save button! So far I have created 800+ events and the project size is 5 Mb, lots of small graphics items and nothing too large (18 mb memory according to the editor). I speculate that this has something to do with the undo action log, but that's really just a guess as the failures seem connected to work volume. This doesn't seem to happen when playing around with a simple project.

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