Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

7 years ago by inkajoo

Is it possible / how hard would it be to make a game in Impact.js as a Chrome Packaged App?

7 years ago by stahlmanDesign

Probably easy if you use nwjs.io or electron to package it. It takes a webview and runs your game as an app, so you can package for iOS, Android and probably a Chrome app.

7 years ago by inkajoo

Cool! Thanks!

Come to think of it, I guess it doesn't necessarily have to be a Chrome App,

My real goal is to be able to create desktop apps and games for Windows, Mac, Linux, and Raspberry Pi using web technologies. Would either or both of those technologies you linked me to fit the bill?

7 years ago by Joncom

If you want to package a game for Windows or Mac (to put on Steam or something), you can package your HTML5 game as a standalone executable using nwjs, linked above.

Edit: Apparently it supports Linux too.

7 years ago by stahlmanDesign

My real goal is to be able to create desktop apps and games for Windows, Mac, Linux, and Raspberry Pi using web technologies. Would either or both of those technologies you linked me to fit the bill?


Yes, both nwjs.io and electron can be used with those technologies, including Raspberry Pi. Nwjs used to be called Node-Webkit, and electron is newer. Apparently nwjs has some tutorials out there to package for the Mac App Store.

7 years ago by inkajoo

Here's a followup:

I managed to figure out how to use Visual Studio Code together with Electron and I've created and run a Hello World! program from within VSC. Haven't integrated Impact or exported an executable yet.

I'm hoping to be able to use TypeScript instead of plain JavaScript seamlessly with Impact. I just created a thread about it, here

6 years ago by rizenine

Old post I know, but this video tells exactly what you are looking for. I just did this with my impact app and it works fine.

https://www.youtube.com/watch?v=ojX5yz35v4M
Page 1 of 1
« first « previous next › last »