Hide/Show and Position Problem

Blitz3D Forums/Blitz3D Programming/Hide/Show and Position Problem

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.

No collisions are involved, Bill, but I think all of my code is done after the CaptureWorld command. Is that not right? I was under the impression that - to use Mark's sample code - it was done like so:

While Not KeyDown(1)
	
	Repeat
		
		elapsed = MilliSecs() - time
		
	Until elapsed
	
	ticks = elapsed / period
	
	tween# = Float#(elapsed Mod period) / period
	
	For k = 1 To ticks
		
		time = time + period
		
		If k = ticks
			
			CaptureWorld
			
		EndIf
		
		UpdateGame()
		
		UpdateWorld()
		
	Next
	
	RenderWorld(tween#)
	
	Flip
	
Wend


...with all of my game mechanics done within the UpdateGame() parent function.