Hi everyone! Just wanted to say I am new to GDevelop, and I am impressed overall. I did notice a very peculiar behavior of the Text Input object when it was set to Numbers only. Apparently, it allows the user to input a plus (+) or minus (-) symbol after a number. See the following image.
Strangely, you can insert two plus or minus symbols in any way before it defaults to numbers only.
What’s more curious is when you try to assign the value to a Scene variable. If the “+” or “-” symbol is the first character, the number is assigned properly as a positive or negative number. However, if the “+” or “-” symbol occurs after a number, a text Scene variable is assigned a null string, and a number Scene variable is set to zero.
At first, I thought this may be a way to input numbers in scientific notation although I could never figure out why it would allow you to enter multiple symbols. Though after seeing how things were assigned, I had to abandon this idea. I don’t know if this is a bug, but if it isn’t, I hope someone could explain it to me. Thanks!