找回密码
 立即注册
thecontactchapter大家 | Unity3D 2022-11-09 87 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
在上一章的学习中大家现已认识如何管理游戏中的接触事情,这一章将向同学们介绍绘制游戏接触轨道的曲线图,在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:)

[下载]14275021867.rar




上一篇:Android研究院之游戏开发触摸的响应方式(十三)文档
下一篇:Android研究院之游戏开发飞行射击游戏(十)文档