Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

miguel250/house

Repository files navigation

Development Instructions

- Download [virtualbox](https://www.virtualbox.org/wiki/Downloads)
- Download [Vagrant](http://downloads.vagrantup.com/)
- Install [berkshelf](http://berkshelf.com/)
- Install [berkshelf vagrant plugin](http://berkshelf.com/#install_the_vagrant_berkshelf_plugin)
- run "vagrant up" in the root directory of project to create environment
- Open http://192.168.33.10/ using chrome or firefox

Deployment Instructions

- Install mongo pecl
- Run "/usr/bin/php bin/composer.phar self-update" and "/usr/bin/php bin/composer.phar install" in the root directory of project.
- Point web server root configuration to "project-path/public"

Deploying to DigitalOcean

- Install https://github.com/smdahlen/vagrant-digitalocean
- Install https://github.com/schisamo/vagrant-omnibus
- Export DigitalOcean client id and api key "export DIGITALOCEAN_ID={client_id}" and "export DIGITALOCEAN_key={api_key}"
- Run vagrant up --provider=digital_ocean

Run unit tests

- run "vagrant ssh" in the root directory of project after creating environment.
- run cd webapp && ./core/vendor/bin/phpunit

Specs

Front End
  • Create World
  • Add 3D House
  • Add 3D movable items
  • Add 3D characters
  • Send item location to backend
  • Send user location to backend
Core API
  • Create user session and storage it in mongo
  • Keep track items locations in Mongo
  • Save user
  • Save user location
  • Unit Tests
Multiple Users
  • Check For new users
  • Check is users is online
TODO
  • Replace long polling with socket.io
  • Do more research on physic engine to stop going through walls
  • Allow different characters
  • Animate other characters moments

Helpful Links

About

Learning to use zf2 and threejs with tquery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published