Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualXuchilbara

Posted 27 November 2012 - 05:28 PM

Ok, I was wrong about it reading it in correctly.

As you can see here by this screenshot: http://img29.imageshack.us/img29/4099/41977412.jpg

i = 5, thus being 6th in the series. the 6th line in fontdata.txt reads: "37 % 0.0205078 0.0302734 10"
so left should be: 0.0205078
right: 0.0302734
size: 10

Although you can see it is all 0.

Sorry I dont know why I said it was working correctly during the for loop, it must of came up with some magic numbers again at some point and I wasn't paying attention. But yeah I can confirm it is constantly 0, not just the first entry.

Somebody suggested that left and right are floats, and shouldn't be able to take in numbers this long, could that be the case?

Edit: I just tried a breakpoint inside my Init function and something strange came up
http://img41.imageshack.us/img41/553/errorlja.jpg

#2Xuchilbara

Posted 27 November 2012 - 05:20 PM

Ok, I was wrong about it reading it in correctly.

As you can see here by this screenshot: http://img29.imageshack.us/img29/4099/41977412.jpg

i = 5, thus being 6th in the series. the 6th line in fontdata.txt reads: "37 % 0.0205078 0.0302734 10"
so left should be: 0.0205078
right: 0.0302734
size: 10

Although you can see it is all 0.

Sorry I dont know why I said it was working correctly during the for loop, it must of came up with some magic numbers again at some point and I wasn't paying attention. But yeah I can confirm it is constantly 0, not just the first entry.

Somebody suggested that left and right are floats, and shouldn't be able to take in numbers this long, could that be the case?

#1Xuchilbara

Posted 27 November 2012 - 05:17 PM

Ok, I was wrong about it reading it in correctly.

As you can see here by this screenshot: http://img29.imageshack.us/img29/4099/41977412.jpg

i = 5, thus being 6th in the series. the 6th line in fontdata.txt reads: "37 % 0.0205078 0.0302734 10"
so left should be: 0.0205078
right: 0.0302734
size: 10

Although you can see it is all 0.

Sorry I dont know why I said it was working correctly during the for loop, it must of came up with some magic numbers again at some point and I wasn't paying attention. But yeah I can confirm it is constantly 0, not just the first entry

PARTNERS