- NewTiles.png
- (108.09 KiB) Not downloaded yet
2D RPG Engine
Moderator: PC Supremacists
- Light-Dark
- 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
:3 here is the screenshot of the new tiles implemented into the level editor.
<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
- Light-Dark
- 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
Completely redid my tile clipping system, redid the entire tile sheet in the process i had to scrap all the test levels .MAP's but its worth the trade off. Before i used the retarded method of individual clipping each tile manually, but now i have finally found some time to do the conversion i've been meaning to do since day one but i never did until now.
All tile art is 100% original, thanks to SuperLED :3.
All tile art is 100% original, thanks to SuperLED :3.
<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
- LeonBlade
- 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
Hmm... adventure log seems awfully familiar...Light-Dark wrote:Completely redid my tile clipping system, redid the entire tile sheet in the process i had to scrap all the test levels .MAP's but its worth the trade off. Before i used the retarded method of individual clipping each tile manually, but now i have finally found some time to do the conversion i've been meaning to do since day one but i never did until now.
All tile art is 100% original, thanks to SuperLED :3.
There's no place like ~/
- short
- ES Beta Backer
- Posts: 548
- Joined: Thu Apr 30, 2009 2:22 am
- Current Project: c++, c
- Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
- Programming Language of Choice: c, c++
- Location: Oregon, US
Re: Simple 2D RPG Engine
I'm pretty sure I've seen like 5 game dev logs on this forum with a similar adventure log since I originally found AIGD.LeonBlade wrote: Hmm... adventure log seems awfully familiar...
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- Light-Dark
- 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
After 2 months finally another video, this one actually shows some code shows the new battle system thats in the works as well as new rendering/collision systems and finally some original tile art thanks to SuperLED!
<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
- Light-Dark
- 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
Made a crude party system, i just made a new class called PartyMember made the players class a friend class so i can acces its x and y positions and do the positioning calculations, they are very chopy and ugly need to be refined but nonetheless heres the party system in the works:
<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
- MadPumpkin
- Chaos Rift Maniac
- Posts: 484
- Joined: Fri Feb 13, 2009 4:48 pm
- Current Project: Octopia
- Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
- Programming Language of Choice: C/++,Java,Py,LUA,XML
- Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk
Re: Simple 2D RPG Engine
Damn man this is looking good, keep it up. I'll be following this thread.
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
For God so loved the world that he blessed the thugs with rock
- superLED
- 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
I've made some trees and a house tileset (outdoor) for the engine.
I'm curious how the new art looks in there :3
I'm curious how the new art looks in there :3
- Light-Dark
- 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
Got the new house tileset inmplemented, im thinking of for the trees of having another layer for the leaves section of it it will render ontop of the player while the player will render ontop of the bottom layer of the tree! i got the house tiles in there just made a simple little home!
<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
- superLED
- 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
A new layer for the top of the tree would be a nice idea.
Maybe the same for the roof as well, so the player can walk beneath the roof. A roof doesn't stop you from walking behind a house, does it?
(For those who don't know, I haven't made that tree/bush in this photo)
I can see now that I have to fix the door. It's a few pixel too far to the right.
I'm gonna fix some stuff on the house soon.
(By the way, I would have a 'corner' at the top as well, in the dirt tile right below the door, so it doesn't look like the road continues into the house :P)
Maybe the same for the roof as well, so the player can walk beneath the roof. A roof doesn't stop you from walking behind a house, does it?
(For those who don't know, I haven't made that tree/bush in this photo)
I can see now that I have to fix the door. It's a few pixel too far to the right.
I'm gonna fix some stuff on the house soon.
(By the way, I would have a 'corner' at the top as well, in the dirt tile right below the door, so it doesn't look like the road continues into the house :P)
- Light-Dark
- 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
Excellent idea :P i shall continue figuring out this new layer.superLED wrote:A new layer for the top of the tree would be a nice idea.
Maybe the same for the roof as well, so the player can walk beneath the roof. A roof doesn't stop you from walking behind a house, does it?
(For those who don't know, I haven't made that tree/bush in this photo)
I can see now that I have to fix the door. It's a few pixel too far to the right.
I'm gonna fix some stuff on the house soon.
(By the way, I would have a 'corner' at the top as well, in the dirt tile right below the door, so it doesn't look like the road continues into the house :P)
<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
- Skomakar'n
- Chaos Rift Cool Newbie
- Posts: 72
- Joined: Mon Jul 18, 2011 10:19 pm
Re: Simple 2D RPG Engine
For the trees, I would suggest just to keep them as single sprites, and draw the player in front of them or behind them depending on the player's y value in relation to the tree's.
- superLED
- 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
I think that would be a problem while using SDL. In OpenGL, it would be easier. Then you could just change the z values for the objects that's beneath the player (in OrthoPerspective or how it's written).Skomakar'n wrote:For the trees, I would suggest just to keep them as single sprites, and draw the player in front of them or behind them depending on the player's y value in relation to the tree's.
It would really be tedious to do this in SDL, because you must draw in order, like:
obj1.draw();
obj2.draw();
player.draw()
Then, obj1 gets drawn first, then obj2, and so on.
I would guess he's drawing all of layer1 first, then layer2, then the player and NPCs in layer3.
I think it would be best to add a layer4 and put tree tops and roofs there.
- Joxno
- Chaos Rift Newbie
- Posts: 22
- Joined: Mon Sep 26, 2011 8:38 pm
- Current Project: The Old World
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: Sweden
- Contact:
Re: Simple 2D RPG Engine
Unless you have a centralized drawing system where Objects puts in draw requests and then manage them in the drawing system as such:superLED wrote:I think that would be a problem while using SDL. In OpenGL, it would be easier. Then you could just change the z values for the objects that's beneath the player (in OrthoPerspective or how it's written).Skomakar'n wrote:For the trees, I would suggest just to keep them as single sprites, and draw the player in front of them or behind them depending on the player's y value in relation to the tree's.
It would really be tedious to do this in SDL, because you must draw in order, like:
obj1.draw();
obj2.draw();
player.draw()
Then, obj1 gets drawn first, then obj2, and so on.
I would guess he's drawing all of layer1 first, then layer2, then the player and NPCs in layer3.
I think it would be best to add a layer4 and put tree tops and roofs there.
obj1.RequestDraw() -> DrawingSystem->StoreRequest();
and do this for all objects and when all the requests have been processed, the DrawingSystem orders the drawing requests in order of Prio/Z-values.
- Light-Dark
- 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:
Converted basicly every thing except OBJ files to hex format including the brand new character data files which saves any useful peice of data that needs permant storage for that save, e.g if you completed a quest or if you killed a certain boss or enemy or the ammount of stats required for the next level, whatever its awesome, i originally wanted to have the maps encoded in binary since its nonesensical fuckpoop but ill settle for hex plus my own personal encoding equation . Preping things for my new menu system and tile layer im implementing over the holidays.
Should also mention i made a few tweaks and (finally ) added a health bar, these tweaks include a more optomized string system, a larger adventure log since i dropped that stupid hearts idea it just didn't pan out the way i planned.
and as usual i will give you some screen shots!
Converted basicly every thing except OBJ files to hex format including the brand new character data files which saves any useful peice of data that needs permant storage for that save, e.g if you completed a quest or if you killed a certain boss or enemy or the ammount of stats required for the next level, whatever its awesome, i originally wanted to have the maps encoded in binary since its nonesensical fuckpoop but ill settle for hex plus my own personal encoding equation . Preping things for my new menu system and tile layer im implementing over the holidays.
Should also mention i made a few tweaks and (finally ) added a health bar, these tweaks include a more optomized string system, a larger adventure log since i dropped that stupid hearts idea it just didn't pan out the way i planned.
and as usual i will give you some screen shots!
<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