A good tutorial about Drag&Drop in Games
Hello,
I have tryed out everything which I can imagine of how writing a Drag&Drop structure, but it doesn´t works. Then I have searched in the internet to find some tutorial about it, have´n´t found anything relevanted yet. If anyone has an idear on which website or in which book I can find some basics about writing a drag & drop structure, please tell me
You need a message based state machine - like Win32 programming.
First handle mouse events
Mouse_Up, Mouse_Down, Mouse_Move
Mouse_Down followed by Mouse_Move -> Drag
Mouse_Drag followed by Mouse_Up -> Drop
Magmai Kai Holmlor
- Not For Rent
First handle mouse events
Mouse_Up, Mouse_Down, Mouse_Move
Mouse_Down followed by Mouse_Move -> Drag
Mouse_Drag followed by Mouse_Up -> Drop
Magmai Kai Holmlor
- Not For Rent
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement