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. Ho开发者_如何学Gow 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
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.
What you can do is try useing the bscript engine that way you will already the stuff that you need to make ur game but, consider the manual is extreme not like hugh extreme ment a bit confusing and take time to settle . Considering theyre trying to make the engine very fliud in batch script which is hugh lol
精彩评论