|
Re: Increase a value using a joystick
Or if you want to be fancy, you could have it update the value every so often, while still running the loop.
Better still, have it update the value every iteration, but have something that reads the speed of the loop and divides the value of the joystick by a number proportional to that.
Or just add the timer...
You should have the program generate a maze, plot it on an XY graph, and then use the joystick to navigate the maze. That would be epic.
|