Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blitted Objects, Clickable?
#3
Well, you can create an array of buttons w/ the buttons X1,Y1;X2,Y2 information, that way you can make your buttons sizeable and it will be pretty easy. The object you click(the screen is actualy an image box named picScreen. This is where everything happens:
Code:
Private Sub picScreen_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
or you can go direticly to:
Code:
Sub PlayerSearch(Button As Integer, Shift As Integer, x As Single, y As Single)
In mirage, the server search the player using it's position. It would be much easier if you check that client side.
Code:
' :: Search packet ::
This is the packet that the server receives from the client with the X and Y that you clicked on picScreen. Good luck ^^
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)