AppleSauce engine

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

jacob.krustchinsky
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Feb 23, 2010 10:18 pm

AppleSauce engine

Post by jacob.krustchinsky »

Hello everyone,

My friend and I have decided to stop playing around and actually produce something that we ( and others ) can play around with and enjoy. I just wrapped up basic SDL and think I have it down enough to start building a very basic engine I can re-use and extend upon over time. So here is how my design plan goes ( * since this is my first please provide input)

1: C++ & SDL ( maybe a scripting language later on... but I dont see the use for the small games I plan on producing )
2: I plan on putting all of the usual functions I need in a Game.h within a Game class. And having all of my graphics, audio functions in there.. I will then

Code: Select all


Game AppleSauce* = new Game;

Game->load_image(params);
Game->update(params);

3: I plan on making it as clean and light weight as possible. Basic graphics handling and game methods..
4:I will also have a player.h and an enemy.h ( because I feel those are things that are a common occurrence in game.. )
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: AppleSauce engine

Post by eatcomics »

What's with all these people and engines now??? Can't we just make a plain 'ol game, do we need all need our own engines?

Anyways cool, and the best of luck!
Image
jacob.krustchinsky
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Feb 23, 2010 10:18 pm

Re: AppleSauce engine

Post by jacob.krustchinsky »

^ Not the CC I was expecting... And like I said... very light weight engine. I am not making an attempt at Crysis here :P just something I can re-use and extend upon over the coming years.

Thanks!
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: AppleSauce engine

Post by eatcomics »

jacob.krustchinsky wrote:^ Not the CC I was expecting... And like I said... very light weight engine. I am not making an attempt at Crysis here :P just something I can re-use and extend upon over the coming years.

Thanks!
I know (and all the power to ya), just wondering, why not just a game?
Image
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: AppleSauce engine

Post by XianForce »

eatcomics wrote:
jacob.krustchinsky wrote:^ Not the CC I was expecting... And like I said... very light weight engine. I am not making an attempt at Crysis here :P just something I can re-use and extend upon over the coming years.

Thanks!
I know (and all the power to ya), just wondering, why not just a game?
I think it's great to make a light weight engine... but you have to remember what it is... light weight... It's just something to get some base code to perform basic things.
jacob.krustchinsky
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 34
Joined: Tue Feb 23, 2010 10:18 pm

Re: AppleSauce engine

Post by jacob.krustchinsky »

Well, after much discussion between me and hunter ( my friend ). We came to the conclusion, that since we plan on building a few different games over the next few years...why don't we just construct a very simplistic minimal 2D engine? We have built a few pong and tetris clones in XNA, and we both hate the repetition in writing them. Although copy paste works at times...we felt we should have something that can be re-used in a very easy way that will allow us to build games with much greater ease than before.
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: AppleSauce engine

Post by eatcomics »

jacob.krustchinsky wrote:Well, after much discussion between me and hunter ( my friend ). We came to the conclusion, that since we plan on building a few different games over the next few years...why don't we just construct a very simplistic minimal 2D engine? We have built a few pong and tetris clones in XNA, and we both hate the repetition in writing them. Although copy paste works at times...we felt we should have something that can be re-used in a very easy way that will allow us to build games with much greater ease than before.
sounds good... Really my earlier post wasn't directed at you, it was just I've been seeing a lot of stuff on how people are making engines for like one game, that could easily be done as just a game... Didn't mean to bash you or say that your doing it wrong, on the contrary I think its a great idea, but like I said I've just seen a lot of dumb stuff, and lately whenever I see the word engine I get reminded of these things. I still wish you guys luck and would liek to hear what you guys are up to and how the engine is going :mrgreen:

basically, just know I'm not being mean, and I really wasn't trying to say anything about you or your project, it was more or less me thinking outloud...
Image
User avatar
hurstshifter
ES Beta Backer
ES Beta Backer
Posts: 713
Joined: Mon Jun 08, 2009 8:33 pm
Favorite Gaming Platforms: SNES
Programming Language of Choice: C/++
Location: Boston, MA
Contact:

Re: AppleSauce engine

Post by hurstshifter »

Whenever I hear "we're going to make an engine" I instinctively get very skeptical so I think some of the replies were mostly just that. Definitely a good idea here. If not really a full-blown engine this setup will at least give you more experience with wrapping the libraries and object oriented design. Post screens if you guys make any progress on games.
"Time is an illusion. Lunchtime, doubly so."
http://www.thenerdnight.com
CC Ricers
Chaos Rift Regular
Chaos Rift Regular
Posts: 120
Joined: Sat Jan 24, 2009 1:36 am
Location: Chicago, IL

Re: AppleSauce engine

Post by CC Ricers »

I am instantly reminded of Scientific Ninja's article "Make games, not engines". He has a bunch of other articles related to game development, you should check out his blog. If you are going to code a bunch of components that tie in with each other, make them focused for the next game you're building on. As you make more games, you'll see what code you can re-use from your old game and plug it into new code. And you'll refine your code to make it more efficient for that purpose. Repeat as necessary for each game.

Over time you will have effectively made your own engine that works, because the code has been tried and tested with actual games. It's much better than writing an engine from scratch and hoping that your next bunch of games will fit into it nicely.
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: AppleSauce engine

Post by XianForce »

I think plenty of people say that ^^. Most will give you the advice 'make a game, not an engine'...

But I have also frequently heard the advice "Don't start making a game from scratch", meaning that you need some base code for basic things such as rendering

I think generally whenever the word engine is seen, everyone looks down on it. That's why I tend to use the word 'framework' instead of engine haha.

But he seems to have made a few games, and understands the basics. At some point, I think one can, and should, make some time of framework, where they have some code for audio, video, and input - just a base to make these crucial things easier.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: AppleSauce engine

Post by Falco Girgis »

eatcomics wrote:What's with all these people and engines now??? Can't we just make a plain 'ol game, do we need all need our own engines?

Anyways cool, and the best of luck!
... I'm going to pretend like you never said that.
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: AppleSauce engine

Post by GroundUpEngine »

GyroVorbis wrote:
eatcomics wrote:What's with all these people and engines now??? Can't we just make a plain 'ol game, do we need all need our own engines?

Anyways cool, and the best of luck!
... I'm going to pretend like you never said that.
I concur.
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: AppleSauce engine

Post by LeonBlade »

GroundUpEngine wrote:
GyroVorbis wrote:
eatcomics wrote:What's with all these people and engines now??? Can't we just make a plain 'ol game, do we need all need our own engines?

Anyways cool, and the best of luck!
... I'm going to pretend like you never said that.
I concur.
You can't just make a game from scratch... well... yes you can... but here's the thing.
When you finish making the Engine, you then can start working on your game.
Every game has an Engine, if you just try to make a game while you program the game it makes no sense... you have to make an Engine.
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: AppleSauce engine

Post by eatcomics »

So now we're calling sound and input functions, and maybe a map editor a game engine?

Sorry but that's the way I read some of these posts... (actually take that back, that's how I read LeonBlade's post :P )

Everytime I hear people say something about an engine, I'm thinking "Great they wanna make some epic game maker thing"

but really I get proven wrong every time... That's where my earlier post comes from, I have nothing against engines or people who design them, just people who don't know what they're getting into... When I said just make games, I meant start with the basics, learn how to draw stuff and how games work, not ENJINS ARE B4D CAUSE EVERYONE IS DOING THEM AN D TEH ARE ALL HARD AND STUF>>>

like I said the comment wasn't directed at the topic poster, that was just me thinking outloud after seeing the title (I did read the post, but I still felt like asking)...
Image
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Re: AppleSauce engine

Post by davidthefat »

I thought you were making a engine like the jello engine, but applesauce... if you understand what I mean
Post Reply