GameSuiteGameSuite is a game engine I'm currently developing with C#, LuaInterface, and SDL.NET. Using this free tool, you can easily create 2-Dimensional computer games. I am also developing an editor environment (much like Game Maker) for this engine alongside this project.
GameSuite Engine & GameSuite EditorCurrently, there isn't much functionality in the engine, though it is a start, and there is something visible. It starts out by executing main.lua in the same directory as the executable. GameSuite uses Lua scripting to define game functionality.
Example Console Script: Basic GameSuite CalculatorBuild 0.0.1a
-- Header
function ShowHeader()
EchoLine("===GameSuite Calculator===");
EchoLine("== A calculator made with GameSuite :D!");
EchoLine("");
end
-- Show the header
ShowHeader();
-- Get A
Echo("Enter first value > ");
A = GetLine();
-- Get B
EchoLine("");
EchoLine("");
Echo("Enter second value > ");
B = GetLine();
-- Echo the problem
Echo(A);
Echo(" + ");
Echo(B);
Echo(" = ");
Echo( (A + B) );
EchoLine("");
EchoLine("");
-- Check if we should output the console log
Echo("Output the console log? (Y/N) > ");
outputLog = GetLine();
if ( outputLog == "Y") or ( outputLog == "y" ) then
EchoLine("");
Echo("File to output log to > ");
outputFile = GetLine();
if ( outputFile == "" ) then
Error("Incorrect filename, using console.log instead.");
FlushConsole("console.log");
else
FlushConsole(outputFile);
end
end
-- Wait for the user to press a key
EchoLine("");
EchoLine("Press any key to exit...");
WaitForKey();
DownloadsBuild 0.0.1 AlphaBuild 0-0-1 Alpha Screenshots - GameSuite CalculatorSupported FunctionsConsole FunctionsClearConsole() - Clears the console log text
Echo( string text ) - Echoes a string to the console
EchoLine( string text ) - Echoes a string followed by a new line to the console
Error( string text ) - Echoes an error string to the console
FlushConsole( string filename ) - Saves the contents of the Console to the specified file
WaitForKey() - Waits for a key to be pressed before continuing
GetLine() - Reads a line of input from the console