Advertisement

A good tutorial about Drag&Drop in Games

Started by November 07, 2001 05:50 AM
0 comments, last by Nordgeist 23 years, 1 month ago
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
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement