This is some text adventure creation software I’ve been working on.
It almost resembles a finished project, although I might end up altering or redoing the command and scripting systems.
Github, Download & Source: https://github.com/Borkpaladin/BitshiftTextAdventureCreator
Download: http://www.java-gaming.org/user-generated-content/members/249765/bitshift-creation-engine.jar
I haven’t made the help menu yet, so it might be a bit confusing, but if you do try it make sure you click apply a lot.
Right now I it still has a few bugs, however these are mainly due to the bad implementation of a ‘scripting’ method I used in the game. Most of the commands start with an underscore (_), and so far some basic logic is included, and its main usage is to change rooms, add items and change boolean variables.
The commands I’ve added so far are:
_script:[command] (only to be used in text boxes that are not marked as script boxes (such as descriptions) to add scripts to them)
_additem:[player, or room name]:[item name];
_setroom:[room name];
_setdialogue:[dialogue name];
_var:[variable name]; (replaces text with a number from the variable list)
_trig:[trigger(boolean) name]; (replaces text with a boolean variable from the trigger list)
_hasitem:[player, or room name]:[item name]; (replaces text with booean value)
_if[[boolean value/string/int]=[boolean value/string/int][command] (note, if statement has a ‘[’ before boolean argument, and after. It also takes > or < signs, instead of the = sign)
[variable name] = [double value] (assigns value to variable)
[variable name] - [double value] (subtracts value to variable)
[variable name] + [double value] (adds value to variable)
[trigger name] : [boolean value] (assigns value to trigger)
_repeat:int, repetitions (brackets are important)
_newline
_print:[text];
_print:[text]:[int color, hex (0X000000) or decimal];
_println:[text];
_println:[text]:[int color, hex (0X000000) or decimal];
All commands must be on their own line, including commands that take another command as an argument, e.g. repeat or if. As you can probably see, the script system is very crude, and any suggestions on how to improve it would be great.
Also, any commands that link rooms together placed in a command will link it with the other room in the overview window. These can be moved around by dragging them, and red lines show the links of the currently selected room. Right clicking a room in the overview will open the editing menu for it.
Click the green arrow to launch the game, or try to export it. Exporting the game should work, and it will create a folder containing the jar and the game data.
Known bugs:
- Creating dialogue and only having one dialogue option that does not link to another will trap the player in the dialogue forever.
- Launching the game without any rooms may crash it, and will cause an exception.
- Sometimes the editor does not load all of the data correctly (Fixed?)
Any suggestions for improving it would be great.