- OUYA Game Development by Example
- Jack Donovan
- 105字
- 2021-08-13 17:52:14
Touch controls
While you're on the Canabalt HD menu, try making a swipe gesture on the touchpad of the OUYA controller. You will notice that a cursor appears; you can use this cursor to navigate menus. The touchpad can also be used as a secondary jump button while in the game. This functionality is pretty straightforward, but the creative applications of the touchpad are limitless. You could program a sword to slash with a swipe of the touch screen, let a player design custom decals by drawing them with their finger, or use touch input to calculate the direction and velocity of a cannon shot.
推薦閱讀
- 觸摸屏實用技術與工程應用
- Raspberry Pi 3 Cookbook for Python Programmers
- Windows phone 7.5 application development with F#
- 顯卡維修知識精解
- 電腦軟硬件維修大全(實例精華版)
- 電腦維護365問
- Learning Stencyl 3.x Game Development Beginner's Guide
- Learning Game Physics with Bullet Physics and OpenGL
- 計算機組裝與維修技術
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- Machine Learning Solutions
- Source SDK Game Development Essentials
- 無蘋果不生活:OS X Mountain Lion 隨身寶典
- 筆記本電腦芯片級維修從入門到精通(圖解版)
- Arduino項目開發:智能生活