本文介绍了如何更改一组精灵中的精灵状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我是xna游戏的新手.
我的麻烦是有一组精灵,我想每秒更改其状态,因为10秒钟后,其中一个精灵将在5秒内从灌木丛变为树木,然后变为灌木丛.在接下来的10秒内,以前的精灵会更改.
我只想知道怎么做.
请给我一个提示或教程,以了解如何做.
提前感谢大家.
请帮帮我.
(对于我的英语不好,是sr)

Hi everyone,
I am a newbie in xna game .
My trouble is having a group of sprites and i want to change its state by second, as after 10 seconds one of them will change from a bush to a tree in 5 seconds then change to bush. In next 10 seconds of previous sprite will change.
i merely want know how to make it.
Please give me a hint or a tutorial to know how to do it.
Thx everyone in advance.
Please help me.
(sr for my bad english)

推荐答案


这篇关于如何更改一组精灵中的精灵状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-17 22:15