ok, I cant seem to find this or I don’t understand how it works. I need to capture the key press(up and down or click) to turn things off and on.
example: key type O to turn on shields, key type O again to turn them off.
I tried
if isKeyDown { shielsUp = true; }
else { shieldsUp = false; }
but this sets/calls shieldsUp = false every frame tick…or is this the way to do it?
Thanks
M
