Jump to content

Welcome to #AfterLife.Gaming Community
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Little game

- - - - -

  • This topic is locked This topic is locked
55 replies to this topic

#1
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland
Just a few pics from my simple game.

Material system
Posted Image


World rendering... multi texturing, lighting, multiple models, UV mapping etc.
Posted Image



What do you think? :P
  • 0
Spoiler

 

#2
Lossy

Lossy

    I have to pay for bandwidth

  • Senior Admin (80)
  • 2248 posts
  • Gender:Male
  • Location:Earth
First game? Looks good so far!
  • 0

#3
Pønor ø.ø

Pønor ø.ø

    Your member title is shown beside posts you make

  • Member (5)
  • 6119 posts
  • Gender:Male
  • Location:Fluffy :o
interesting

what are you using to create it?
  • 0

#4
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland
I'm using Visual C++ 2005 Express with GLEW & GLFW libraries.
The engine i made is still WIP and i'm having little performance issues but its getting better and better every day :)
  • 0
Spoiler

 

#5
Lossy

Lossy

    I have to pay for bandwidth

  • Senior Admin (80)
  • 2248 posts
  • Gender:Male
  • Location:Earth
forgot to say, may i ask what game are you planning to make?
  • 0

#6
Pønor ø.ø

Pønor ø.ø

    Your member title is shown beside posts you make

  • Member (5)
  • 6119 posts
  • Gender:Male
  • Location:Fluffy :o
Respect!


So why are you going for C++ and openGL exactly?
  • 0

#7
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland

forgot to say, may i ask what game are you planning to make?

Can't tell you now, otherwise it wouldnt be a suprise :P


Respect!


So why are you going for C++ and openGL exactly?


Well i was thinking alot about making my own game, i want to test my skills, maybe i will learn something usefull :P
C++ is a powerfull and fast language and, in my opinion, OpenGL is way better than DirectX, it's additionaly a bit faster than it's rival and its platform independent.
  • 0
Spoiler

 

#8
Pønor ø.ø

Pønor ø.ø

    Your member title is shown beside posts you make

  • Member (5)
  • 6119 posts
  • Gender:Male
  • Location:Fluffy :o
Good enough! I'm no good with C/C++ simply because I have a very hard time to understand it properly probably because my education spend too much time in teaching high-level programming languages and haven't had any in-depth details about computers. I've tried to learn C/C++ a couple of times though I'm planning to give it another go :dave: Took me a while to understand Java as well.

However, even though OpenGL is cross-platform, not all C/C++ functions are too so you have to pay attention to what functions you use :dave:

If I'd had to create a 3d game I'd either go for XNA (Microsoft's game framework for C# which uses DirectX which you can also publish for Xbox) or OpenGL and Java because I'm familiar with C# and Java :dave: Muchos respect for using C/C++. Please keep us posted!
  • 0

#9
Redy

Redy

    Yes, I was here.

  • Member (5)
  • 3227 posts
  • Gender:Male
  • Location:Sweden
Topic Moved.

Looks good so far. Although I want some details before I say anything else.
  • 0

#10
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland

However, even though OpenGL is cross-platform, not all C/C++ functions are too so you have to pay attention to what functions you use :dave:


You're right but now im not using platform dependent libs in project (even not windows.h) because GLFW library handles windows.
Better file system will require os dependent libs like "direct.h" for windiws but linux has its equilvant which is nearly the same.

CVar.RegisterCvar( &r_drawgrid );

	bpp = (int)r_bpp.value; // bytes per pixel
	setScreenSize( (int)r_width.value, (int)r_height.value );

	if( !glfwInit() )
	{
		Com.Error( "Failed to initialize GLFW" );
	}
	if( !glfwOpenWindow( width, height, 0,0,0,0, bpp, 0, fullScreen ) )
	{
		glfwTerminate();
		Com.Error( "Failed to open GLFW window" );
	}
	if( glewInit() != GLEW_OK )
	{
		Com.Error( "Failed to initialize GLEW" );
	}

	Com.Print("\n");
	Com.Print( "Vendor	 : %s\n", glGetString( GL_VENDOR ) );
	Com.Print( "Renderer   : %s\n", glGetString( GL_RENDERER ) );
	Com.Print( "Version	: %s\n", glGetString( GL_VERSION ) );
	Com.Print( "Extensions : %s\n", glGetString( GL_EXTENSIONS ) );
	Com.Print("\n");

  • 0
Spoiler

 

#11
Jules

Jules

    You serious?

  • Senior Admin (80)
  • 4961 posts
  • Gender:Female
  • Location:Tibet
  • Interests:Computer Games, Books (Fantasy), Friends, Cinema, Photography, Writing, Thinking

C++ is a powerfull and fast language and, in my opinion, OpenGL is way better than DirectX, it's additionaly a bit faster than it's rival and its platform independent.


C language +OpenGL sucks :bleh: I have a project to do in openGL (make an avatar, walking running sitting and some iddle animations) and it is very, very bad :(

Well, it's not that hard to do things, but the animations are hard... The teacher just gave us the subject, some bits of code, and let us do everything... We were all like wtf? we have no idea how to use that thing!




Owell, respect for trying by yourself! Do keep us posted!
  • 0
Posted Image
Spoiler

#12
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland

C language +OpenGL sucks :bleh: I have a project to do in openGL (make an avatar, walking running sitting and some iddle animations) and it is very, very bad :(

Well, it's not that hard to do things, but the animations are hard... The teacher just gave us the subject, some bits of code, and let us do everything... We were all like wtf? we have no idea how to use that thing!




Owell, respect for trying by yourself! Do keep us posted!



Hahaha animations? :D Be tricky and load MD3 with keyframe animations.
Each frame stores verticles in their "animated" position so you only have to calculate timing ;p
  • 0
Spoiler

 

#13
Jules

Jules

    You serious?

  • Senior Admin (80)
  • 4961 posts
  • Gender:Female
  • Location:Tibet
  • Interests:Computer Games, Books (Fantasy), Friends, Cinema, Photography, Writing, Thinking
That's not in C... it's C++

C is not an object oriented language... whereas C++ is. It's much more complicated than that! And I don't use the same libraries as you do either (we use gl.h, glu.h and glut.h)
We have to go through making a huuuuuuge table to store all the positions of all our angles (one for each part and each articulation of a human body... It's like 50 variables for lengths and angles) at precise timings (or steps), so that it can be animated...

To do our avatar, we got more than 1000 lines of code, and it only walks for now. We can't even control where he walks yet... We still have to do collisions, controlling the walk, running, take an object in hand and sitting on a chair... the idle animations are last (we'll make ours dance or sthg)
  • 0
Posted Image
Spoiler

#14
SliZe

SliZe

    Stationary Assassin

  • Member (5)
  • 4230 posts
  • Gender:Male
  • Location:Norway
Nice Braxi!

I sould realy start learning programming again :P
  • 0
Posted Image

Come closer, and I will SliZe You!

My Portofilio: http://slize.net

Just ask me if you want a sig!
X-Fire: nico1375

Spoiler


CoD4 Admin

#15
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland
Dat_GL... i was wondering why my text was rendered incorrectly and after some time i found this:
Posted Image


Dem GL loaded it upside down!




Now it's correct
Posted Image
  • 0
Spoiler

 

#16
SliZe

SliZe

    Stationary Assassin

  • Member (5)
  • 4230 posts
  • Gender:Male
  • Location:Norway

Dat_GL... i was wondering why my text was rendered incorrectly and after some time i found this:
Posted Image


Dem GL loaded it upside down!

Tought it was russian at first :P
  • 0
Posted Image

Come closer, and I will SliZe You!

My Portofilio: http://slize.net

Just ask me if you want a sig!
X-Fire: nico1375

Spoiler


CoD4 Admin

#17
BraXi

BraXi

    Regular guy

  • ViP Member (20)
  • 109 posts
  • Gender:Female
  • Location:Poland
Some updates:

- made own 3d model format and written smd2bxmdl converter
- implemented gl shading language (both vertex and fragment shaders)
- rewritten rendering code to improve performance (for me its two times faster now) :happycry:
- better camera movment
- meshes are now textured automatically
- removed lots of lighting code as i will use shaders
- fixed matrices ^^
- supplied classes with constructor and destructor
- written cvar (aka. dvar) system
- managed to play sounds :sir:
  • 0
Spoiler

 

#18
Lossy

Lossy

    I have to pay for bandwidth

  • Senior Admin (80)
  • 2248 posts
  • Gender:Male
  • Location:Earth

Some updates:

- made own 3d model format and written smd2bxmdl converter
- implemented gl shading language (both vertex and fragment shaders)
- rewritten rendering code to improve performance (for me its two times faster now) :happycry:
- better camera movment
- meshes are now textured automatically
- removed lots of lighting code as i will use shaders
- fixed matrices ^^
- supplied classes with constructor and destructor
- written cvar (aka. dvar) system
- managed to play sounds :sir:


Tell us what your making!! :fff:
  • 0

#19
xfearz

xfearz

    I'm starting to spam!

  • Moderator (30)
  • 385 posts
  • Gender:Male
  • Location:UK
Nice braxi! :D And did i just see your pc at 1000fps... :trollfrog:
  • 0

tumblr_lif098MgZF1qcto4p.gif


#20
Pønor ø.ø

Pønor ø.ø

    Your member title is shown beside posts you make

  • Member (5)
  • 6119 posts
  • Gender:Male
  • Location:Fluffy :o
smiled when you explicitly said you created destructors well done :sir:
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users