Blade Brothers Engine: Creating my first 2D Game 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

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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

mv2112 wrote:Ginto8's method works, i'm now using it for my map file format :mrgreen:
And also, great work, the editor looks awesome! I too am also making a map editor with Qt...
His method? I already have a binary map system in place, I don't plan on changing it.
And thank you, there's gonna be a big update soon in a few days.
There's no place like ~/
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by MrDeathNote »

LeonBlade wrote: This is what I'm currently using, how should I flip my Y tile order from this?
(Also, let me know if this is too much hehe)
Out of curiosity Leon, how did you flip the y coord?

EDIT: Nevermind, i thought about it for about 30 seconds then felt like an idiot for asking lol.
Last edited by MrDeathNote on Fri Aug 20, 2010 4:11 am, edited 1 time in total.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by Ginto8 »

LeonBlade wrote:
mv2112 wrote:Ginto8's method works, i'm now using it for my map file format :mrgreen:
And also, great work, the editor looks awesome! I too am also making a map editor with Qt...
His method? I already have a binary map system in place, I don't plan on changing it.
And thank you, there's gonna be a big update soon in a few days.
not to be a douche, but you asked how you could add fields to it (specifically strings), and I told you. I'm not saying it's a bad thing you already have it done, but you did ask.
Anyway, looking forward to the update!
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

Ginto8 wrote:
LeonBlade wrote:
mv2112 wrote:Ginto8's method works, i'm now using it for my map file format :mrgreen:
And also, great work, the editor looks awesome! I too am also making a map editor with Qt...
His method? I already have a binary map system in place, I don't plan on changing it.
And thank you, there's gonna be a big update soon in a few days.
not to be a douche, but you asked how you could add fields to it (specifically strings), and I told you. I'm not saying it's a bad thing you already have it done, but you did ask.
Anyway, looking forward to the update!
OH! Dude, I'm so sorry I didn't even notice that's what he was talking about :nono:
I'm very sorry man, thank you so much for posting your method! I thought he was refering to you having your own map saving system to use, haha, I'm sure I was tired when I posted that.

Thank you again so much Ginto, and sorry for misinterpreting what was said.
I'll be going home today and I'll finish up a few bugs and make a video as soon as I get something solid going.
There's no place like ~/
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by Ginto8 »

LeonBlade wrote:
Ginto8 wrote:
LeonBlade wrote:
mv2112 wrote:Ginto8's method works, i'm now using it for my map file format :mrgreen:
And also, great work, the editor looks awesome! I too am also making a map editor with Qt...
His method? I already have a binary map system in place, I don't plan on changing it.
And thank you, there's gonna be a big update soon in a few days.
not to be a douche, but you asked how you could add fields to it (specifically strings), and I told you. I'm not saying it's a bad thing you already have it done, but you did ask.
Anyway, looking forward to the update!
OH! Dude, I'm so sorry I didn't even notice that's what he was talking about :nono:
I'm very sorry man, thank you so much for posting your method! I thought he was refering to you having your own map saving system to use, haha, I'm sure I was tired when I posted that.

Thank you again so much Ginto, and sorry for misinterpreting what was said.
I'll be going home today and I'll finish up a few bugs and make a video as soon as I get something solid going.
lol it's okay. I'm glad it helped. I'll be looking forward to the vid! :mrgreen:
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

Here you go, enjoy.
There's no place like ~/
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by dandymcgee »

A few minor bugs, sure, but it's starting to come along quite nicely. Great work Leon.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

dandymcgee wrote:A few minor bugs, sure, but it's starting to come along quite nicely. Great work Leon.
Thank you, I'm most happy about the multiple tile selection.
I'll be posting about some of my bugs here, hopefully someone in here will know what the hell is wrong /:
There's no place like ~/
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by GroundUpEngine »

Great stuff man, liked and favourited! :)

Theres a few bugs but you could fix no prob, but ye really cool new features dawg really easy to use interface, QT ftw!!
Does the Editor invoke the Engine to play level?
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

GroundUpEngine wrote:Great stuff man, liked and favourited! :)

Theres a few bugs but you could fix no prob, but ye really cool new features dawg really easy to use interface, QT ftw!!
Does the Editor invoke the Engine to play level?
When you click "Run Map" it runs whatever map you have open.

And yeah some of these bugs I've been looking at for a while though... lots of stuff with textures fucking up ):
There's no place like ~/
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by eatcomics »

I see you're using Qt as your IDE, that's what a lot of us are doing, on the moosader forums we've pretty much decided its one of the best IDEs out there
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

eatcomics wrote:I see you're using Qt as your IDE, that's what a lot of us are doing, on the moosader forums we've pretty much decided its one of the best IDEs out there
Yeah I like Qt for GUI, I still use Xcode for my Engine, but I think I'll switch to Qt as well.
There's no place like ~/
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by MrDeathNote »

Nice job with the update man, looks like your making good progress. I'm writing my editor in Qt at the min with OpenGL, hopefully i'll have a video up soon. You said your having problems with multiple textures in the tilesheet, that's weird. I had a bit of a problem with it myself a while ago but it turned out it was just a stupid mistake.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
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: Blade Brothers Engine: Creating my first 2D Game Engine

Post by LeonBlade »

Something is horribly wrong with my Entity movement...
I've fucked around with it multiple times, and yet to find something that WORKS.

Please, if anyone has any good tile/grid based movement tutorials out there, let me know.
If you'd like to see what my code looks like for it, let me know.
I'm starting to get there, but I feel like I should just start from scratch on it...
There's no place like ~/
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Blade Brothers Engine: Creating my first 2D Game Engine

Post by eatcomics »

starting from scratch is usually the way to go in these situations, would probably take a lot less time
Image
Post Reply