Page 1 of 11

2D RPG Engine

Posted: Mon Sep 05, 2011 1:30 am
by Light-Dark
My first project , the recording software i used phucked up with the sound so its a tad off.


Re: Simple 2D RPG Engine

Posted: Mon Sep 05, 2011 8:13 am
by LeonBlade
Light-Dark wrote:My first notable project , the recording software i used phucked up with the sound so its a tad off.

Cool stuff, hope to see more soon!

Re: Simple 2D RPG Engine

Posted: Mon Sep 05, 2011 11:38 am
by Light-Dark
LeonBlade wrote:
Light-Dark wrote:My first notable project , the recording software i used phucked up with the sound so its a tad off.

Cool stuff, hope to see more soon!
Thanks :)

Re: Simple 2D RPG Engine

Posted: Mon Sep 05, 2011 1:57 pm
by superLED
Really nice!

How did you learn implementing Lua, as nice as you have done there?
Youtube, a book, or a page on the web?

Re: Simple 2D RPG Engine

Posted: Mon Sep 05, 2011 4:22 pm
by Light-Dark
superLED wrote:Really nice!

How did you learn implementing Lua, as nice as you have done there?
Youtube, a book, or a page on the web?
Most if not all i learned from just googling it and googling problems i encountered with it, also the lua users wiki helped a lot to.

http://lua-users.org/wiki/

Example Code

Code: Select all

#include <string>
using namespace std;

extern "C"{
#include <lua.h>
#include <lualib.h>
#include <luaxlib.h>
}
lua_State* L = lua_open();

string currentMap = "TestString.Map";

static int ChangeLevel(lua_State *L)
{

    currentMap = lua_tostring(L,-1);

}

int main( int argc, char* args[] )
{
   luaL_openlibs(L);

   int lua_checkstack (lua_State *L, int extra);
    lua_register(L,"ChangeLevel",ChangeLevel);

luaL_dofile(L,"lua script filepath here.lua")
return 0;
}

----------------Lua Script-----------------
ChangeLevel("Maps/Derp.Map")

Just a basic string changing function, might be a few errors.

Re: Simple 2D RPG Engine

Posted: Thu Sep 08, 2011 3:54 pm
by techboy123
Nice work. I approve of the sound track selection and sprite selection :)

Re: Simple 2D RPG Engine

Posted: Wed Sep 14, 2011 4:25 pm
by THe Floating Brain
Nice dude keep up the good work!

Re: Simple 2D RPG Engine UPDATE

Posted: Fri Sep 23, 2011 6:09 pm
by Light-Dark


New video, shows more things that ive managed to finish over the past few weeks.

Re: Simple 2D RPG Engine

Posted: Mon Sep 26, 2011 10:15 am
by Light-Dark
Engine1ScrnShot.jpg
Engine1ScrnShot.jpg (59.13 KiB) Viewed 16983 times
EngineScrnshot5.png
EngineScrnshot5.png (104.12 KiB) Viewed 16983 times
Some Screenshost one of a test friendly NPC and the one of the latest build with scenery for it i just used my object layer i should probally give it, its own layer but hey it works with my system.

Re: Simple 2D RPG Engine

Posted: Mon Sep 26, 2011 10:26 am
by BugInTheSYS
"noobisaurus" :D
Looks great I have to say. I'd change fonts though - Courier isnt really my favourite :D (Courier New for coding, yes, but for reading text.... nah)

Re: Simple 2D RPG Engine

Posted: Tue Sep 27, 2011 12:04 am
by Light-Dark
Martys club
Martys club
EngineClubScrnShot1.png (221.8 KiB) Viewed 16945 times
Marathon 2 Durundal : Power of Seven
Marathon 2 Durundal : Power of Seven
EngineClubScrnShot2.png (235.67 KiB) Viewed 16945 times
Got bored wanted to see if i could make a "club" so i got megman 3 tilles, black tiles and some rock tiles, did some scripting and voila you go up talk to marty and get some sweet music!

Re: Simple 2D RPG Engine

Posted: Mon Nov 14, 2011 4:02 pm
by Light-Dark
Major progress has been made in the last few months, only some of it visible.
Castle Area.
Castle Area.
CastleArea.png (162.61 KiB) Viewed 16812 times
Lua Prompt.
Lua Prompt.
LuaPrompt.png (130.91 KiB) Viewed 16812 times
A Prototype battle system.
A Prototype battle system.
BattleSystemProto.png (206.78 KiB) Viewed 16812 times

Re: Simple 2D RPG Engine

Posted: Mon Nov 14, 2011 5:53 pm
by dandymcgee
Hah, this project is sweet.

Re: Simple 2D RPG Engine

Posted: Mon Nov 14, 2011 6:55 pm
by superLED
You are coming along nicely ^^

Btw, see if you got some new private message :3

Re: Simple 2D RPG Engine

Posted: Mon Nov 14, 2011 7:45 pm
by Light-Dark
superLED wrote:You are coming along nicely ^^

Btw, see if you got some new private message :3
I know i got it, i just finished adding in the new tiles!,ill post a screen shot when im done!