WackyToaster's Recent Forum Activity

  • Let's not abuse this thread for posting project statistics, I've made an extra thread because I've wanted to see people post those for a while anyway out of curiosity

    construct.net/en/forum/construct-3/general-discussion-7/share-project-statistics-for-181376

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I actually have been curious about these for some time because I've seen some people post absolute behemoth projects. And since it came up in another thread, why not have a dedicated thread... So share your project statistics, I wanna see what everyone is cooking.

    In the Project window, right-click the main game folder > Tools > View project statistics

  • That's a good question, I don't know. Why don't you just try it out and report your findings back? :)

  • You need to replace "Text" with the text you want to count the characters of. You can directly write a string in there like

    len("This is my text")
    

    Or you can reference it from the text object like

    len(Textobject.Text)
    

    Textobject is in this case the name of your textobject.

  • I usually do it this way

    You can adjust the factor (0.2) depending on how sudden you want the jump to be shortened.

  • Heh, I saw that on Twitter yesterday and tagged them there too. I think it would be pretty neat. I suppose that should also be posted to the suggestion github.

  • runtime.callFunction doesn't take a function as parameter? If you want to call this function you can just write.

    Inventory__GetScrollY()
    

    runtime.callFunction is specifically made to call functions in an eventsheet via a String. construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/iruntime

    Or am I misunderstanding something about your code? Doesn't seem like this function would return a string.

  • I understand that there's frustration but that's just the downside of using an engine in the first place. Do you want full control? Go with a framework instead, phaser comes to mind. It even has a bloom effect. Do you want absolute power? Make your own engine. With an engine you are largely at the mercy of whoever maintains it, with the benefit of having a large set of tools just ready to go. These tools are basically what you pay for.

  • Hmm last I checked the spritefont object exists because it's faster than the text object, especially when updating the text every tick. Not sure if that's up to date...

    I'd suggest to make a simple test. Think about the maximum amount of text and animated bbcodes you'd realistically have in your project and just build a "worst case" scenario with tons of animations etc. See if you run into any issues with the normal text object. Because if not, I'd go with the normal text object over the spritefont.

  • Is it possible that you have "Bundle addons" enabled in the old projects? In that case it could have bundled an old version of the addon, and the new version you have has a bug. When bundle addons is enabled, the old version is used instead of the newer one that's installed.

  • This may come down to float rounding error, which is a byproduct of how computers work. with floats. I'm not sure if rounding works with scientific notation but you can try "set text to round(variable)"

    If that doesn't work you might have to employ some custom logic to extract the fraction, round it and put it back together, something like that (off the top of my head, I didn't test this)

    set text to round(int(tokenat(str(variable),0,"e"))) & "e" & tokenat(str(variable),1,"e")

  • I think it's still worth a shot to report it along with the project that causes the crash even if it's not a new project. Have you tried shaving the project down? Remove a bunch of objects, events (that seem unrelated to the crash) save it as a new project and try to crash again. Keep shaving parts of the project off till as little as necessary remains for it to crash, then file a bugreport with it. Maybe you even can identify a certain part in the project that, when deleted, fixes the crash. That'd likely be valuable information for debugging. If possible, you can also send the full project to someone else to confirm it's not some random bs that causes the crash, like a chrome plugin mucking things up or some driver issue/hardware issue.

WackyToaster's avatar

WackyToaster

Member since 18 Feb, 2014

Twitter
WackyToaster has 26 followers

Connect with WackyToaster

Blogs