Quick question about checking a value
Hey guys!
I have event like this:
Repeat while pressing Right - Set Alternable value A to 2
Repeat while pressing Left - Set Alternable value to 4
Very simple, there is much more code behind and stuff that complicates my code. I'm trying to simplify few things like this, so lets not get there.
But instead I would like to know that does checking the value all the time (since now it checks it every time I hold a movement key) make things heavier?
So basically does it matter, is there bugs to be expected etc? :)
Thanks!
- Jesse