Your SlideShare is downloading. ×
Cocos2d実践編 1.0.0rc
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Cocos2d実践編 1.0.0rc

4,596
views

Published on

Published in: Technology

0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,596
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
33
Comments
0
Likes
9
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. cocos2d cocos2d 1.0.0 rcxionchannel software
    • 2. twitter: @ajinotatakiemail: xionchannel@gmail.comSolid Dots, ElectroMaster
    • 3. CCSprite CCNode OpenGL draw -(void) reorderChild:(CCNode*) child z:(int)z
    • 4. CCSprite vertexZ OpenGL vertexZ Z Z [[CCDirector sharedDirector] setProjection:kCCDirectorProjection2D]; Z EAGLView *glView = [EAGLView viewWithFrame( depthFormat:GL_DEPTH_COMPONENT16_OES];
    • 5. -(void)draw { glEnable(GL_ALPHA_TEST); glAlphaFunc(GL_GREATER, 0.0f); [super draw]; glDisable(GL_ALPHA_TEST);}CCSpriteBatchNodeCCSprite draw
    • 6. CCLayerCGSize size = [[CCDirector sharedDirector] winSize];CGPoint scrollPosition = ccp((int)(size.width/2 -player.position.x), (int)(size.height/2 -player.position.y));
    • 7. CCSprite reorderChildCCTMXLayer vertexZ Tiled
    • 8. Tiled Z cc_vertexz Z automatic Y 1 Z
    • 9. CCActionCCAction CCNode →
    • 10. CCAction CCMoveTo, CCMoveBy CCRotateTo, CCRotateBy CCFadeIn, CCFadeOut, CCFadeTo http://www.itassist.info/modules/blog/archives/489
    • 11. CCAction CCRepeatForever CCAction CCSequence CCAction CCSpawn CCAction CCDelayTime
    • 12. CCAction CCCallFunc, CCCallFuncN, CCCallFuncND, CCCallFuncO
    • 13. CCCallFuncCCCallFuncN senderCCCallFuncND sender (void*)CCCallFuncO sender (id)
    • 14. ( + )→ →( 100pts + )→( + )
    • 15. cocos2d