This was a simple remake of the battle system of my Mystic Sword game. It has two characters in the party (Warrior and Wizard) and an Imp enemy. Press space to progress through the battle.
Mystic Sword was a Role Playing Game (RPG) game that I developed in QBasic back in 1995.
Download the QBasic source code on GITHub (Download ZIP).
Extract the source code file and move the “MS” directory into the QBasic directory. This is necessary due to the directory path format of the save files. Otherwise, you will have to fix the path in the source code.
- DOSBox is installed in “\Program Files (x86)\DosBox-0.74”
- Qbasic is extracted into “\Program Files (x86)\DosBox-0.74\qbasic”
- Mystic Sword game files are in “\Program Files (x86)\DosBox-0.74\qbasic\MS”
Run the DOSBox program
Mount the QBasic directory
Note: These commands can be added in the [autoexec] section of the dosbox-*.conf file.
Run QBasic (“qb”)
Now select Run, Start (or press Shift + F5) to start the game.
You may have to press Space after it starts.
Use the numeric keypad to select characters (4 and 6) and move around in the world (8 = up, 2 = down, 4 = left, 6 = right).
Note: You can view the sub routine code in the QBasic editor with View, Subs (or press F2).