Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help for my game interface
#2
So when you load your picture box you need to use this code, or some variation of it. Depending on if you have more than two classes the select case is probably the best bet.

Code:
Select Case Player(MyIndex).Class
    Case 0
        picClass.Picture = LoadPicture(App.Path & "/gfx/interface/Class0.bmp")
    Case 1
        picClass.Picture = LoadPicture(App.Path & "/gfx/interface/Class1.bmp")
    Case 2
        picClass.Picture = LoadPicture(App.Path & "/gfx/interface/Class2.bmp")
End Select
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)