VBGamer |
|
Re: Scrolling games Lorn (0 replies, 0 views) (2001-Mar-4) You can time apperances by creating a Type like this for your enemies:
Type chr
Name as String
Damage as Integer
HitP as Integer
AppearT as Integer
Shown as Boolean
End type
Public Enemies(1000) as chr
Then have a timer in a form with its interval set to 1000 (1 second) then within the Timer1_Timer() you write something like this:
Timer1_Timer()
Time = Time + 1
For i = 0 to cct 'Enemie count
If Time = Enemies(i).Shown then
'Do your show code here
End if
Next i
End sub
That answers the first question, the next question can be answered with my reply to a post posted earlier that is titled (I think) 'waypoints'. I hope that helps.
Lorn |