A love story: Me and my 2D engine.

Profile
None
Curious about how to build a 2D engine?? Me too, let's resolve this together making one.
37 comments
17 entries
Advertisement
Kerkhoff
February 07, 2006
Another Demo
here is the last version...

http://members.gamedev.net/kerkhoff/JournalFiles/Predator-Demo.rar

tell me what you thought...give me ideas...

I'm a very bad layouter eauhuah
this layout is very...very ugly I know...but Is the better(believe me) that I get..

Just copy and paste the font file to the c:\windo…
1,008 views
Kerkhoff
February 02, 2006
Another chance? ehehhe
Hi my friends...

here is the new version of Predator Engine with some basic controls...

download this file:

http://members.gamedev.net/JournalFiles/Predator-Demo.exe

Thanx... =D

Next controls will be the check box, the check button, radio buttons, numeric updown, another panels...

give me ideas..give me …
932 views
Kerkhoff
February 01, 2006
Update....
Just to keep you informed...

I'm rewriting all the Predator Engine... =D

There was very bugs and the code organization was going to the hell..

I'm writing carefully all components and after the primary controls be ready...I'll post the demo here...

Firstly I would like to left done:

PPanel,
PButton (done…
1,026 views
Kerkhoff
January 27, 2006
Let's play... = )
Ladies and gentlemans..

I present you..

the Predator Engine =P

(clap clap clap clap)

thanx...thanx =D

Ok...

Download it from this address

and test what we got until now..

I made the follow components..

PLabel
PPanel
PButton
PProgressBar

no laughs please...I haven't much time = (

test and send me the bugs and new…
989 views
Kerkhoff
January 20, 2006
We can do something now =P
Hi my friends...

After this late in post here...

I bring some news...

The PLabel class supports the Outline Fonts, Bitmap Fonts and Texture mapped fonts..

the PPanel class is almost done, it's working now, except by some details that I'll implement tomorrow, like caption align, borders visible, etc...

t…
783 views
Kerkhoff
January 11, 2006
News...and PLabel!!!
Hi...
after some days without post here, I show you the PLabel class...

PLabel: PGraphicObject


private:
unsigned int FDisplayList;

GLYPHMETRICSFLOAT FGlyphs[256];
HFONT FFont;

SColor* FColor;

std::string FCaption;
std::string FFontName;

int FSize;
int FWeight;

bool FWireFrame;
bool FItalic;
893 views
Kerkhoff
January 09, 2006
Predator namespaces!!!
Hi...

This is like our 2d engine looks after namespace organization:



namespace Predator
{
namespace Common
{
PDefines
PList
PStack
PStructs
}
namespace System
{
PDevice
PInputDriver
PKeyboardDriver
PMouseDriver
}
namespace Drawing
{
IVideoDriver
PGraphicObject
818 views
Kerkhoff
January 06, 2006
A little doubt
Hi everyone..

I have spent my time reading about create my own engine and use some of existents...

I think about and get in none result = (

I'm here to ask you, what you think?

however...
my next mission is dismember my engine in namespaces,

tomorrow I'll show the engine's new organization

I hope you like…
826 views
Kerkhoff
January 03, 2006
PLayer
Hi my friends...

this is my first post in 2006 =D

I present you the PLayer class:

PLayer : PInputEventReceiver


private:
PList* FGraphicObjects;

std::string FLayerID;
SColor* FColor;
public:
PLayer(std::string ALayerID, SRect* ABounds, IVideoDriver* AVideoDriver);
std::string GetLayerID(void);
vo…
874 views
Kerkhoff
December 31, 2005
Happy new year!!!
Hi everyone...

I'm in home yet...so...I cannot write any code here heheheu

Monday I'll continue our engine and write new content =D

I would like wish you a happy new year =D

byeee
748 views
Kerkhoff
December 29, 2005
What about a visual look!!
Hi everyone..

I'm home and without my computer with the codes, so...I decided improvise some visual look of our engine...

Above, the images with what we have until now...

Structs





Drivers



Graphics



Well my friends...I don't know what I'll write until monday, I'm without the computer with the codes...so...b…
866 views
Kerkhoff
December 28, 2005
Our first Main.cpp
Hi everyone, I'm a little hurried, so I will just write here our first main.cpp =D

We can already create some windows and show...

If you are following the previous days, check how simple is the code:


#include "PStructs.h"
#include "PDevice.h"

int main()
{
PDevice* MainApplication= new PDevice(vdOpenGL);…
733 views
Kerkhoff
December 27, 2005
PWindow and IVideoDriver
Hi, how are you??

well, proceeding, let me explain the IVideoDriver class...

Check out the code:

IVideoDriver


public:
virtual void RestoreDefaultSettings(void) = 0;
virtual void PrepareScene(void) = 0;
virtual void DrawScene(HDC AHDC) = 0;
virtual void ResizeDriver(SRect* ADimension) = 0;

virtual …
770 views
Kerkhoff
December 26, 2005
PGraphicObject and PInputEventReceiver
Today I should explain the PWindow class and IVideoDriver interface..but...looking the project, I decided to show the PGraphicObject (all the graphic objects will derive from it, so...) and the PInputEventReciever first, because the PWindow class derives from PInputEventReciever =D

Check the code:

PG…
722 views
Kerkhoff
December 25, 2005
The PDevice Class
Well, yesterday, because my xmas party, I didn't post here =D

But, like I said, here is my first engine description:

The code:

S[name_of_class] = Classes that describe structs;
P[name_of_class] = Standard classes;
I[name_of_class] = Interfaces;

EN[name] = Enumerators;

F[name] = Attributes;
A[Name] = Parame…
808 views
Kerkhoff
December 23, 2005
My first entry
Hi, my name is Matheus Von Der Kerkhoff, I'm new in game programming.

For this day forward, my journal will show you a little bit about my experience in the game programming world.

My first project is a graphical engine 2D, in C++.

My idea is quite simple. First, I need to make a little engine, and af…
1,093 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement