Music by PsyAviah -- A lot of you know that I like programming.. - TopicsExpress



          

Music by PsyAviah -- A lot of you know that I like programming.. So the past few days I had an idea to make a kind of game, called ScriptWars. The idea is simple: A 2Dgrid, different players (or characters/entities) that are controlled by a pre-written script (by the player). Then the program, or game, will evaluate and interpret the script turn based. Its still in a rough shape, visually I only added a console-demonstration. Theres still room for improvement and more operations to enrich the scripting set. The source code is at https://lerenard.codeplex/ - feel fre to fork / give ideas etc.. My own little TODO: -> Next up will be a GDI+ version to get somewhat better graphics. -> Enrich the scripting operation set. -> Find time to do all of that... To give an idea of how the creature or entity scripts look like, here are some examples: /// The Wanderer (in yellow) #GLOBAL Name: Wanderer Color: Yellow #ALGORITHM MOVE RANDOM 50 5 TURN left GOTO 1 TURN right GOTO 1 /// The Squarer (in red) #GLOBAL Name: Squarer Color: Red #ALGORITHM TURN left MOVE GOTO 1 /// The Linear Walker (in green) #GLOBAL Name: Linear Walker Color: Green #ALGORITHM MOVE GOTO 1
Posted on: Thu, 05 Jun 2014 00:17:50 +0000

Trending Topics



Recently Viewed Topics




© 2015