AJAX is the way to go. If it doesn't work, open browser console (F11) and check for error messages. The most common problem is with blocked cross-origin requests, if this is what you have, try searching the forum, there are plenty of solutions.
I have a template (paid) for random level generation from pre-built rooms/scenes, however it's for Construct 3. There is no infinite level in the template, but it is also possible.
You can watch this video, it's for platformer game, but the general idea is the same. For top-down game the most tricky part is to align entry and exit points for adjoining rooms.
You do not have permission to view this post
You can't use "Repeat every x" inside functions and triggered events. Use Timer behavior.
Develop games in your browser. Powerful, performant & highly capable.
Or use Timer behavior.
Looks like these random positions are 48px apart? You can use AdvancedRandom and do this:
Another easy option is to put 20 invisible placeholder sprites. Then pick 4 placeholders at random and spawn spikes on them, just make sure that each placeholder can only be picked once.
There are plenty of tutorials on how to use Local Storage. Here is one example.
WebStorage has been deprecated for many years! You should not use it, and I'm pretty sure it doesn't work in C3 runtime anyway.
I thought maybe it can't access the script added to the project files? Because Android file system is different. Is if possible to embed Barcode.js into events? Put it into a string variable for example, or load with AJAX?
I don't know your game, not sure what else to tell you. Just try to set Scale Outer and stretch the background (make it about 200px larger or each side of the viewport).
Eren I tested and unfortunately it doesn't work on Android. Simply nothing happens, no errors in logcat.
Member since 26 May, 2016 Last online 18 Oct, 2026