Ashley's Forum Posts

  • I was wondering myself why people choose other engines and I came to the conclusion that most people choose Gamemaker because it has better performance since it exports to native code???

    Modern JavaScript engines are exceptionally fast, and we've carefully tuned our engine for performance over several years. On my development system it can manage hundreds of thousands of on-screen sprites and still hit 30 FPS. I would think it is at least strongly competitive on performance. Who knows, maybe it's even faster? It would be interesting to see actual benchmarks. But I think Construct is fast enough for the vast majority of people who use it, and of those who have performance issues, often it's hardware limitations like GPU fillrate that won't be improved by changing software. So I'm sceptical many people would choose other software for performance reasons alone.

  • Making random modifications to the runtime could easily break lots of other things. You shouldn't really do it. Please file an issue following all the guidelines so we can properly investigate and fix the real issue if necessary.

  • Why not just mix the tail in to the start of the track? That's what you'd normally do to make a looping audio track.

  • Peers connect directly to each other - the signalling server is not involved when peers are connecting to one another, it acts only as a meeting place. Peers cannot always directly connect if the network configuration is too restrictive. This is explained in more detail in the multiplayer tutorial series.

  • If you can use a tilemap, you probably should. However tilemaps are limited to same-size images in a grid. You might still want to use the technique you described (sprites with different initial frames) if you want more flexibility, such as positioning different sized objects freeform, not aligned to a grid.

    Using tilemaps is faster than using a grid of sprites to produce the same effect. But other than that, it's probably too soon to ask questions about performance - and if you want a good answer, you can measure the performance yourself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In Construct, you are effectively still working in a browser on mobile (via a webview), and Cordova wraps the Android/iOS specific parts. So you either have to still code it like you would in the browser, or you'd need a Cordova plugin to use it in an app. Again this is something you'd need to talk to them about.

  • You linked to the documentation for Android apps, which you can't use in a browser. But if they provide a JavaScript API, it might be possible with that. I can't say for sure though, since it depends on their service. It would be best to direct questions about their service to them.

  • It's better to use a Text object. Putting text in an image will be comparatively poor quality and lose the ability to make any dynamic changes.

  • For security reasons, browsers block access to cross-origin (i.e. different domain) iframes.

    The only way you can get data from a cross-origin iframe is via the postMessage API - and the iframe page must be specifically coded to receive messages and send back the information you want. If it doesn't already do that and you don't control the iframe page, it's not possible to get any information from it.

  • It's hard to tell from just this. It looks like you might have a browser extension installed that is interfering. Try disabling any browser extensions.

  • I just tried using Construct offline and it worked fine. It's difficult to help without knowing what happened. Maybe you cleared your browser cache or something - that would delete the files used to run offline.

  • It's difficult to help without more information. Try pressing F12 and check the browser console for any additional error messages.

  • I don't think Firefox supports web apps like Chrome does at the moment.

  • Construct 2 will be retired in July. If you want a modern and well supported product with good on-going support for various features and platforms, upgrade to Construct 3.

  • I'm afraid it's difficult to tell from just this information. If you think it's a problem with Construct, please file an issue following all the guidelines - we need all that information to be able to help.