Im kinda a begginer, so im only asking basic questions i guess.
Im in a first phase of making my own snake game, and i got some issues to solve.
Im now only takin care of the head's movement. My objective is to put the head moving down when pressing key 2, up with key 8, left with key 4 and right with key 6.
Heres what i got so far
:Disp "TYPE THE 1ST KEY"
:Repeat A=-47 or A=47 or B=-31 or B=31
:If getKey=93 or getKey=73 or getKey=84 or getKey=82
My issues are:
What is the difference between getkey and getkey()?, as this website uses different links for these commands
How do i access getkey()?, as in programming mode F3 would be for matrixes and u can do nothing with it
How to correct this bug: when i press a key, the head starta going in that way. When i press the opposite way key, the head stops.
I also think the key codes for moving are kinda changed, but i think thats a matter of getting those right, not big deal.
I would thank anyone who could help me