Ashley's Forum Posts

  • Ah yes, no duplicate filenames does make this a bit tricky. The good news is we're planning to lift that restriction soon when the 'Flat' folder structure mode is removed. Until then I think you might have to do something a bit more hacky - perhaps you could export to Android Studio/Xcode, then add the extra files to the app. The idea is to add the extra files outside of Construct, but in a way that still bundles them with the app.

  • We've already got the File System object and it should now work in Chrome on Android to save files to the local device. However to get it working in Android apps Cordova needs to add support for it, which this issue I previously mentioned is about.

  • It looks like you navigated the main window rather than an iframe.

    By far the easiest way to help is if you share a project. Otherwise I can only rely on telepathy, which isn't very reliable.

  • I think you'd need to do an ordinary web export of the other projects, and import all their files to different subfolders in the general 'Files' folder in the Project Bar of the main viewer project. Then you should be able to do something like navigate an iframe to "subfolder/index.html" and it should load the project exported in that folder. I haven't tried this though.

  • I'd guess the easiest way to do this would be to show other exported projects in an iframe.

  • I'd suggest taking the Learn JavaScript in Construct tutorial series if you're new to coding. It covers this in part 11, explaining how in the runOnStartup callback the project is still loading and no objects exist yet, so there's not much you can do. You will almost always want to use the "beforeprojectstart" event. Many of Construct's coding examples also do that.

  • Perhaps you tried to import a corrupt image. Construct shouldn't crash even if you do that though. It's hard to say any more without the same information a bug report requires (steps to reproduce, a sample file, etc).

  • IIRC speech recognition actually uses a Google cloud service, so it should support whatever that does. Either way it's not Construct itself that does speech recognition.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I make a new array and rename a few columns and rows everything looks fine for me:

    Without knowing more it's hard to say anything other than generic advice like: try disabling any browser extensions you have installed, as sometimes those can interfere with Construct.

  • The Pin behavior is superseded by hierarchies. So these days you should always start with hierarchies and avoid the Pin behavior.

  • When using an object (ParticleSprite) and "Continuous spray", the angle of the particle is set to the angle of motion. Without an object, the particles are drawn with an angle of 0.

    Yes, that's by design. The built-in particles do not support rotation. That's one of the things you might want to use objects for.

    When using the sprite as an object and "One-shot", if the initial size is randomized and the grow rate is negative, the particles will flip to a negative size and continue to grow. This does not seem to happen if not using an object or for "Continuous spray".

    The destroy mode is 'Fade to invisible'. When using an object they can shrink to a negative size, but the built-in particles are destroyed when reaching a zero size. That's also by design (built-in particles cannot be shown mirrored or flipped).

    None of the above is visible during the editor preview.

    I think that might be a bug, so best to file an issue for that. The editor preview should match the runtime.

    "Angle randomiser" claims to apply a deflection over time, but it adds a random angle every tick.

    Is that not the same thing?

  • You can already do this with the object spawning mode, and adding every spawned object as a child of the emitter. Here's an example.

  • I think it's a difference in the way the browser reports the playback time depending on the way it is played. Sounds are played with the Web Audio API and music is played with the HTML <audio> element. If these report different playback times for looping audio then so will Construct. I guess you might have to just work around it, either by wrapping the playback time according to the duration, or tracking time since playback yourself.

  • There is no method because it ought to happen automatically. If it doesn't, please file an issue.

  • For security reasons, most modern operating systems only allow read-only access to the application folder, when installed to typical locations like "Program Files" on Windows. If you want to write data, either write it to a location the user chooses with a picker dialog, or use the app data folder (i.e. picker tag "<current-app-data>").