2D RPG Engine

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

2D RPG Engine

Postby Light-Dark on Mon Sep 05, 2011 2:30 am

My first project , the recording software i used phucked up with the sound so its a tad off.

Last edited by Light-Dark on Thu Jun 26, 2014 9:17 pm, edited 1 time in total.
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby LeonBlade on Mon Sep 05, 2011 9:13 am

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!
There's no place like ~/
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
 
Posts: 1350
Joined: Thu Jan 22, 2009 2:22 am
Location: Blossvale, NY

Re: Simple 2D RPG Engine

Postby Light-Dark on Mon Sep 05, 2011 12:38 pm

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 :)
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby superLED on Mon Sep 05, 2011 2:57 pm

Really nice!

How did you learn implementing Lua, as nice as you have done there?
Youtube, a book, or a page on the web?
User avatar
superLED
Chaos Rift Junior
Chaos Rift Junior
 
Posts: 337
Joined: Sun Nov 21, 2010 12:56 pm
Location: Norway

Re: Simple 2D RPG Engine

Postby Light-Dark on Mon Sep 05, 2011 5:22 pm

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.
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby techboy123 on Thu Sep 08, 2011 4:54 pm

Nice work. I approve of the sound track selection and sprite selection :)
techboy123
Chaos Rift Newbie
Chaos Rift Newbie
 
Posts: 12
Joined: Sat Feb 20, 2010 1:37 pm
Location: UK

Re: Simple 2D RPG Engine

Postby THe Floating Brain on Wed Sep 14, 2011 5:25 pm

Nice dude keep up the good work!
"Why did we say we were going to say we were going to change the world tomorrow yesterday? Maybe you can." - Myself

ImageImage
User avatar
THe Floating Brain
Chaos Rift Junior
Chaos Rift Junior
 
Posts: 290
Joined: Tue Dec 28, 2010 9:22 pm
Location: U.S

Re: Simple 2D RPG Engine UPDATE

Postby Light-Dark on Fri Sep 23, 2011 7:09 pm



New video, shows more things that ive managed to finish over the past few weeks.
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby Light-Dark on Mon Sep 26, 2011 11:15 am

Engine1ScrnShot.jpg
Engine1ScrnShot.jpg (59.13 KiB) Viewed 5656 times


EngineScrnshot5.png
EngineScrnshot5.png (104.12 KiB) Viewed 5656 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.
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby BugInTheSYS on Mon Sep 26, 2011 11:26 am

"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)
Someday, everything will go to /dev/null. - Bug's prophecy 13:37
User avatar
BugInTheSYS
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
 
Posts: 90
Joined: Mon Feb 07, 2011 6:16 pm
Location: Pinneberg, Germany

Re: Simple 2D RPG Engine

Postby Light-Dark on Tue Sep 27, 2011 1:04 am

EngineClubScrnShot1.png
Martys club
EngineClubScrnShot1.png (221.8 KiB) Viewed 5618 times


EngineClubScrnShot2.png
Marathon 2 Durundal : Power of Seven
EngineClubScrnShot2.png (235.67 KiB) Viewed 5618 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!
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby Light-Dark on Mon Nov 14, 2011 6:02 pm

Major progress has been made in the last few months, only some of it visible.

CastleArea.png
Castle Area.
CastleArea.png (162.61 KiB) Viewed 5485 times


LuaPrompt.png
Lua Prompt.
LuaPrompt.png (130.91 KiB) Viewed 5485 times


BattleSystemProto.png
A Prototype battle system.
BattleSystemProto.png (206.78 KiB) Viewed 5485 times
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: Simple 2D RPG Engine

Postby dandymcgee on Mon Nov 14, 2011 7:53 pm

Hah, this project is sweet.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
 
Posts: 4911
Joined: Tue Apr 29, 2008 4:24 pm
Location: New Hampshire

Re: Simple 2D RPG Engine

Postby superLED on Mon Nov 14, 2011 8:55 pm

You are coming along nicely ^^

Btw, see if you got some new private message :3
User avatar
superLED
Chaos Rift Junior
Chaos Rift Junior
 
Posts: 337
Joined: Sun Nov 21, 2010 12:56 pm
Location: Norway

Re: Simple 2D RPG Engine

Postby Light-Dark on Mon Nov 14, 2011 9:45 pm

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!
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 317
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Next

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron