- Mastering Android Game Development
- Raul Portales
- 157字
- 2021-07-16 13:59:10
Summary
We have learned how to deal with input from users in several ways and how to make it transparent for the GameEngine
.
To get a proper visual feedback from the controller, we created a Player
game object that updates its position based on the values from the InputController
. We also learned how to add and remove game objects to and from the GameEngine
while playing.
We created a very basic keypad that later evolved into a virtual joystick. We also learned how to handle external controllers.
At this point, our game has a spaceship that moves along the screen and fires bullets. It can be controlled using a virtual joystick or a gamepad, independently.
The current implementation does lag occasionally and we have barely started drawing objects on the screen. It is time to fix this. Next stop: improve the rendering by drawing directly on the view instead of relying on positioning views on the screen.
- Spring 5.0 By Example
- C++ Builder 6.0下OpenGL編程技術
- Learning Linux Binary Analysis
- Java虛擬機字節碼:從入門到實戰
- SQL基礎教程(視頻教學版)
- 程序員修煉之道:通向務實的最高境界(第2版)
- Rust Essentials(Second Edition)
- INSTANT Passbook App Development for iOS How-to
- 焊接機器人系統操作、編程與維護
- 好好學Java:從零基礎到項目實戰
- Java程序設計教程
- Microsoft Windows Identity Foundation Cookbook
- Learning Node.js for Mobile Application Development
- Instant JRebel
- React Native -Building Mobile Apps with JavaScript