2D RPG Engine
Moderator: PC Supremacists
- bbguimaraes
- Chaos Rift Junior
- Posts: 294
- Joined: Wed Apr 11, 2012 4:34 pm
- Programming Language of Choice: c++
- Location: Brazil
- Contact:
Re: Simple 2D RPG Engine
post -pedantic
Click here to see the hidden message (It might contain spoilers)
- dandymcgee
- 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
This two snippets do the same thing if you consider the declaration of emptybbguimaraes wrote:post -pedantic
Click here to see the hidden message (It might contain spoilers)
bool empty = false;
That is much too verbose and explicit for my liking.. but to each his own. I probably wouldn't even comment the particular snippet I posted. You guys are WAY over-analyzing the intentions of my post. Wouldn't expect any less from fellow programmers.wtetzner wrote:// Cache empty state, because IsEmpty is expensive to call.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Simple 2D RPG Engine
Yeah if you come back in a couple years you'll generally go "why did i do it that way that was stupid" but maybe it's less stupid than you thought ;)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- bbguimaraes
- Chaos Rift Junior
- Posts: 294
- Joined: Wed Apr 11, 2012 4:34 pm
- Programming Language of Choice: c++
- Location: Brazil
- Contact:
Re: Simple 2D RPG Engine
In my experience, even coming back on Monday and taking a look at Friday's code is enough. Real story:MarauderIIC wrote:Yeah if you come back in a couple years you'll generally go "why did i do it that way that was stupid" but maybe it's less stupid than you thought
- I look at the code and think "why the hell did I do it this way?"
- I loose half an hour changing it
- I realize I had already spent half an hour doing the same thing at some point in time and discovering it had to be done that way because of something else
- I really wish there was a comment there to remind me
- 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
Wonderful news! As of late I have been feeling considerably better and thus this good feeling has brought about progress! Got a Main Menu up and operational and a Battle Ground screen in the works for the battle system, unlike my old engine's framework the new one allows for changing of the game state/logic, so in the main loop there are 3 if's checking for particular states and if the state is say set to 2 it shifts the logic to the battle system's logic, same goes for the main menu and over world, this allows for the game to run at a higher FPS compared to my old engine because it's not all contained in one loop. Nonetheless, hopefully I'll continue to make more progress until then I leave you with this screen shot:
<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
I'll just leave this here
<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
- dandymcgee
- 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
Looking really good!Light-Dark wrote:I'll just leave this here
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- 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
Thank you! I'm so glad I went through with this rewrite, best decision I've ever made! Things are coming along quite nicely now.dandymcgee wrote:Looking really good!Light-Dark wrote:I'll just leave this here
<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
Merry Christmas everyone. https://www.dropbox.com/sh/2n6ba10mn9dd1df/ynosw50s-C
I'm taking another break for a long long time. Today things went for the worst, I practically let myself dig my own grave, now I have to climb out of it.
I'm taking another break for a long long time. Today things went for the worst, I practically let myself dig my own grave, now I have to climb out of it.
<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
- dandymcgee
- 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
It's a slump, you'll get over it soon enough. Breaks are always healthy anyways.Light-Dark wrote:I'm taking another break for a long long time. Today things went for the worst, I practically let myself dig my own grave, now I have to climb out of it.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- DistortedLance
- Chaos Rift Newbie
- Posts: 26
- Joined: Fri Jul 22, 2011 12:36 pm
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Contact:
Re: Simple 2D RPG Engine
It looks good! I hope you're back and kicking soon. Stalking the thread isn't quite as fun when you're feeling down
- 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
Merry Christmas to everyone following this, and thank you guys for your continued support means quite a bit to me!
<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
- EdBoon
- Chaos Rift Junior
- Posts: 258
- Joined: Fri May 28, 2010 10:44 pm
- Current Project: Top down multiplayer shooter using unity 3D
- Favorite Gaming Platforms: 360, SNES, ps1
- Programming Language of Choice: C++, C#
- Location: Atlanta, GA
- Contact:
Re: Simple 2D RPG Engine
Looks great, always coming back to see progress but never posting. Probably because your animated gif puts me into a trance. Merry Christmas too.
Undead Empire -> http://bit.ly/dYdu3z
Gamerscore Tracker -> http://bit.ly/vI4T4X
Undead Empire: Hellfire -> http://bit.ly/1AgC4ZY
facebook.com/BigRookGames twitter.com/BigRookGames
youtube.com/user/bigrookdigital
Gamerscore Tracker -> http://bit.ly/vI4T4X
Undead Empire: Hellfire -> http://bit.ly/1AgC4ZY
facebook.com/BigRookGames twitter.com/BigRookGames
youtube.com/user/bigrookdigital
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Simple 2D RPG Engine
QFT :)EdBoon wrote:your animated gif puts me into a trance
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- dandymcgee
- 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
Had to gts.MarauderIIC wrote:QFT
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!