Rythym Games

Blitz3D Forums/Blitz3D Programming/Rythym Games

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

check out the rendertweening tutorial at blitzcoder.com,to make the program run a set 'frames per second'
then set up timers to control BPM

e.g.
GLOBAL BPM_Timer
GLOBAL BPM=20
GLOBAL BPM_INTERVAL=(60/BPM)*1000
GLOBAL time

[main loop]

Time=millisecs()
if Time>BPM_Timer+BPM_INTERVAL
BPM_Timer =time
music_game_function()
endif