en

hi, it seems you are using microsoft internet explorer. it doesn't match web standard and causes problems browsing this site. please please please use mozilla firefox or google chrome instead. thank you!

zh

哦哦!您正在使用Internet Explorer 瀏覽器,它與我們的網頁標準並不相容,可能會導致畫面顯示不正常。
請改用 Mozilla Firefox 或者 Google Chrome 才能正常瀏覽本網站,謝謝!

10.17.2013

使用 UIKit Dynamics 實作遊戲中的撞擊效果

 

在之前的關於 UIKit Dynamics 的二三事一文中,我們已經介紹過 iOS 7 SDK 中的新成員 UIKit Dynamics,下面示範我們就透過 UIKit Dynamics 來實作遊戲中常見的物理這裡撞擊效果,這只是一個簡單的示範,如果你正打算使用 UIKit Dynamics 來寫遊戲的話這邊並不建議,反而,在遊戲方面你可以透過 iOS 7 SDK 中的另一個新成員 Sprite Kit Framework  或是 cocos2d API 來達成。

10.11.2013

關於 UIKit Dynamics 的二三事

  

UIKit Dynamics 是在 iOS 7 SDK 中才有的新東西,透過 UIKit Dynamics 我們能更容易的賦予 UIView 一些物理效果,像是受到重力掉落、UIView 彼此之間的反彈碰撞等等,如果你以前玩過 cocos2D 的 API,那你對這些物理效果一定不會感到陌生,下面我們將對 UIKit Dynamics 做些點單的說明,你可以在官方網站的 UIKit Dynamics Catalog 找到更多的範例說明。