开发者

Guitar Hero Type Metronome

I'm trying to create a guitar hero type game and I'm working on a horizontal metronome where a dot crosses a certain vertical line 开发者_如何学Pythonmeans to play a note.

The metronome starts when the note is 5 seconds from being played then moves across and finally hits the vertical line. Are there any algorithms for making the dot move at the correct speed so it hits the line in exactly 5 seconds.

Also the image movement is very choppy. Is there any way to smooth the movement of the image across the view?

I would appreciate any feedback, thanks.


High-school physics - velocity = distance / time

Also, you probably don't really want "5 seconds" as your fixed preparation time for every song. 1 or 2 bars (at the song's tempo) would be better.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜