XY sucks! use %
Blitz3D Forums/Blitz3D Programming/XY sucks! use %
| ||
. |
| ||
Are you sure that "GetNumber" is a sufficiently descriptive name for a percentage function? |
| ||
GetPercent() would be a better name |
| ||
. |
| ||
Good aproach, but then there is still the problem with images. You could scale them to the correct size, but then you'd have to say byebye to all pixelperfect stuff. |
| ||
shouldn't it be:Function GetNumber#(percentage#, possible#) it would be a wast of floats if you return an int right? :) |
| ||
I made a little bb library that makes you able to a GUI with any pictures using 2D screen percentages. The advantage of having the GUI as 3D objects infront of the camera is ability to draw much GUI, smooth GUI, flexible GUI, and alpha effects without hogging CPU. |