Ashley's Forum Posts

  • Closing as not a bug.

  • This is actually by design. When calling a function, it actually creates a new copy of each non-static local variable to work with at that level of nesting. This is important so recursive functions can use local variables like you can in real programming language: each level of nesting has its own unique local variables which have their own independent values, so each level of logic can work independently.

    If you don't want that to happen, the workaround is easy - just make it static.

  • Closing as won't fix - there is nothing we can do, each browser has its own text rendering engine (which can also vary across OSs), and the C2 editor has its own different one as well. They all vary; even if the editor lined up with Chrome for example, it may still be misaligned on Firefox or IE. This is one of the browser-to-browser differences and is noted in the manual. Workaround: use sprite fonts which always render identically.

  • Closing, please follow the bug report guidelines.

  • Closing, please attach a .capx, not a .apk. We cannot investigate bugs from that.

  • Closing as won't fix. This isn't to do with Construct 2, it's something to do with the internals of Box2D's collision detection, which is not something we can easily change I'm afraid. Perhaps you can work around by destroying and recreating objects and swapping them with objects with no physics behavior?

  • Closing as won't fix: by design newline is just a \n character, whereas Windows is old and crusty and wants to see \r\n in some tools like notepad. I think it would be best just to use a different tool like notepad++ which understands these line endings. We could add a feature to add carriage returns in to strings, but I think that would just cause other compatibility issues, since for example nix systems will not want to see the \r characters.

  • Thanks, should be fixed in next build.

  • Closing as not a bug. Firstly you shouldn't try to set the canvas size yourself - letterbox scale mode handles that automatically. Secondly you are mixing up WindowWidth and WindowHeight with the viewport. They are different. You probably want to use the ViewportLeft/Right/Top/Bottom expressions instead.

  • I'm pretty sure this is a Chromium issue that is subsequently fixed, so closing. Hopefully the future updates will fully resolve this.

  • Does this still happen in r174?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Has anyone noticed if this still happens or is better/different in r174? The local HTTP server now explicitly disables caching which may help avoid the browser intermittently loading a mix of old and new files from the server.

  • Valerien - importing backgrounds should be really easy - they all go in the same Textures folder and have a name based on the object type. So you should be able to directly overwrite it from another tool, right?

  • So if I understand everything correctly all we need is:

    1. Remember the original source of imported animation frames and have a "reload from source" option

    2. Make an easier way to replace existing audio files

    Does that basically cover everything?

  • If you have a folder-based project, you can just copy-paste directly over the files in the animation folders. Is it really that much trouble? I'm not sure I'm clear on why this is so tedious. You can do the same for audio - just copy and paste files over the ones in the project folder to replace them.

    Also no matter what folder structure we choose, I'm sure there will always be other tools out there using different structures. I'm not sure what a good way to solve this in general is, other than making it easy to reimport a whole animation at a time, which should already be possible either by reloading from disk or importing spritesheets.

    The original post also references "many oversights and problems" without addressing any other than re-importing animations. If you actually listed them I could perhaps address them by adding new features, but without that there is nothing I can do about your complaint.