Sign in to follow this  
Fenryl

creating a simple game engine

Recommended Posts

hello, i want to make a game engine, but i don know how (i even dont know the definition of a game engine lol) are there some good articels to get me started for this? i would like to begin with a simple 2D engine-

Share this post


Link to post
Share on other sites
I've heard this exact question before ... "I want to make a game engine but I don't know what a game engine is". If you don't know what it is, you almost certainly don't know if you want to make it or not...

If you want to make a game, I suggest you start with http://www.gamedev.net/reference/start_here/
If you really are wanting to make something else, could you be a bit more specific?

Share this post


Link to post
Share on other sites
The simplest way if your unsure exactly what a game engine is is to write a few simple games. You will notice there are chunks of code which are nearly identical across the games - like sound, sprites, input etc. If you factor these individual components out into a separate library you will have the beginnings of a basic game engine.

Trying to write one without having completed a few games or without having a firm grasp of what a game requires is going to be difficult.

Share this post


Link to post
Share on other sites
Quote:
Original post by Spudder
The simplest way if your unsure exactly what a game engine is is to write a few simple games. You will notice there are chunks of code which are nearly identical across the games - like sound, sprites, input etc. If you factor these individual components out into a separate library you will have the beginnings of a basic game engine.

Trying to write one without having completed a few games or without having a firm grasp of what a game requires is going to be difficult.


That's a good piece of advice. With the word engine being thrown around so much by laymen who don't understand what a game engine is actually for, it's fair for a beginner to presume that you need an engine to make a game. This leads to every aspiring games programmer working on an engine and never actually finishing a game.

Share this post


Link to post
Share on other sites
Quote:
Original post by MrP
Quote:
Original post by Spudder
The simplest way if your unsure exactly what a game engine is is to write a few simple games. You will notice there are chunks of code which are nearly identical across the games - like sound, sprites, input etc. If you factor these individual components out into a separate library you will have the beginnings of a basic game engine.

Trying to write one without having completed a few games or without having a firm grasp of what a game requires is going to be difficult.


That's a good piece of advice. With the word engine being thrown around so much by laymen who don't understand what a game engine is actually for, it's fair for a beginner to presume that you need an engine to make a game. This leads to every aspiring games programmer working on an engine and never actually finishing a game.


So true. I spent ages writing an "engine" for a game once. About 6 months down the line I still didn't have anything on the screen. One day I woke up and said "What are you doing?!" I jacked it all in, then just wrote a game without even really designing it properly, and guess what? I finished it.

Share this post


Link to post
Share on other sites
Quote:
Original post by Spudder
The simplest way if your unsure exactly what a game engine is is to write a few simple games. You will notice there are chunks of code which are nearly identical across the games - like sound, sprites, input etc. If you factor these individual components out into a separate library you will have the beginnings of a basic game engine.

Trying to write one without having completed a few games or without having a firm grasp of what a game requires is going to be difficult.


ok, but what do you mean by "write a simple game" ? that i have to use an existing game engine (like Gamepy in python) ?
oh, and why can't you just tell me what a game engine is?
thx for your reply(s)
-fenryl

Share this post


Link to post
Share on other sites
Quote:
Original post by Fenryl
ok, but what do you mean by "write a simple game" ? that i have to use an existing game engine (like Gamepy in python) ?
oh, and why can't you just tell me what a game engine is?
thx for your reply(s)
-fenryl


Just write something like a bouncy ball you have to click on to get points, then work up from there. You don't need to use an existing engine for something like this.

An engine at its simplest is the code which runs a game, but does not define its content. So, code to display sprites, stuff to load and play sounds, manage textures etc. I usually prefer the term "base code" rather than engine. Once you have written a few games, you will have a better idea of what should go into your code base. What you will find is that as you move from one project to the next, you will be dipping back into the code you wrote for your previous game, and reusing a lot of the same code. This is your base code.

Share this post


Link to post
Share on other sites
Quote:
Original post by Fenryl
ok, but what do you mean by "write a simple game" ? that i have to use an existing game engine (like Gamepy in python) ?
oh, and why can't you just tell me what a game engine is?
thx for your reply(s)
-fenryl


http://www.google.com/search?q=what+is+game+engine

EDIT:
Quote:
Original post by www.google.com
In computing, a game engine is the core software component of a video game. It typically handles rendering and other necessary technology, but might also handle additional tasks such as game AI, collision detection between game objects, etc. The most common element that a game engine provides is graphics rendering facilities (2D or 3D).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this