Anonymous user
AGS Pointers for Dummies: Difference between revisions
Jump to navigation
Jump to search
→Pointer System Versus Integral System
*>Monkey 05 06 |
*>Monkey 05 06 |
||
Line 102: | Line 102: | ||
int gui = GetGUIAt(mouse.x, mouse.y); | int gui = GetGUIAt(mouse.x, mouse.y); | ||
if (gui == | if (gui == MYGUI) Display("MYGUI is under the mouse!"); | ||
So if we could already do this, why change to a pointer system and cause all the confusion? But let's not get ahead of ourselves. Pointers aren't designed with the sole purpose of causing confusion. And they are actually quite useful once you understand them. | So if we could already do this, why change to a pointer system and cause all the confusion? But let's not get ahead of ourselves. Pointers aren't designed with the sole purpose of causing confusion. And they are actually quite useful once you understand them. |