Ashley's Forum Posts

  • Just avoid very small fast moving objects moving towards thin barriers. You can calculate how fast an object steps every tick, it's:

    speed x dt

    For example an object moving 100 pixels per second at 20 FPS will be stepping

    100 x 0.05 = 5 pixels/tick

    So if the object is bigger than 5 pixels wide, it will never skip a collision. Even if it was only 3 pixels wide, it could only ever skip a wall that was only 2px thick. So both larger objects and thicker obstacles help prevent the issue.

    The C2 engine implements a minimum FPS of 10. So dt never goes above 0.1 - the game goes in to slow-motion at that point.

  • I think a few of your assumptions are wrong. Large downloads are commonplace, especially for games, and lots of people have broadband so it's not a problem. Many Steam games run in to several gigabytes, for example. As a web game, WebGL renders identically to canvas2d, so there should be no need to turn it off. If you're talking about effect fallbacks, then C2 has some options to help you set up appropriate fallbacks, and you'd need to deal with that problem in node-webkit as well anyway, so no difference there.

    If the engine and the game data were split in to two downloads, I think you'd get even fewer players. A single download is simple to use: download and run. With two downloads, it's a little confusing (why not one download?), plus you need to know how to set up the runner and the game download so the runner knows how to find the game download. Some people will get that wrong, or just download the runner and wonder why it doesn't work, resulting in fewer plays for your game. (You'd be amazed how much people don't read instructions - it's a constant thing that comes up in support for Construct 2. You'll get lots of people clicking the first download they see without reading anything then sending you an email when it doesn't work immediately.)

    So just distribute it as a web game, or take the file size overhead which shouldn't matter for anyone with broadband!

  • Yes, post a new report.

  • There is a debugger in the latest builds. You need the latest beta (r139 doesn't have it), then just hit the debug button next to the preview button.

  • It's a browser limitation - most browsers have v-sync forced on (which is a good thing IMO). Some browsers have a way to disable it - you can in Chrome from chrome://flags for example.

  • Closing since this is not an actionable bug report. Also, if your computer reboots, normally that indicates a system or hardware level issue - ordinary software crashes or glitches wouldn't cause that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One straightforward way of doing it would be to make your own plugin in the Javascript SDK. Then on some JS function you can fire a trigger in the event engine, and in your project events, on that trigger go to a layout.

  • Moved.

  • Engine time is the frame time not spent in events, physics or draw calls, i.e. just the overhead of the C2 engine. You should note that the measurements are all approximate, and 10% is still pretty low, so it may well be fine.

    Engine time includes "ticking" objects, such as stepping sprite animations, moving any objects with movements, other behavior tasks e.g. searching for targets with the Turret behavior, and anything else that needs tick-by-tick attention by the engine that is not covered by events.

  • IMO it's obvious that HTML5 games are going to completely replace Flash games eventually.

  • Looking good - more evidence of HTML5 on the XBox One!

  • The project is still corrupt with lots of images missing. We can't fix the original problem without knowing how they went missing in the first place.

  • Just skip recompression if you want a fast export, then when you're doing a real publish do the standard recompression.

  • You do not have permission to view this post

  • Closing, we cannot do anything about projects that are already broken apart from possibly recover them. To be able to resolve this bug, we need to know what caused the project to be broken in the first place.

    Note your original .capx file is completely missing all image files. You can rename it .zip and open it to see this yourself. So there is probably no hope of recovering this project.

    Keep your work safe with Construct 2's backup options