Evolution SDK
Moderator: PC Supremacists
- lotios611
- Chaos Rift Regular
- Posts: 160
- Joined: Sun Jun 14, 2009 12:05 pm
- Current Project: Game engine for the PC, PSP, and maybe more.
- Favorite Gaming Platforms: Gameboy Micro
- Programming Language of Choice: C++
Evolution SDK
I am developing a 2D SDK. The SDK consists of a reusable engine that uses SFML which draws heavily on Qt's design, and a level editor written in Qt.
Last edited by lotios611 on Thu Aug 12, 2010 12:41 pm, edited 1 time in total.
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
Re: Dream Team SDK
Well uhh... would you like to expand upon that? I mean that's still a little vague...
- 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: Dream Team SDK
And I aspire to be the king of England. Best of luck to both of us!
Last edited by dandymcgee on Sat Jul 17, 2010 5:57 pm, edited 1 time in total.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- 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: Dream Team SDK
There's no place like ~/
- MrDeathNote
- 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: Dream Team SDK
LolLeonBlade wrote:
http://www.youtube.com/user/MrDeathNote1988
"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
"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
- lotios611
- Chaos Rift Regular
- Posts: 160
- Joined: Sun Jun 14, 2009 12:05 pm
- Current Project: Game engine for the PC, PSP, and maybe more.
- Favorite Gaming Platforms: Gameboy Micro
- Programming Language of Choice: C++
Re: Dream Team SDK
I don't have much done yet, but you could check out the code I have at the google code page for this project.
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
- 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: Dream Team SDK
Glad you took our "advice" and posted SOMETHING other than "I'm making [insert seemingly random project here]".lotios611 wrote:I don't have much done yet, but you could check out the code I have at the google code page for this project.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
Re: Dream Team SDK
Unlike the others that scrape around your post looking for a laugh I think it is great that you are starting a 2D game engine it is a great learning experience. I have been writing one since February and it is around 10 thousand lines of C++ and has lua integration for scripting behaviors and xml for storing data (not ideal but works on an indie scale). Code speaks louder than words I have often not been able to articulate my intention to this crowd so I just started writing the code and it seems to turn out a lot better in the end. Screen shots usually help but when you are developing an engine and not a game, art is not really your priority. Anyway best of luck with it just be ready to write a lot of code over a long period of time. Keep on coding.
Re: Dream Team SDK
Well yeah, I think we all wish the best of luck. But the post was just pretty vague. Really he/she just stated what tools he was utilizing, not really what he/she intended the engine to accomplish, or any other information really. I love seeing the progress of everyone's engines/games, and I just want more information on this project haha.dejai wrote:Unlike the others that scrape around your post looking for a laugh I think it is great that you are starting a 2D game engine it is a great learning experience. I have been writing one since February and it is around 10 thousand lines of C++ and has lua integration for scripting behaviors and xml for storing data (not ideal but works on an indie scale). Code speaks louder than words I have often not been able to articulate my intention to this crowd so I just started writing the code and it seems to turn out a lot better in the end. Screen shots usually help but when you are developing an engine and not a game, art is not really your priority. Anyway best of luck with it just be ready to write a lot of code over a long period of time. Keep on coding.
- lotios611
- Chaos Rift Regular
- Posts: 160
- Joined: Sun Jun 14, 2009 12:05 pm
- Current Project: Game engine for the PC, PSP, and maybe more.
- Favorite Gaming Platforms: Gameboy Micro
- Programming Language of Choice: C++
Re: Dream Team SDK
I've decided to switch to SFML to decrease the amount of code I have to write. Also, "It's a boy!" was said at my birth.
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
Re: Dream Team SDK
Haha alright xD. I just don't want to make an assumption, and offend anyone hahalotios611 wrote:I've decided to switch to SFML to decrease the amount of code I have to write. Also, "It's a boy!" was said at my birth.
- lotios611
- Chaos Rift Regular
- Posts: 160
- Joined: Sun Jun 14, 2009 12:05 pm
- Current Project: Game engine for the PC, PSP, and maybe more.
- Favorite Gaming Platforms: Gameboy Micro
- Programming Language of Choice: C++
Re: Dream Team SDK
I'm having troubles with some code. I'm trying to implement a dynamic 2D vector class. I've been working on it for the past weeks, and nothing I've tried worked. I don't mind using pointers if It'll be easier that way.
Here's the code:
Here's the code:
Code: Select all
#ifndef DYNAMIC_ARRAY_2D_H
#define DYNAMIC_ARRAY_2D_H
#include <vector>
template <class T>
class DynamicArray2D
{
public:
DynamicArray2D() : numberOfRows(0), numberOfColumns(0)
{
}
T& operator()(int row, int column)
{
if (numberOfRows < row)
{
numberOfRows = row;
data.resize(numberOfRows);
}
if (numberOfColumns < column)
{
numberOfColumns = column;
data[numberOfRows].resize(numberOfColumns);
}
return data[row][column];
}
T operator()(int row, int column) const
{
if (numberOfRows < row)
{
numberOfRows = row;
data.resize(numberOfRows);
}
if (numberOfColumns < column)
{
numberOfColumns = column;
data[numberOfRows].resize(numberOfColumns);
}
return data[row][column];
}
private:
int numberOfRows;
int numberOfColumns;
std::vector<std::vector<T> > data;
};
#endif
"Why geeks like computers: unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep." - Unknown
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Dream Team SDK
lotios611 wrote:I'm having troubles with some code. I'm trying to implement a dynamic 2D vector class. I've been working on it for the past weeks, and nothing I've tried worked. I don't mind using pointers if It'll be easier that way.
Here's the code:Code: Select all
[/quote] ok first thing I noticed is that you're just encapsulating a vector<vector<T> >. Not a bad thing, but it also means you don't need to hold the width and height (if you're doing it in a [y,x] access style, which is how it usually is, the height is v.size() and the width is v[0].size()). Also, when you resize the width you have to resize EVERY vector in the vector<vector<T> > while for height you only have to resize the main one. I'm not really in the mood to write any c++ code atm, but I hope I gave you the idea. ;)
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.