English 中文(简体)
奥运会和准确的时间安排
原标题:Games and accurate timing

I am new to Actionscript and making a game to learn its ways. The game relies heavily on timing as it will be spawning enemies timed with music. For example spawn 2 enemies at exactly 1:31 minutes, start firing at exactly 1:32 etc.

我所想的方法的一个例子是利用时事。 例如:为了pa开敌人,我有时间(100000,0);时间长(100000,0);时间长将活跃一个 sp的敌人。 这种做法的问题是1,需要太多的时间,2,我听到的时间不够准确。

是否有准确的方式来安排很多胜过游戏的节奏?

最佳回答

flv with lying cuepoints

see this links http://www.kirupa.com/forum/showthread.php?277542-Cue-Points-flv-embedded http://edutechwiki.unige.ch/en/Flash_video_component_tutorial

问题回答

在快车道内使用黄点,或许是最准确和一致的方式,使你的间谍站得以 up。

如果出于某种原因,你可以不这样做,那么你可以要求获得时间,以获得自你申请开始以来已经过去的时间。 无论何时,如果结果比你所期望的时间大,那么敌人就会消失。 我对你表示担忧。 正确的物体不与这种技术混为一谈,没有什么东西可以做。





相关问题
Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Sorting twodimensional Array in AS3

So, i have a two-dimensional Array of ID s and vote count - voteArray[i][0] = ID, voteArray[i][1] = vote count I want the top 3 voted items to be displayed in different colors, so i have a 2nd Array -...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签