Archive for the 'Lua' Category

19
May
09

Getting started with Lua

While I begin my framework for creating the game using Lua as the scripting language, I thought I would discuss some of the other constraints I’m working under to put things into perspective.

I would like to utilize the following technologies:

  • .Net Framework, C# preferably, C++ as a fallback for necessary components
  • Lua as the scripting language
  • Silverlight as the client platform
  • Visual Studio 2008 as the development environment

Following is the list of initial resources I’m using to put together the scripting engine:

  • www.lua.org – Primary site for all things Lua.  Great starting spot containing links to many libraries and even a live demo that can be run from the browser.
  • lua-users.org – Community site containing extensions and discussions (Lua Addons)
  • Lua Socket library – Well, I need to get network connectivity somehow.  This seems to be a pretty standard library for doing so.
  • LuaForge – Source repository for a lot of Lua projects including the Sockets library
  • Generic Game Server v2.0.1 – Great little Lua generic game server.  Looks to be what I want already written along with sources should I need to enhance it.

Well, to my surprise, after downloading the Generic Game server and playing with it for a bit, I was actually able to get a very rudimentary MUD framework in place and it loaded, allowed connections, etc…  It took a little wrangling for me to get the Lua syntax down correctly and to have it work correctly with the software communication interfaces.

Based on this, utilizing Lua is a go!  Now to go get a domain name to host all this great information and the builds, etc…




 

May 2012
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
28293031  

Follow

Get every new post delivered to your Inbox.