Hello,
Is there a simple way in gamestudio to receive an event when a mouse button is released? In our game, we want to select multiple entities by dragging a rectangle with the mouse, much like in AOE, Warcraft, Windows Explorer etc.
I reckon it's possible to detect a release by checking the state of the mouse buttons in each frame, but that's not very elegant is it?
Greetings and thanks for help,
Jonas
Slightly off-topic PS: As for selecting the entities afterwards, I was thinking of using vec_to_screen() for each entity position, then checking if they are inside the rectangle (and the distance is not toooo big). This is rather slow, though, especially with many entities. Any simpler idea?