Page 6 of 11
Re: Simple 2D RPG Engine
Posted: Sun Nov 18, 2012 4:54 pm
by bbguimaraes
post -pedantic
Click here to see the hidden message (It might contain spoilers)
This two snippets don't do the same thing:
if(dataCollection.IsEmpty()) {
empty = true;
}
empty = dataCollection.IsEmpty();
Re: Simple 2D RPG Engine
Posted: Sun Nov 18, 2012 5:27 pm
by dandymcgee
bbguimaraes wrote:post -pedantic
Click here to see the hidden message (It might contain spoilers)
This two snippets don't do the same thing:
if(dataCollection.IsEmpty()) {
empty = true;
}
empty = dataCollection.IsEmpty();
This two snippets do the same thing if you consider the declaration of empty
bool empty = false;
wtetzner wrote:// Cache empty state, because IsEmpty is expensive to call.
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.
Re: Simple 2D RPG Engine
Posted: Mon Nov 19, 2012 6:04 am
by MarauderIIC
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 ;)
Re: Simple 2D RPG Engine
Posted: Mon Nov 19, 2012 6:17 am
by bbguimaraes
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
In my experience, even coming back on Monday and taking a look at Friday's code is enough. Real story:
- 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
Re: Simple 2D RPG Engine
Posted: Thu Nov 22, 2012 4:30 pm
by Light-Dark
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:
- Battle System Screen
- BattleSystem.png (118.95 KiB) Viewed 9310 times
Re: Simple 2D RPG Engine
Posted: Sat Nov 24, 2012 9:36 am
by Light-Dark
I'll just leave this here
Re: Simple 2D RPG Engine
Posted: Sat Nov 24, 2012 11:56 am
by dandymcgee
Light-Dark wrote:I'll just leave this here
Looking really good!
Re: Simple 2D RPG Engine
Posted: Sat Nov 24, 2012 12:24 pm
by Light-Dark
dandymcgee wrote:Light-Dark wrote:I'll just leave this here
Looking really good!
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.
Re: Simple 2D RPG Engine
Posted: Sat Dec 22, 2012 9:12 pm
by Light-Dark
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.
Re: Simple 2D RPG Engine
Posted: Sun Dec 23, 2012 8:09 pm
by dandymcgee
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.
It's a slump, you'll get over it soon enough. Breaks are always healthy anyways.
Re: Simple 2D RPG Engine
Posted: Mon Dec 24, 2012 11:49 am
by DistortedLance
It looks good! I hope you're back and kicking soon. Stalking the thread isn't quite as fun when you're feeling down
Re: Simple 2D RPG Engine
Posted: Tue Dec 25, 2012 8:21 am
by Light-Dark
Merry Christmas to everyone following this, and thank you guys for your continued support
means quite a bit to me!
Re: Simple 2D RPG Engine
Posted: Tue Dec 25, 2012 8:56 am
by EdBoon
Looks great, always coming back to see progress but never posting. Probably because your animated gif puts me into a trance. Merry Christmas too.
Re: Simple 2D RPG Engine
Posted: Tue Dec 25, 2012 8:11 pm
by MarauderIIC
EdBoon wrote:your animated gif puts me into a trance
QFT :)
Re: Simple 2D RPG Engine
Posted: Wed Dec 26, 2012 12:31 pm
by dandymcgee
MarauderIIC wrote:QFT
Had to gts.