nerdError's Recent Forum Activity

  • It is a really cool feature, I will definetly use it often! My layouts are biiig :D

    Though, I wish one could click on an object on the layout and in addition to "Find all references" option there will be "Show in the instance bar" one.

    It's nice to find objects trough the instance bar, but I wish it could be done the other way around too.

  • It's kinda funny that on almost every topic I read Ashley say "dont worry about performance. difference is not really noticable. 99.9% of projects doesnt need this" and so on. And then guess what? Peformance was literally the main problem i had with C3 through all those years. And i make pretty simple games! Some things in C3 cause absurdly bad performance and you will never read about that in docs, and the only way to figure out is to extensive testing and comparing different approaches. Without WebGL debugger and literal months of trial and error i would've never made my games playable on mobile or low end devices.

    In most cases i agree with Ashley, but...

    Ashley "dont worry about performance" Gullen

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to make sprite fonts sharper? No matter in which size or scaling i make them, they always look so blurry compared to default Text

  • Use Text.TextWidth and Text.TextHeight expressions.

    Hm, for some reason i remember that they didn't do what i wanted, but maybe i just used them wrong. Thanks for the suggestion!

  • I want to measure actual text size (not the Text object size)

    So, i want to get this (bounding box or something like this)

    Or maybe at least get a width/heigth of some text in specific font and size.

    I know about measureText js function, but it doesn't seem to help much, but maybe I just used it wrong

    Tagged:

  • After a bit more testing and observation today, I'm almost certain that it's tied to autosave.

    As soon as my project autosaves, I can expect a long manual save straight after, no matter what (while using project folders). Meanwhile, disabling autosave results in no longer getting a long save time intermittently.

    Interesting guess, i will check it later! But yea, for me it definetly not the project files size, and also it's not tied to actions i make, it's just seems random to me, so it easily can be related to autosaves

    UPD: oh, i saw Ashley answer on GitHub, seems like you were right! Im so happy this problem will be fixed, I was struggling with it for a year at least now!

  • Are you saving to a c3p file or a folder?

    I noticed that oddly enough saving to a single c3p file is much faster than saving to a folder.

    That was about a couple of years ago, I didn't try using folders again since then though.

    Yeah, I'm saving to a folder, because editing scripts outside of C3 won't work otherwise

  • Check the number of files in Images and other folders.

    Each animation frame is saved as a separate file. And if there are many thousands of them, the project will take a long time to load and save.

    Well, yeah, I have 1200 images in the folder, but they all have a total size of 700 kb. I mean, it's just nothing. It should take a less than a second to process them all, computers are fast enough nowdays. And, anyway, what can I do about that? C3 doesn't allow me to handle sprites in any other way

    And yeah, I think saving each animation frame to a separate file is a bad idea, just because of how Windows works, as I know, and again, can't do anything about that.

  • I have a pretty medium project

    I use project folder format, because most of the game logic is written in TypeScript and compiled into one ~2 mb js file included in the project, so I don't have much script files or events in the project. Total size of the project is literally 10 mb!!!

    And the saving can take from 5 second, to full 2 minutes, and also my PC can fully freeze for 10-20 seconds in the process. I just can't imagine what can you do for 2 minutes with the 10 mb project, and especially to make PC freeze as hell. And also it doesn't matter what changes I make. I can make like 30 changes to the scene, and saving will take 10 seconds. And the same time, I can edit one action in event sheet, and the saving will take 1 full minute.

    I use latest stable C3 version, and latest stable chrome versions. Chrome extensions doesn't affect that at all, I checked multiple times. Also, i have a pretty big layout. Probably this is the problem?

  • Use webpack-dev-server to get auto reload / modules replacment when saving files

    Dev-server will re-build your scripts in folder, but Construct 3 anyway wont load those files automatically.

  • Check out any tutorial on how to configure TypeScript + Webpack. Create one empty script file in Construct 3, save the project as a folder, and make Webpack build a bundle along the path of this script, and that's it. Yes, you will have to click "Update scripts from folder" every time you change your scripts, but this is not such a problem. I've been doing this for months. Now the project is 5K lines in TypeScript. I feel pretty good.

    The webpack also allows you to use NPM packages without any problems.

  • How can I use dev tools? I'm sure it was fine last time I used it (several months ago), but it's not possible now, both for C3 self and preview

nerdError's avatar

nerdError

Member since 30 Apr, 2015

Twitter
nerdError has 2 followers

Connect with nerdError

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x8
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x8
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies