Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rogerscg/era-engine
A simple Three.js wrapper to aid the creation of games or other visuals. Used by Slapshot and ERA: Earth Revival Act
https://github.com/rogerscg/era-engine
engine games threejs visuals wrapper
Last synced: 3 months ago
JSON representation
A simple Three.js wrapper to aid the creation of games or other visuals. Used by Slapshot and ERA: Earth Revival Act
- Host: GitHub
- URL: https://github.com/rogerscg/era-engine
- Owner: rogerscg
- License: mit
- Created: 2019-11-26T03:53:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T11:53:44.000Z (about 2 years ago)
- Last Synced: 2024-11-09T19:45:09.618Z (3 months ago)
- Topics: engine, games, threejs, visuals, wrapper
- Language: JavaScript
- Homepage: https://rogerscg.github.io/era-engine/
- Size: 69.2 MB
- Stars: 69
- Watchers: 6
- Forks: 4
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ERA Engine
A simple wrapper around Three.js and peripherals such as physics engines, TWEEN,
etc. to aid the creation of games or other visuals. Used by [Slapshot](https://store.steampowered.com/app/707680/Slapshot/) and [Earth Revival Act (ERA)](https://earthrevivalact.herokuapp.com/).[**Documentation**](https://github.com/rogerscg/era-engine/wiki)
[**Examples**](https://rogerscg.github.io/era-engine/)
## Contributing
The ERA engine is missing many features, as it was built for two specific games.
In order to be useful for the general case, others will need to request or
implement features on their own.[**GitHub Project with future features/issues**](https://github.com/users/rogerscg/projects/2?fullscreen=true)
## Developing
To build, run `npm run build`. The ERA engine uses Rollup and Babel, building to
`build/era.js`. Examples must be rebuilt with `npm run-script build-examples`.
To run both before submitting a PR, run `npm run-script build-all`. To build a
specific example, run `npm run-script build-examples -- --example=`.To bring up a demo, install `http-server` by running `npm install -g http-server`.
You can then run `npm start` or `http-server` and navigate to `localhost:5000`.