Benutzer:Oneup/Cocos2d
aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
in GameScene.m init*(
// howto simple non-animated sprites //Sprite *sprite = [Sprite spriteWithFile:@"walk_empty.png"]; //sprite.position = ccp( 0, 50);
cocos2d uses a scenegraph similar to flash:
- UI Application
- SceneManager
- GameScene
- StaticItem (once added it stays in the scene forever)
- DynamicItem (update position every frame)
- MenuScene
- Menuitem
- GameScene
- SceneManager