Results 1 to 4 of 4

Thread: TOOL BAR

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113

    Exclamation

    Is there a way to allow my game to continue when the menu bar is clicked. Since my game is played over network I do not want a break.

  2. #2
    Guest
    Is the animation being drawn through a loop? If so, there shouldn't be a problem.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    THIS IS WHERE I THINK THE PROBLEM IS
    '*********************************************
    Public Sub manplay()
    SetColorANDLocation 'Sets where player1,2 starts and there colors
    Racefor
    Do ' MAIN LOOP
    Wait 'Slow Game down
    Playerline 'DRAW PLAYER 1,2 LINES
    Loop ' MAIN LOOP
    End Sub
    '*********************************************
    Sub Wait()
    If keys.AUTOS.Value = 0 Then
    For slowd = 0 To Gamespeed
    DoEvents
    Next slowd
    Else
    Timern = Timer + 0.01
    Do: DoEvents
    Loop Until Timer > Timern
    End If
    End Sub
    '*********************************************
    Sub Playerline()
    For Player = 1 To 2
    pX(Player) = Int(pX(Player)) + pXd(Player)
    pY(Player) = Int(pY(Player)) + pYd(Player)
    WarWorms.bb.DrawWidth = Radius(Player)
    WarWorms.bb.PSet (pX(Player), pY(Player)), Pcolor(Player)
    Next Player
    End Sub

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    113
    If the loop is a timer it works. But much to slow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width