Android游戏中的多线程 [英] Multithreading in android gaming

查看:64
本文介绍了Android游戏中的多线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在android游戏中遇到多线程问题.

我已经制作了一个可以使用某些按钮移动的简单精灵,但是我想再次创建可以自动移动的精灵的问题...

所以我有两个或多个可以一起移动的精灵.

请回答我的问题....因为我是android的新手.

I have a problem with multithreading in android gaming.

I have made a simple sprite that I can move with some button, but the problem I want to create sprite again that can automate move...

So I have two or more sprite that can move together..

Please answer my question.... Because I''m new in android.

推荐答案

尝试此
Java中的多线程服务器
try this
Multithreaded Server in Java
and this one as well.

To communicate with database, see the Java JDBC tutorial.


这篇关于Android游戏中的多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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