06-07-2025, 05:36 AM
Thanks for your replies!
On the popu%, being there are 80 rows and 40 columns, and an organism is only born in a blank space, the most there could ever be would be 80x40 =3,200 organisms, which is well under the 32,767 limit of the integer data type. Is that not correct?
Multiple keypresses would definitely seem shoddy - I didn't have that happen, and even added code to _prevent_ the same key from being held down or pressed twice (that's what the variable LastKey% is for). And it uses _KeyClear to make sure the buffer doesn't fill up with phantom keypresses. In addition, there is a constant cKeyDelay that controls how many frames the program waits before it allows a held down key to repeat. I tried to pay a lot of attention to the keyboard behavior, so to hear it called shoddy by @bplus of all people is somewhat alarming! What am I doing wrong??
Really, an easier interface for placing organisms would be to just use a mouse, but I would like to know what's not right in the keyboard routine, if only because I use that same method in my other programs.
Thanks again for your feedback guys.
On the popu%, being there are 80 rows and 40 columns, and an organism is only born in a blank space, the most there could ever be would be 80x40 =3,200 organisms, which is well under the 32,767 limit of the integer data type. Is that not correct?
Multiple keypresses would definitely seem shoddy - I didn't have that happen, and even added code to _prevent_ the same key from being held down or pressed twice (that's what the variable LastKey% is for). And it uses _KeyClear to make sure the buffer doesn't fill up with phantom keypresses. In addition, there is a constant cKeyDelay that controls how many frames the program waits before it allows a held down key to repeat. I tried to pay a lot of attention to the keyboard behavior, so to hear it called shoddy by @bplus of all people is somewhat alarming! What am I doing wrong??
Really, an easier interface for placing organisms would be to just use a mouse, but I would like to know what's not right in the keyboard routine, if only because I use that same method in my other programs.
Thanks again for your feedback guys.

