https://github.com/yangboz/petulant-octo-dubstep
Best practice on learning Cocos2d-x with CocoStudio.
https://github.com/yangboz/petulant-octo-dubstep
c c-plus-plus cocos2d cocostudio imagemagick learning-cocos2d linux
Last synced: 14 days ago
JSON representation
Best practice on learning Cocos2d-x with CocoStudio.
- Host: GitHub
- URL: https://github.com/yangboz/petulant-octo-dubstep
- Owner: yangboz
- License: mit
- Created: 2014-04-28T05:12:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-29T08:46:19.000Z (about 11 years ago)
- Last Synced: 2025-06-11T06:04:23.749Z (4 months ago)
- Topics: c, c-plus-plus, cocos2d, cocostudio, imagemagick, learning-cocos2d, linux
- Language: C++
- Size: 631 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
petulant-octo-dubstep
=====================##Cocos2d-X
Best practice on learning Cocos2d-x with CocoStudio.
How to start a new project
-----------------------1. Download the code from [cocos2d download site][4]
2. Run `setup.py`
3. Run the `cocos` scriptExample:
$ cd cocos2d-x
$ ./setup.py
$ source FILE_TO_SAVE_SYSTEM_VARIABLE
$ cocos new MyCocos2dxGame -p com.godpaper.game.cocos2dx -l cpp -d C:/Users/yangboz/git/petulant-octo-dubstep
$ cd C:/Users/yangboz/git/petulant-octo-dubstep/MyCocos2dxGame### Build and run new project for android ###
$ cocos run -p android -j 4
### Build and run new project for iOS ###
$ cocos run -p ios
### Build and run new project for OSX ###$ cocos run -p mac
### Build and run new project for linux ###
if you never run cocos2d-x on linux, you need to install all dependences by the
script in **cocos2d/build/install-deps-linux.sh**$ cd cocos2d-x/build
$ ./install-deps-linux.shThen
$ cd NEW_PROJECTS_DIR/MyGame
$ cocos run -p linux
Run$ bin/MyGame
### Build and run new project for win32 ###
$ cocos run -p win32
### VS2013 configurations ###http://blog.csdn.net/fansongy/article/details/18366275
http://blog.csdn.net/marpools/article/details/18895129
### Backlog
1.Cocos2d-X UIComponents lack of mouse_over effect,less of customize skin support;
2.Cocos2d-X/OpenCV using wstring,UTF8 character based file path will crash;
3.Cocos2d-X loss of native desktop file drag and drop funnction support;
...
## MXML
1.SDK:4.13.0 with TileList border width issue fix;
2.AIR with desktop support extending to ImageMagick(convert.exe);
## ImageMagick
http://www.imagemagick.org/
### CMD example ###
convert C:\image.jpg -resize 333x500 -rotate 0 +repage 333x333+0+30 -crop 333x333+0+0 -background white -flatten C:\image_output.jpg