Floflis / AppPlayer-Electron

Preview Construct 2 apps/games in an Electron prebuilt exe - as if Electron were a normal browser!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YOU MUST OWN A C2 LICENSE TO USE THIS TOOL. IT IS NOT ALLOWED TO EXPORT GAMES TO DESKTOP WITH THE FREE VERSION.

AppPlayer - Electron for Construct 2

Preview Construct 2 apps/games in a Electron prebuilt exe - as if Electron were a normal browser!

Latest : 1.9.3

See also : Steam plugin for Electron (Work In Progress)

DISCORD

Construct 2 preview

Even if you don’t use any Action, Condition or Expressions from the plugin, you HAVE TO add it to your project in order to make it work.

  • Open Construct 2 > File > Preferences > Preview > Custom Browser
  • Set the path to the custom browser to the electron-prebuilt.exe file where you installed it previously
  • Click OK

Export

  • Download the precompiled Electron version of your choice release page.

  • Extract the zip containing the Electron precompiled wherever you want. (Ex: Electron_Folder)

  • Select HTML and export to Electron_Folder/ressources/app/www

  • Run your game by launching Electron_Folder/electron-prebuilt.exe

If you have any issue please ask here

Build It Yourself (the DIY of apps)

To do a DIY of AppPlayer:

  1. Clone this git repo;
  2. Inside it open the sorcery/terminal/command prompt;
  3. Then type the following 2 commands:

1:

npm install

2:

npm run build

Done! ❤️

FAQ

The page can't load, I have a blank page telling me that I am unathorized

Use preview on LAN. Localhost doesn't work.

Credits

Originally made by @Armaldio, became legacy, and then was rescued by @danimesq followed by its original developer, @Armaldio.

About

Preview Construct 2 apps/games in an Electron prebuilt exe - as if Electron were a normal browser!


Languages

Language:JavaScript 100.0%