I decided that it would be best in the long run if I tried out Cocos2d-X V3 and try and get PooperPig into C++
So, downloading Cocos2d-X wasn’t hard – just head to the cocos2d download page; , download the zip, unzip it, and put it somewhere ‘sensible’ -
Now I wanted to create my first project – and there’s a dead easy way…
Open up Terminal (this is for the Mac – for other platforms, you need some sort of command line & your milage may vary)
Change to the tools/project-creator directory …
(change the path to wherever you created the cocos folder, obviously!)
… and enter the command
.. and up pops a window.
(If your platform doesn’t pop up a window you may need to use command line parameters to achieve the same thing – the documentation on the cocos2d-x site is wrong at the time of writing – but entering
Will show you the correct options
-h, –help show this help message and exit
-n PROJECT_NAME, –name=PROJECT_NAME
Set a project name
-k PACKAGE_NAME, –package=PACKAGE_NAME
Set a package name for project
-l PROGRAMMING_NAME, –language=PROGRAMMING_NAME
Major programming language you want to use, should be
-p PROJECT_PATH, –path=PROJECT_PATH
Set generate project path for project
The options in the pop up screen are pretty obvious – just enter whatever you like – note that a folder with the name of your project will be created in the Project Path, so you don’t need to create that folder yourself.
After a bit of whirling, a few seconds later your project is created.
The screen shot shows the folders created – with the proj.ios_mac expanded. Opening the xcodeproj file brings up XCode (or AppCode if you use it) and you’re away!
I haven’t looked at the windows, linux or android projects yet – first I need to play around with it and get my C++11 skillz dusted off!
Software Developer (Senior)
Software developer par excellence,sometime artist, teacher, musician, husband, father and half-life 2 player (in no particular order either of preference or ability)
Started programming aged about 16 on a Commodore Pet.
Self-taught 6500 assembler - wrote Missile Command on the Pet (impressive, if I say so myself, on a text-only screen!)
Progressed to BBC Micro - wrote a number of prize-winning programs - including the best graphics application in one line of basic (it drew 6 multicoloured spheres viewed in perspective)
Trained with the MET Police as a COBOL programmer
Wrote platform game PooperPig which was top of the Ceefax Charts for a while in the UK
Did a number of software dev roles in COBOL
Progressed to Atari ST - learned 68000 assembler & write masked sprite engine.
Worked at Atari ST User magazine as Technical Editor - and was editor of Atari ST World for a while.
Moved on to IBM Mid range for work - working as team leader then project manager
Emigrated to Aus.
Learned RPG programming on the job (by having frequent coffee breaks with the wife!!)
Moved around a few RPG sites
Wrote for PC User magazine - was Shareware Magazine editor for a while.
Organised the first large-scale usage of the Internet in Australia through PC User magazine.
Moved from RPG to Delphi 1
Developed large applications in Delphi before moving on to VB .Net and C#
Became I.T. Manager - realised how boring paper pushing can be
And now I pretty much do .Net development in the daytime, while redeveloping PooperPig for the mobile market at night.