Coder Social home page Coder Social logo

shovelleros's Introduction

#The Shovellers Game

The Idea

Getting started

The game is basend on the Cocos2d-x game engine, more specifically the JavaScript version of it, which is called cocos2d-js.

The devbox images

We started out with Vagrant images, but these are quite cumbersome, and mostly vagrant specific(though it's possible to reuse bits from the provisioning shell script.). We would like to use Docker as a build machine, and that means porting the porvisioning script to Docker, which has a quite bad syntax. Probably the best solution is to use Packer from Hashicorp, which is a tool for specifying the requirements for a machine, and it would spit out Vagrant, Docker, VMWare, you name it, VMs. It looks like the right tool for the job.

Building Packer Docker Images

This seems to be the answer:

Getting started with cocos2d-html5 and a working html5 dev environment seems to be a bowerinstall away.

vagrant up

The script by itself will install all the prerequisites for the cocos2d-x and cocos2d-js, including the android sdk/ndk. Note: not done yet.

Installing the cocos2d-x/js on Linux

http://www.cocos2d-x.org/wiki/Linux_Installation_and_Setup

Adding GLEW cmake to make the build work

http://jasonjuang.blogspot.com/2013/10/adding-findglewcmake-to-cmake-in-ubuntu.html

shovelleros's People

Contributors

6d65 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

shovelleros's Issues

Create gulp task for deployment on a server

The app running on localhost can be accessed from the wifi lan using a mobile device, for debugging purposes. But it would be also cool to have a deployment script to push it somewhere like appengine or heroku. There was such an script in powershell already, but since we are using gulp as the build system now, we probably want to have task for that too.

Though, it's not that critical.

Vagrant box doesn't work

After adding the box and doing vagrant init cocosdev I run vagrant up and then get this message back multiple times until it times out: default: Warning: Authentication failure. Retrying...

Proper build script and/or system

Either create a shell script to support Linux and Mac OS X (and other *nix friendly environments) or choose a proper build system. There should be something to build JavaScript projects with dependencies, targets, etc.

Create a Docker image for Cocos2djs development

Use the existing bash files used to provision Vagrant,
and make a Docker image for Cocos2djs. It shouldn't take much.

Later use that image to create a Docker image specific for Shovellers.

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.