Project

ccb

0.0
No commit activity in last 3 years
No release in over 3 years
Cocos2d-JS project builder tools
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 1.8
~> 4.2
~> 3.2

Runtime

~> 0.7
~> 0.19
 Project Readme

Cocos2d-JS project builder tools.

Installation

$ gem install ccb 

Help

$ ccb 
Commands:
  cbb project [NAME]  # generate a Cocos2d-JS app project
  cbb help [COMMAND]  # Describe available commands or one specific command
  cbb scene [NAME]    # generate an scene

Options:
  -w, [--width=N]   # width
                    # Default: 320
  -h, [--height=N]  # height
                    # Default: 480
  -l, [--layout]    # layout
                    # Default: true

Generate a Cocos2d-JS blank project

$ ccb project hello   # default width=320 height=480 orientation=landscape
$ ccb project hello -w 320 -h 568 --no-landscape # width=320 height=568 orientation=portrait  

Screen Shot

Run Default generated Cocos2d-JS project

$ cocos run -p web 

Screen Shot Screen Shot Screen Shot

Generate a scene file

$ ccb scene page1

Screen Shot