Hello,
Want to use floating point numbers for craft from 0 to 16384 but I've read & observed that the fraction part is not any use at larger values.
I don't really want to have x_fraction & x_int and hastle.
Any way to do this nicely?
Thanks
Marg
My do you need to go to 16384?
Why not go to 16.384 or 163.84?
Do you need all the accuracy of 1.00001?
Rob, I'm setting up a tiled system with 256 tiles wide with 64 pixels in a tile = 16384.
The craft will float about & hence needs a fraction part.
Thanks
Marg
ive never had issues with those values. you should be fine but keep it in mind when making your levels.
16384 isnt such a high number.
Hello again,
I've done a few more test like 16384.0 + 3.54678 and the text command prints out 16387.5 which is correct(ish).
I think the value is stored correctly in the variable but the Text command limits things to a set format?
Yes - the Text command limits printing a float to 6 digits (whether they be in front or behind the dot).
Thanks
Marg