Android研究院之游戏开发触摸轨迹曲线(十四)文档
在上一章的学习中大家现已认识如何管理游戏中的接触事情,这一章将向同学们介绍绘制游戏接触轨道的曲线图,在onTouchEvent方法中大家可以拿到手指在屏幕中接触点XY不时的坐标,这章大家研究的课题就是如何把这些点变成一种无规则轨道而且将这条无规则曲线显示在屏幕中。本资料共包括以下附件:(In the previous chapter, we have learned how to manage the contact events in the game. This chapter will introduce to students how to draw the curve of the game contact track. In the onTouchEvent method, you can get the coordinates of the contact points XY in the screen from time to time. In this chapter, we study how to turn these points into an irregular track and display the irregular curve on the screen. This document includes the following annexes:)
页:
[1]