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??


Sign In
Create Account

Back to top









