2. What is CocosSharp? 2
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.
8. CCApplication
Creates and initializes the graphics device
Sets the application delegate
Starts the game
var app = new CCApplication ();
app.ApplicationDelegate = new GoneBananasApplicationDelegate ();
app.StartGame ();
8
10. CCAction
Actions perform tasks on nodes
For example, animating sprites
Run multiple actions sequentially using CCSequence
Run multiple actions in parallel using CCSpawn
10