Skip to content

TomasDePomas/fliebertJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FliebertJS

What do you do when you want to make a simulation sandbox to play around with evolving creatures and be all god-like and stuff, because you just have those kinds of hobbies? That's right, you start building your own Unity/Processing framework tingemejingy in JavaScript.

This library runs a node server that simulates elements in your world and stores the data in a firebase database. It also includes a frontend renderer which can then display the results. For now it is quite restricted. This project is still very much under construction.

Todo:

  1. Think of a better name
  2. Write a better Readme
    1. Oke, slight improvement
    2. Do more improvement

Getting it running

  1. Run npm install in the project folder
  2. Run bower install in the project folder
  3. Add a serviceAccountCredentials.json to the root of the project folder. Read the official documentation on how to do that,
  4. Add your firebase credentials to a /resources/config.js, have a look at /resources/config.js.example to see how to set it up.
  5. Run gulp
  6. Open the resources folder in your terminal and run node app.js
  7. Open the app/index.html in your browser.
  8. Be confused, because this readme does not tell you at all what you just installed..

Optional

  1. create a vhost called fliebert.js and point it to the app/index.html
  2. instead of gulp run gulp watch. This wil automatically update the script when you make changes. You know, in case you want to mess around with stuff.

FAQ

When I run the script I get simulation.js:533 Uncaught ReferenceError: module is not defined This is by design, not because I don't want to figure out modules for frontend javascript. No worries, nothing is broken.

About

FliebertJS, my endless little pet project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published