How to type decimal point with custom font keyboard
micksolo
Member Posts: 264
Hi, great to have these pro forums, well done GS
I want the user to be able to type a number and it's saved in a table value (this part is already working)
I want to use a custom font keyboard, not the one that comes with GS. So I've set up actors and that is all working fine.
However the values are real and require decimal points. I'm having trouble working out how to type a decimal point.
My custom font works something like this
Actor is called "number" and has a self attribute "this number is" which sets the value
Rule -> when "number" pressed
change "game.temp value" to "game.temp value..self.this number is"
I made one of the "number" actors self.this number is to "." but this doesn't work..it just gives me a zero value.
I want the user to be able to type a number and it's saved in a table value (this part is already working)
I want to use a custom font keyboard, not the one that comes with GS. So I've set up actors and that is all working fine.
However the values are real and require decimal points. I'm having trouble working out how to type a decimal point.
My custom font works something like this
Actor is called "number" and has a self attribute "this number is" which sets the value
Rule -> when "number" pressed
change "game.temp value" to "game.temp value..self.this number is"
I made one of the "number" actors self.this number is to "." but this doesn't work..it just gives me a zero value.