XY sucks! use %

Blitz3D Forums/Blitz3D Programming/XY sucks! use %

xmlspy(Posted 2004) [#1]
.


Rottbott(Posted 2004) [#2]
Are you sure that "GetNumber" is a sufficiently descriptive name for a percentage function?


Neochrome(Posted 2004) [#3]
GetPercent() would be a better name


xmlspy(Posted 2004) [#4]
.


jfk EO-11110(Posted 2004) [#5]
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.


koekjesbaby(Posted 2004) [#6]
shouldn't it be:
Function GetNumber#(percentage#, possible#)

it would be a wast of floats if you return an int right? :)


ChrML(Posted 2004) [#7]
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.