GithubHelp home page GithubHelp logo

freezy / vpweb Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 4.0 26.45 MB

:joystick: Visual Pinball for the Web

License: GNU General Public License v2.0

JavaScript 78.77% HTML 11.33% CSS 9.90%
pinball pinball-simulation game visualpinball

vpweb's Introduction

Visual Pinball for the Web

VPX-JS is only a library, so there must be something that runs it. This is it. Its current main purpose is to serve as a development tool. It doesn't do much but create a three.js scene and load VPX-JS when a VPX file is dragged onto it.

This is very much work in progress. You have been warned.

Usage

For the ambitious, you'll have to clone both repos. Some time in the future you'll find VPX-JS on NPM.

git clone https://github.com/vpdb/vpx-js.git
cd vpx-js
npm ci
npm run build
cd ..
git clone https://github.com/freezy/vpweb.git
cd vpweb
npm ci
npm start

Quirks

The dragged VPX is locally cached so you wouldn't need to re-drag it every time the page is reloaded. So it parses the VPX file on every page reload. This means that if you want to test a different file, you'll have to clear the application data and refresh the page.

Sometimes it might not work because VPX-JS changed the API on a new branch and that branch isn't merged yet. In this case look for the freshest branch on VPX-JS and use that one.

License

GPL-2.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.