Search code examples
batch-fileuser-controlsmove

how to add controls for a game using batch files?


I am attempting to make a platform game using batch files. I know this seems like a waste of time and there are better tools out there but I just wanted try it out. How do you set up controls so my character moves, jump, gravity and collision? Here's a link to a vid that shows a platform game made in batch file: http://www.youtube.com/watch?v=O_Egqa0Gqhc


Solution

  • You could start with reading Batch Minesweeper and pacman to learn a bit about batch gaming.

    But to handle the arrow keys you need always an external program, as choice can't handle them.
    With choice you could use "normal" letters, so you could use ASDW to move instead of the arrow keys, but choice is not available in XP.

    And you should know how to start and communicate between multiple batch processes.