My current project is a .NET 4.0 framework application that lets the user create tile-based turn-based games by using C# as a scripting language, creating the game in text .cs files and getting it compiled at runtime by VTE.
The best thing about this engine is that adding/tweaking elements is very easy, you just create a new text file and write the element logic in C#, and ta-dah, you can use it.
Here are some videos of games made with my engine.
Portal sokoban - by me
http://www.youtube.com/watch?v=OejY72wlqZU - new video!
http://www.youtube.com/watch?v=y6wtuJhsGZg
http://www.youtube.com/watch?v=rmgOW4JSNHU
http://www.youtube.com/watch?v=QQDK4kYWkfc
Paintball - by Robert64
http://www.youtube.com/watch?v=580XFHnOyqc
http://www.youtube.com/watch?v=nWn80I5NL54
I will release this engine soon.
If you want to contribute and test the engine, please send me a pm. You have to be fluent in C# though.
Here's an example script file:
Click here to view the secret text
×
using VeeTileEngine;
using System;
using SFML.Audio;
using SFML.Graphics;
using SFML.Window;
using System.Text;
using System.Collections.Generic;
using System.IO;
public class SokobanFloor : Entity
{
public SokobanFloor(Manager mManager)
: base(mManager, "SokobanFloor")
{
// The base constructor only requires two parameters: the manager and a string containing the entity's name, which must be identical to the file name and class name
// The constructor is called BEFORE the entity X, Y, Z are set by the manager
OrderOfUpdate = 0; // These properties tell VTE when the entity should be updated/draw - 0 first
OrderOfDraw = 1000;
RequiresDraw = true; // Will this entity be drawn?
RequiresUpdate = false; // Will this entity be updated?
Image floorImage = Gamemode.ResourcesImages["Floor"]; // Gets the image from the Resources folder - use the image name without the extension
Sprite = new Sprite(floorImage); // Initializes the sprite
Flags.Add("CanWalkUpon");
Flags.Add("CanPushUpon");
Flags.Add("PortalPassesThrough");
}
}
The engine was created as a puzzle game development engine, but you can create any sort of tile-based turn-based game with it, for example roguelikes or mouse controlled games like minesweeper.
____________________________
http://vittorioromeo.info
[Last edited by vittro at 09-07-2010 01:59 PM]