在画布上从一个点的图像移动到另一个机器人 [英] moving an image from one point to another in android on canvas

查看:154
本文介绍了在画布上从一个点的图像移动到另一个机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一款游戏,在这个游戏中,我从一处移动对象图像到另一个任意方向不仅垂直/水平。结果
我怎样才能移动该图像。结果
 请帮我的任何一个。

Hi,I am developing one game, In this game, I have to move an object image from one point to another in any direction not only vertical/horizontal.
How can i move that image.
please help me any one.

推荐答案

按照这个简单的教程。
它基本上是一个简单的方法来放置一个对象在画布上。
在第4部分,您可以放置​​一个对象,点击它,移动它。

Follow this simple tutorial. It is basically a simple way to place an object on the canvas. In Part 4 you can place an object, click on it and move it around.

简单移动对象教程 - 第1部分

这篇关于在画布上从一个点的图像移动到另一个机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆