This is a port of a Construct 2 game called Space Blaster.
As it stands, you should be able to run any Construct 2 game on a phone by simply:
-
- exporting your Construct 2 game as an HTML5 app
-
- cloning this github repo
-
- replacing
src/c2runtime.js
with thec2runtime.js
generated by Construct 2 for your game
- replacing
-
- replacing everything in
resources/images/
with the image assets from your game
- replacing everything in
-
- replacing everything in
resources/media/
with the audio assets from your game
- update the
AudioManager
inApplication.js
accordingly
- replacing everything in
-
- running
fixAudio.py
and/orfixImages.py
if necessary
- if you have to run
fixImages.py
, replace the target prefix array on line 12 with whatever prefixes correspond to images with a black background that should actually be transparent
- running
I know that's six whole steps. I want to simplify this process and probably turn this into some sort of plugin. I'll keep you guys posted.