Difference between revisions of "Roguelike gcs"

From RogueBasin
Jump to navigation Jump to search
m (fixed redirect)
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{game-talkie| name = roguelike gcs
#REDIRECT [[Roguelike Game Maker]]
|developer = Marcel Woods
|theme = variable
|influences = Rogue
|released = in development
|updated = n/a
|licensing = [[Closed Source]]
|language = [[Cpp | C++]]
|platforms = [[Linux]], [[Windows]], [[Mac OS]]
|interface = Keyboard
|site = http://oculos.co.uk
}}
 
Roguelike GCS is a toolset used for making roguelike adventures; it includes a scripting language, and a random dungeon generator.
 
==In development==
* Race, Creature, Item, Effect templates with editor
* Unlimited everything
* Area randomization mode, with option to randomize around some preset aspects
* Extensive options for customization
* most things can be programmed with a simple scripting language
 
==Scripting language example==
 
<pre>
begin()
{
my_variable1 = 0;
myfunction(&my_variable1);
 
        my_variable2 = "Hello world! ";
 
        my_variable3 = my_variable2 + my_variable1; // now contains "Hello world! 0"
 
my_variable3 = new object;
SetObjProp(my_variable3, 0, 1);
 
        my_variable4 = GetTileAtYX(0, 0); // my_variable4 is now an internal reference to a game object
        my_variable4 = GetObjOfTile(my_variable4);
my_variable4 = GetTileOfObj(my_variable4);
 
        my_variable4 = GetObjAtYX(0, 0);
        my_variable4 = GetTileAtYX(0, 0);
my_variable4 = GetObjByTag("OBJ1");
my_variable4 = GetTileOfObjByTag("OBJ1");
 
        DestroyObj(my_variable4);
 
for (i = GetFirstItem(_Caller); i; i = GetNextItem(_Caller))
{
a = GetItemProp(i, 0);
 
if (!a) SetItemProp(i, 0, 1);
 
DestroyItem(i);
}
}
</pre>

Latest revision as of 05:21, 22 August 2012