Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Text Adventure Creation Tool  (Read 1644 times)
0 Members and 1 Guest are viewing this topic.
Offline Borkpaladin
« Posted 2014-04-04 10:28:15 »

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]([command]) (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.
Offline hwinwuzhere
« Reply #1 - Posted 2014-04-04 10:45:03 »

Very cool. Haven't tried everything yet, but it looks really cool and fairly easy in use. Nice work!

There are two kinds of people in this world: Those who can extrapolate from incomplete data,
Offline Rayvolution

« JGO Spiffy Duke »


Medals: 219
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #2 - Posted 2014-04-05 02:34:59 »

I find it mildly amusing that your text based adventure game creation tool features a graphical map interface to help visualize the world you're working on within the editor. Cheesy

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline matheus23

JGO Kernel


Medals: 113
Projects: 3


You think about my Avatar right now!


« Reply #3 - Posted 2014-04-05 17:33:27 »

I find it mildly amusing that your text based adventure game creation tool features a graphical map interface to help visualize the world you're working on within the editor. Cheesy

Exactly my thought Cheesy

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline wessles

JGO Wizard


Medals: 74
Projects: 4
Exp: 4 years


Radirius Software


« Reply #4 - Posted 2014-04-05 22:00:39 »

Seems amazing!
Although I would put this and the source on github if I were you.

Offline Borkpaladin
« Reply #5 - Posted 2014-04-06 01:53:57 »

Seems amazing!
Although I would put this and the source on github if I were you.

Thanks!
I've added a link to the source in github, but if anyone wants to look at it be warned, it is quite messy, and completely uncommented.
Offline wessles

JGO Wizard


Medals: 74
Projects: 4
Exp: 4 years


Radirius Software


« Reply #6 - Posted 2014-04-08 21:40:24 »

You should wrap the text in the console and the text-boxes. It is very annoying.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (33 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (65 views)
2014-11-07 19:57:14

TehJavaDev (69 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (82 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!