I am developing a Space Invaders Game in 'c', I've come across a stumbling block however, it seems you cannot call unblocking keyboard entry (within ANSI C - I've realised kbhit() doesn't work). To this end, I'm contemplating running a BMax or B3D executable in parallel with my C space invaders, potentially writing keyboard entry to a file from BMax/B3D realtime - and periodically attempting to access the same file from within my C executable to 'move' the players tank at the bottom.
This is my first attempt at interfacing BMax / B3D with a C executable, any help appreciated.
Any suggestions greatfully received -
Regards,
BlitzPlotter.
This is my first attempt at interfacing BMax / B3D with a C executable, any help appreciated.
Any suggestions greatfully received -
Regards,
BlitzPlotter.