WiEngine 3.3.0     ..........................................................................................................
WiEngine 3.x            WiEngine                                      , WiEngine                                          ...
AndroidWiEngine Android                                                                                  WiEngineDemos_jav...
l    WiEngine-box2d.jar: WiEngine                                  Box2D                Java           ,                 ...
Android                       samples                 ,                    WiEngine_library       ,           ,           ...
AndroidWiEngine                                                                    ,      ,                            :1....
WiEngine                                                                                  WiEngine 3.x                   C...
WiEngine                                          ,                         wyTexture2D                          , WiEngin...
Upcoming SlideShare
Loading in...5
×

Wi engine 3

1,206

Published on

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

  • Be the first to like this

No Downloads
Views
Total Views
1,206
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Wi engine 3

  1. 1. WiEngine 3.3.0 ................................................................................................................................................... 2   ........................................................................................................................................... 2   ........................................................................................................................................... 2   ........................................................................................................................................... 2   ........................................................................................................................................... 3   Android ............................................................................................................................. 3   iOS .................................................................................................................................... 3   ........................................................................................................................................... 3   Android ............................................................................................................................. 3   iOS .................................................................................................................................... 4   ................................................................................................................................... 5   Android ............................................................................................................................. 5   iOS .................................................................................................................................... 5   ( Android) .............................................................................................................. 5   ....................................................................................................................................... 6   Android ............................................................................................................................. 6   iOS .................................................................................................................................... 6   ........................................................................................................................................... 7   ........................................................................................................................................... 8  Copyright © 2010 WiYun Inc. 1
  2. 2. WiEngine 3.x WiEngine , WiEngine . 3.0.0 , WiEngine iOS , . WiEngine 3.x SDK , . WiEngine, SDK : “WiEngine ”, .WiEngine 2D , , . WiEngine , : . sdk LICENSE.WiEngine SDK logo WiEngine .WiEngine Android 1.6 , iOS 3.2 . OpenGL ES . 3.x C++ Android Java WiEngine JavaAPI 3.x C++ Java Java Action native Java 3.x , Java iOS . WiEngine 3.x Native Android , Java WiEngine wyNode INodeVirtualMethods Java setJavaVirtualMethods native Java Java WiEngineDemos_java/Other/TextureAtlasTest WiEngineDemos_java/Other/DrawingPrimitivesTestCopyright © 2010 WiYun Inc. 2
  3. 3. AndroidWiEngine Android WiEngineDemos_javaWiEngineDemos_native, WiEngineWiEngine Android , WiEngineLiveWallpaperWiEngineWiEngine Android samples WiEngine_library WiEngine Android Library demo samples WiEngine_library WiEngine .iOSiOS demo native , SDK/samples WiEngineDemos , Xcode4 . , WiEngineDemos_native , C++ .SDK/templates Xcode4 , WiEngine . Xcode3 , Apple , Xcode4,Xcode3 .AndroidSDK samples/WiEngine_library WiEngine , jniC++ ( Java , ). libs WiEngine ,l WiEngine.jar: WiEngine Java Java jarl WiEngine-binding.jar: WiEngine Java WiEngine Java C++l WiEngine-lua.jar: WiEngine Lua Java Wrapper C++l WiEngine-chipmunk.jar: WiEngine chipmunk Java C++Copyright © 2010 WiYun Inc. 3
  4. 4. l WiEngine-box2d.jar: WiEngine Box2D Java , C++ ,l armeabi/libwiengine.so: WiEnginel armeabi/liblua.so: Lua native . WiEngine lua tolua++, WiEngine API lua . lua, .l armeabi/libchipmunk.so Chipmunk Chipmunkl armeabi/libbox2d.so Box2D Box2D,l armeabi/libwisound.so: WiEngine WiSound. WiSound WiSound,l armeabi/libaal.so: Androidl armeabi/libaal_donut.so Android 1.6 1.6,l armeabi/libaal_honeycomb.so: Android 3.x , 3.0 ,l armeabi/libxml2.so: XML WiEngine XMLl armeabi/libcurl.so: WiEngine libcurl , , so armv7aSDK tools WiEngine , SDK , SDK , , README.txt .iOS , WiEngine , libs , libs WiEngine • libwiengine.a: , • libbox2d.a: box2d , box2d, • libchipmunk.a: chipmunk , chipmunk, • libwisound.a: , WiEngine , • libcurl.a: WiEngine 3.1 libcurl , , • liblua.a: WiEngine lua , WiEngine API lua . lua,SDK tools WiEngine , SDK , SDK , , README.txt .Copyright © 2010 WiYun Inc. 4
  5. 5. Android samples , WiEngine_library , , . WiEngineDemos_java, .WiEngineDemos_native, cygwin ,WiEngine_library/libs/armeabi so [NDK ]/platforms/android-9/arch-arm/usr/lib .( android-9, demo target 9).iOS , Xcode4 WiEngineDemos , ( Android) Android Java WiEngine WiEngine WiEngineproguard WiEngine-keep class com.wiyun.engine.**-keep interface com.wiyun.engine.**-keepclasseswithmembers class com.wiyun.engine.** { <methods>; <fields>; }-keepclasseswithmembers class com.wiyun.engine.** { static <methods>; }-keepclasseswithmembers class com.wiyun.engine.** { static <fields>; }-keepclasseswithmembers interface com.wiyun.engine.** { <methods>; }-keepclasseswithmembers interface com.wiyun.engine.** { static <fields>; } TargetSelector ADT proguard apk ,Copyright © 2010 WiYun Inc. 5
  6. 6. AndroidWiEngine , , :1. : res/drawable, res/drawable-mdpi( ldpi, hdpi) , , WiEngine density . : a.png 100x100, res/drawable-mdpi , hdpi , a.png WiEngine , 150x150.2. Assets : Android apk assets , density , WiEngine , 2.x Director setDefaultInDensity() 0.75 ldpi, 1.0 mdpi, 1.5 hdpi, 1.0 hdpi WiEngine 1.5 3.0 hdpi WiEngine 13. : WiEngine , Android ( SD ). Assets , density , setDefaultInDensity WiEngine .4. : ( WiEngineDemos_native/Other/Memory File System), density , setDefaultInDensity. PVR .WiEngine , TGA TMX sd .iOSiOS Android res, assets, sd , App ,WiEngine , ,SDK ”WiEngine ” . iOS Retina , Android density ,WiEngine .SDK ”WiEngine ” .Copyright © 2010 WiYun Inc. 6
  7. 7. WiEngine WiEngine 3.x C++ Java , Java native , . Native (Android iOS)l new 1 release autoReleasel new autoRelease retain getInstance(), wyAction copy reversel retain release autoReleasel release 1 autoRelease() autoRelease autoReleasel lazyRelease() Java nativel C wyObjectRetain, wyObjectRelease, wyObjectAutoRelease Android Java :l Java , autoRelease . autoRelease BaseWYObject .l autoRelease, , , .l autoRelease , , BaseWYObject autoRelease, , WiEngine , . , Node autoRelease , , autoRelease. Node.autoReleaseNode , Action , autoRelease. Java retain release , , java , java retain release, , , autoRelease java .Copyright © 2010 WiYun Inc. 7
  8. 8. WiEngine , wyTexture2D , WiEngine , . wyTexture2D , , . wyTextureManager , . , wyTexture2D . , wyTextureManager removeTexture , , . WiEngine , : 1. , . , , . 2. , , 3. , . : wyTexture2D* tex1 = wyTexture2D::makePNG(RES(“R.drawable.test”)); wyTexture2D* tex2 = wyTexture2D::makePNG(RES(“R.drawable.test”)); wyTexture2D , wyTexture2D . , wyTextureManager.removeTexture, , . removeAllTextures . , .Copyright © 2010 WiYun Inc. 8

×