Introduce coco2dx with cookingstar

  • 25,470 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
25,470
On Slideshare
0
From Embeds
0
Number of Embeds
28

Actions

Shares
Downloads
25
Comments
0
Likes
11

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

Transcript

  • 1. 쿠킹스타 제작 사례로 보는 COCOS 2D-X 소개 Maiet Ent. 오지현 illusted by Rachel.Kim
  • 2. 선임연구원 오지현 @ozlael ozlael.egloos.com KGC11, PC에서 3D 입체 영상 게임 개발하기 KGC12, 디퍼드 랜더링 케이스 스터디 레이더즈 & 건즈2 엔진 RealSpace3 쿠킹스타
  • 3. too many development platform (2D)
  • 4. productivity ADOBE FLASH
  • 5. productivity AS3 performance simulate garbage collector ADOBE AIR
  • 6. Corona SDK
  • 7. http://youtu.be/RUHKMm6mnpc
  • 8. building a sandcastle with a fork crane Unity 3D
  • 9. ?!
  • 10. open source library VS / C++ performance
  • 11. development environments
  • 12. ? OBJ-C JAVA
  • 13. JNI 이미지 출처 :http://blog.naver.com/PostView.nhn?blogId=areema&logNo=60136269441
  • 14. Eclipse, Visual Studio, X code
  • 15. .bat script cygwin bash --login "cyg_build.sh" export NDK_ROOT=/cygdrive/.../android-ndk build NDK build_native.sh ANT build ant -Dsdk.dir=%ANDROID_HOME% debug 참고 :http://www.frozax.com/blog/2012/10/building-android-cocos2d-x-ndk-jdk-step/
  • 16. vcxproj modpbxproj xcodeproj 참고 :https://github.com/kronenthaler/mod-pbxproj
  • 17. Node & Texture
  • 18. Intro Scene Menu Scene Game Scene background layer sprite character layer node
  • 19. Auto Release Pool & Reference Counter
  • 20. CCSpriteBatchNode 이미지 출처 : http://www.appilogue.kr/2844398
  • 21. TexturePacker
  • 22. <plist version="1.0"> <dict> <key>frames</key> <dict> <key>apple_2_run_1.png</key> <dict> <key>frame</key> <string>{{400,540},{105,118}}</string> <key>offset</key> <string>{0,0}</string> <key>rotated</key> <false/> <key>sourceColorRect</key> <string>{{0,0},{105,118}}</string> <key>sourceSize</key> <string>{105,118}</string> </dict> ...
  • 23. RGBA 8888 RGBA 4444 RGBA 4444, dithering 이미지 출처 : http://www.codeandweb.com/texturepacker/features
  • 24. http://youtu.be/crrFUYabm6E
  • 25. VS
  • 26. 64 color 참고 : http://www.gamedevforever.com/286
  • 27. Game Scene Menu Scene CCTextureCache:: removeUnusedTextures()
  • 28. Animation
  • 29. Sprite Animation <key>animations</key> <dict> <key>dance_1</key> <dict> <key>delay</key> <real>0.2</real> <key>frames</key> <array> <string>grossini_dance_01.png</string> <string>grossini_dance_02.png</string> <string>grossini_dance_03.png</string> <string>grossini_dance_04.png</string> <string>grossini_dance_05.png</string> <string>grossini_dance_06.png</string> <string>grossini_dance_07.png</string> ... 데이터 : https://github.com/cocos2d/cocos2d-x/tree/develop/samples
  • 30. Sprite Animation Ver.2 <key>properties</key> <dict> <key>spritesheets</key> <array> <string>sheet.plist</string> </array> <key>format</key> <integer>2</integer> </dict>
  • 31. <key>delayPerUnit</key> <real>0.1</real> <key>frames</key> <array> <dict> <key>spriteframe</key> <string>run_1.png</string> <key>delayUnits</key> <integer>1</integer> </dict> <dict> <key>spriteframe</key> <string>run_2.png</string> <key>delayUnits</key> <integer>2</integer> </dict>
  • 32. Cocos Builder Animation
  • 33. Skeletal Animation
  • 34. http://youtu.be/avMYAKvSqYM
  • 35. 참고 : http://www.cocos2d-x.org/wiki/CocoStudio
  • 36. Map
  • 37. ETC
  • 38. plugin-X 참고 : http://www.cocos2d-x.org/wiki/Plugin-X_Overview
  • 39. www.facebook.com/groups/cocos2d.korea/ www.cocos2d-x.org/ cocos2d-x.kr/
  • 40. Thank you ~ illusted by 중원