OpenSC2K an open source remake of SimCity 2000 written in JavaScript - OpenSC2K an open source remake of SimCity 2000 written in JavaScript Games HTML5 Java Script

OpenSC2K an open source remake of SimCity 2000 written in JavaScript

OpenSC2K an open source remake of SimCity 2000 written in JavaScript using HTML5 Canvas API, SQLite and built on Electron. Currently a lot remains to be implemented but the basic framework is there for importing and viewing cities. Lots of stuff remains completely unimplemented such as the actual simulation, rendering of many special case tiles and buildings, support for zoom levels and anything else that exists outside of importing and viewing.

Read More

Continue Reading...

Electron Serve Static file serving for Electron apps - Electron-Serve Static file serving for Electron apps Java Script

Electron-Serve Static file serving for Electron apps

Electron-Serve Static file serving for Electron apps. Normally you would just use win.loadURL('file://…'), but that doesn’t work when you’re making a single-page web app, which most Electron apps are today, as history.pushState()‘ed URLs don’t exist on disk. It serves files if they exist, and falls back to index.html if not, which means you can use router modules like react-routervue-router, etc.

Read More

Continue Reading...