I am programming a simulation using Canvas and it works fine and looks good. Nice graphics and text outputs work fine.
However I now want to use user input to control the flow of the simulation.
1. Wait until user presses key
2. Increase animation speed by pressing +/- (decrease and increase delay value)
3. End generation by pressing N
3. End simulation by pressing Q
And so on.
But if I use Keypressed or Read etc. it doesn't work. I think it is because the latter functions only work in CRT mode but I'm not sure.
So if there are any tips, pointers or examples I would much appreciate it.
With regards Gerard