Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - RPG environment creation kit: Role Playing Script (RPS) | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
MooglyGuy
Newcomer
Level: 4

Posts: 1/5
EXP: 152
For next: 127

Since: 05-01-05

Since last post: 81 days
Last activity: 80 days
Posted on 05-01-05 04:23 AM Link | Quote
As you may or may not have been aware, this semester I had to write a thesis so that I could graduate with honors when receiving my Bachelor's Degree in computer science this May. What I decided to do was to create a scripting language for use in RPG environments, which I've dubbed Role Playing Script. By and large, I've created a robust - and moreover, extensible - language which one can use to script the events, interactions, and so on in an RPG environment. I've also created the assembler for the language to generate binaries, which can in turn be used in the test environment that I've created. Along with the test environment, I've created a rudimentary level editor that you may use.

The thesis itself is here.

The assembler for the language is here Please note that you'll have to download a win32 version of GNU Flex if you wish to edit the assembler. Make your changes to lexinput.c, then run "flex lexinput.c", then compile lex.yy.c in a C++ compiler of your choice, preferrably G++.

The test environment that demonstrates the various things that the language can do is here. There isn't any battle subsystem, nor is there any sort of experience/inventory/party system as of yet, as the thesis was about creating a language for scripting the events in an RPG, not a full-fledged RPG engine. However, it's completely open (along with everything else I've posted here), so you're welcome to add such features. There's currently no documentation on the format in which the levels are stored, as the source code is currently sufficient documentation until I get around to writing better docs. Look in ReallyPoorGame.c at the various loading functions.

The rudimentary level editor is here. The level and path to the level which it edits are currently hard coded, but as I've provided an on-screen keyboard implementation and a workable textbox implementation that you can use, it shouldn't be altogether difficult to be able to let the user enter in a filename.

If you have any questions or comments, feel free to post them, and I'll try to respond to the best of my ability.

EDIT: You have to run testenviron.exe from the command line, and pass it two parameters. It doesn't matter what the two parameters are, just that there are two of them - see, when I was originally testing it, I had two actors hard-coded, but then when I expanded it to load from a datafile, I forgot to remove the test to see if the actors' binary files are passed to it. So something like "testenviron.exe foo bar" would work fine.

Also, if you want to compile testenviron and leveledit, you're going to need SDL_Mixer and SDL installed. It's also best if you use Bloodshed Dev-C++ to compile and edit it, just because that's what I used.


(edited by MooglyGuy on 05-01-05 05:37 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - RPG environment creation kit: Role Playing Script (RPS) | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.