8. WHAT IS COCOSSHARP?
XHacknight-Feb 07 8
CocosSharp is a cross-platform
library for building 2D
games.CocosSharp is an open source
library and is built on top of the
MonoGame engine and the fine
work from the Cocos2D, Cocos2D-x
and Cocos2D-XNA communities.
14. CCAPPLICATION
• Creates and initializes the graphics device
• Sets the application delegate
• Starts the game
var app = new CCApplication ();
app.ApplicationDelegate = new GoneBananasApplicationDelegate ();
app.StartGame ();
XHacknight-Feb 07 14
16. CCACTION
• Actions perform tasks on nodes
• For example, animating sprites
• Run multiple actions sequentially using CCSequence
• Run multiple actions in parallel using CCSpawn
XHacknight-Feb 07 16