View Single Post
  #10  
Old 01-24-2003, 06:09 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by tlf288
Wouldn't testimg(x,y) be not only more constant to the graal scripting language, but more practical? It would return the index of the image located at the given x and y position and you could test if it was true.
More consistent, yes, but certainly not more practical. It would limit what we could do. What if we want to check this stuff before drawing the image? Maybe the intended position of the image depends on the result of the function. What if we have overlapping images? We don't want the front ones to mask out the back. Things like that, y'know? It just makes the function too high-level, and obliterates some of its functionality.
__________________
Reply With Quote