bug report : aftre i killed him for 1st time then text started flashing and i couldnt pick anything aftre
bug report : aftre i killed him for 1st time then text started flashing and i couldnt pick anything aftre
Use getch instead of having the user press enter
In the process of [insert status here]
May post from time to time.
That usually happens when you press a key that it can't recognize, such as a letter, or if you put in a lot of numbers.Originally Posted by wayneo
The variable that reads the user's input is a small one, so it can be overloaded easily.
"We're playing in the same sandbox. Why can't we be nice to each other?"
Originally Posted by Kody104
An integer. Am I right?
Yep.Originally Posted by BladeX
And it's short and unsigned, which now that I think of it, it's a bad idea for a user input variable to be short because the game can crash
"We're playing in the same sandbox. Why can't we be nice to each other?"
Don't know about .NET but in VB 6, Using Val() returns the given argument as double and if it was non-numeric, returns zero.
You might wanna try that and it also sorts out the code..
It's written in c++
In the process of [insert status here]
May post from time to time.
It's actually pretty easy to change an integer to a double or float value.Originally Posted by BladeX
When you declare the value, instead of naming it "int Select" you could just use "double Select" to make it a double, and the same with float
"We're playing in the same sandbox. Why can't we be nice to each other?"
Yeah I know. I thought it was in .NET