#Forced text input.

1 messages · Page 1 of 1 (latest)

river harness
#

Hear me out, either ctrl click or shift click on anything that is a slider makes it swap to a text box that you can manually type numbers into. I am so tired of having all these 0.1 offsets showing up everywhere. 😩

brisk matrix
#

The worst part of it is that the .1 offsets are actually rounded .01-.09 offsets. There's a whole second decimal that exists in the sliders but not in the numbers we see. We need ways to manually set them all.

river harness
#

We need to change all the float values to byte values and just have 10 = 1. 9 = 0.9 so on so forth (or 100 = 1 or even 1000 = 1, if you want excessively precise numbers for some weird reason). Floating point math is always so wonky. https://www.youtube.com/watch?v=O6FsyQZzJJ0

Why 0.1 + 0.2 ≠ 0.3 and what the hell is IEEE 754? Let's find out.

If you enjoyed the video, please leave a like and a comment.

Subscribe for more chill programming related content.

▶ Play video
#

... Wait no I'm stupid you can still use float values but have 1 be 0.1 or 0.01, or 0.001.

#

Basically never introduce decimals to the computer, only the player in the form of a fake number, computers hate decimals. OMEGADen

#

Only ever show decimals to the player as a fake number, because computers shnit themselves thinking about decimals.

#

"What do you MEEEEAN there's a bit between 1 and 0?! That's IMPOSSIBLE!"