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

Post Reply
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

2D RPG Engine

Post by Light-Dark »

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 8: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
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Simple 2D RPG Engine

Post 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!
There's no place like ~/
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post 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 :)
<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
superLED
Chaos Rift Junior
Chaos Rift Junior
Posts: 303
Joined: Sun Nov 21, 2010 10:56 am
Current Project: Engine
Favorite Gaming Platforms: N64
Programming Language of Choice: C++, PHP
Location: Norway

Re: Simple 2D RPG Engine

Post 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?
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post 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.
<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
techboy123
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 12
Joined: Sat Feb 20, 2010 11:37 am
Favorite Gaming Platforms: PC, PS3, Dreamcast, DS, Wii
Programming Language of Choice: C++
Location: UK

Re: Simple 2D RPG Engine

Post by techboy123 »

Nice work. I approve of the sound track selection and sprite selection :)
User avatar
THe Floating Brain
Chaos Rift Junior
Chaos Rift Junior
Posts: 284
Joined: Tue Dec 28, 2010 7:22 pm
Current Project: RTS possible Third Person shooter engine.
Favorite Gaming Platforms: PC, Wii, Xbox 360, GAME CUBE!!!!!!!!!!!!!!!!!!!!!!
Programming Language of Choice: C/C++, Python 3, C#
Location: U.S

Re: Simple 2D RPG Engine

Post by THe Floating Brain »

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
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine UPDATE

Post by Light-Dark »



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: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post by Light-Dark »

Engine1ScrnShot.jpg
Engine1ScrnShot.jpg (59.13 KiB) Viewed 19678 times
EngineScrnshot5.png
EngineScrnshot5.png (104.12 KiB) Viewed 19678 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
BugInTheSYS
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 88
Joined: Mon Feb 07, 2011 4:16 pm
Current Project: Vintage Roads
Favorite Gaming Platforms: PC
Programming Language of Choice: C++, Delphi
Location: Pinneberg, Germany
Contact:

Re: Simple 2D RPG Engine

Post 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)
Someday, everything will go to /dev/null. - Bug's prophecy 13:37
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post by Light-Dark »

Martys club
Martys club
EngineClubScrnShot1.png (221.8 KiB) Viewed 19640 times
Marathon 2 Durundal : Power of Seven
Marathon 2 Durundal : Power of Seven
EngineClubScrnShot2.png (235.67 KiB) Viewed 19640 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: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post 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 19507 times
Lua Prompt.
Lua Prompt.
LuaPrompt.png (130.91 KiB) Viewed 19507 times
A Prototype battle system.
A Prototype battle system.
BattleSystemProto.png (206.78 KiB) Viewed 19507 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
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Simple 2D RPG Engine

Post by dandymcgee »

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
superLED
Chaos Rift Junior
Chaos Rift Junior
Posts: 303
Joined: Sun Nov 21, 2010 10:56 am
Current Project: Engine
Favorite Gaming Platforms: N64
Programming Language of Choice: C++, PHP
Location: Norway

Re: Simple 2D RPG Engine

Post by superLED »

You are coming along nicely ^^

Btw, see if you got some new private message :3
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: Simple 2D RPG Engine

Post 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!
<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
Post Reply