Jump to content

(Blitz 3D) Help with my pong game

- - - - -

  • Please log in to reply
No replies to this topic

#1
Black_Raven546

Black_Raven546

    Newbie

  • Members
  • Pip
  • 1 posts
tinyurl.com/Pong-Revolution-Beta-1-5-2 <- download here

Ive been trying to add a 3D scoreboard and ive got it to "work" but the last digit wont go away? why? (ive been doing blitz3D for about a week an d ive picked up super fast)

i was using simple code like this (not in the sourceforge download)


  	If score2 = 0 Then

scoresp1(1)=LoadMesh("models\scores\p1-0.3ds")

PositionEntity scoresp1(1),0,0,0

ScaleEntity scoresp1(1),.2,.2,.2

EndIf


	If score2 = 1 Then

scoresp1(2)=LoadMesh("models\scores\p1-1.3ds")

PositionEntity scoresp1(2),0,0,0

ScaleEntity scoresp1(2),.2,.2,.2

EndIf

;----here down dosen't refer to the scoreboard

If score1 = 11 Then

          Cls

          p2win=LoadImage ("textures\p2win.jpg")

          DrawImage p2win,0,0

          Flip

           WaitMouse()

			End

     EndIf


     If score2 = 11 Then

          Cls

          p1win=LoadImage ("textures\p1win.jpg")

          DrawImage p1win,0,0

          Flip

          WaitMouse()

			End	

     EndIf


but when the next digit loads the 1st one wont go away what do i do??




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users