Jump to content

  • Log In with Google      Sign In   
  • Create Account

BraXi

Member Since 12 Jun 2012
Offline Last Active Dec 06 2015 04:31 PM

#4984331 Sharing data between DLL and program

Posted by on 27 September 2012 - 06:53 AM

Thank you wqking ;) I owe you one Posted Image

Complete code and projects for VC++2010 are here: http://www.braxi.org/stuff/dll_library_cpp.rar


#4983122 Rendering concept

Posted by on 24 September 2012 - 12:21 AM

Thanks for feedback, I'm currently using pointers in my array and ATC your idea seems to fit into my engine. I can't write too much in this post now because I'm about to go somewhere. I will reply when i test your method. Thanks again ;)


#4971806 Game Engine Programming

Posted by on 21 August 2012 - 07:04 AM

I suggest you to start your work in following order:
  • Simple window with initialized DX renderer
  • Image loader / Material Manager
  • Timer
  • Input
  • Camera
  • Model loader / Model Manager
  • Shader Manager (load & compile hlsl shaders and use then im rendering)
  • Collision detection/physics, i suggest You to use free physics library, Newton Physics is good and free for commercial products
  • Entity manager to dynamicaly create and delete objects (for example. guns, medkits, enemies etc), this should be running at constant 30fps so it will be easier to update games over network
  • User Interface (menus, huds...)
  • Sound engine, OpenAL should be good enough to give it a try
  • Particles & effects
  • Post processing
  • Networking and prediction
This is enough to create a game, rest will depend on what else you need. I'm still creating engine for my game and so far it took me 5 months and im fighting with optimilizations and networking, networking is the worst thing you will have to deal with.


#4949308 Main menu for game

Posted by on 14 June 2012 - 03:31 PM

You are a programmer which is cleary obvious from this picture Posted Image
You make the menu as 2D image, you don't put anything there using code (like the font), you instead insert there a menu made fully by the artist in Photoshop. It will be several levels better and also faster and easier to make.

Save procedurally generated graphics for things inside the game that would be prohibitely expensive to made one by one by the artist.

Not everything is an image and code controls every aspect of the menu, as you can see here and im pretty sure that 4 images wouldnt cause any performance drop :)

[........]
	UI.drawImage( 400.0f, 100.0f, 460, 100, ALIGN_CENTER, gfx[5] ); //logo
	GLuint offset = 300;
	button( 0, 0, offset, "START NEW GAME" );
	offset += 44;
	button( 0, 1, offset, "SELECT MISSION" );
	offset += 64;
	button( 0, 2, offset, "OPTIONS" );
	offset += 44;
	button( 0, 3, offset, "CREDITS" );
	offset += 64;
	button( 0, 4, offset, "LEAVE GAME" );
	UI.drawText( FONT_DEFAULT, 790, 595, ALIGN_RIGHT, "BXEngine © BraXi 2012 [%s]", __DATE__ );



#4949285 Main menu for game

Posted by on 14 June 2012 - 02:49 PM

I'm working on mysterious OGL 3d game project with my friend and we have just finished main menu for the game.
Clouds in the background are animated and i can't show them exactly in motion and i guess you know why ^^
I would like to ask you if you like it? Maybe i should change something.... I'm waiting for your opinions Posted Image
"Awesome game logo here" is just an placeholder :P

Posted Image


PARTNERS