|
Some recent topics started on our forums |
Pong!
|
Hi guys,
Yes, i know it looks terrible, but its my first game!
Running a blog about it on http://www.spikedsoftware.co.uk/blog/ so that fellow newbies can create it :)
SDL 1.2, SDL_TTF, OpenGL, C++, all in Eclipse on Ubuntu 8.10 |
Posted January 7, 2009 9:09:25 PM
|
Is this the best way? (Textured Objects, C++ SDL/OGL)
|
Hi guys,
Been a member for a while, lost my account though, so here i am re-incarnated!
Anyway, just a couple of questions on best practises really.
I have 4 3D objects that i render to the screen (Running in glOrtho mode), 2 Paddles, 1... |
Posted January 5, 2009 7:35:49 AM
|
View All Topics Started By This User
|
|
Some recent replies made on our forums |
c++ or c# is future trend of game programming?
|
Well, C# is a good language, but it requires another layer to execute the code, as it only gets compiled to MSIL, so then the virtual machine will compile that to machine code at runtime.
C++ is always compiled, and is much better for cross-p... |
Posted January 19, 2009 11:24:48 AM
|
Beginning OpenGL Game Programming Ex
|
Hey,
I've still yet to buy a book on OGL, i have many on DirectX, but never really got into it.
OpenGL is my current hobby, i've started a blog on http://www.spikedsoftware.co.uk about writing a Pong clone, next i'm going to be w... |
Posted January 16, 2009 3:13:34 PM
|
Is this the best way? (Textured Objects, C++ SDL/OGL)
|
Hey guys,
Just like to say a big thanks to everyone.
Heres my Pong! Going blog about it...
Pong |
Posted January 5, 2009 5:09:19 PM
|
Is there an easy way to detect a memory leak?
|
Quote:Original post by SiCrane
The easiest way to do basic leak checking in MSVC is to use the CRT debug functions. In this case you'd probably want to use _CrtSetDbgFlag() to create a leak check on program exit. Ex:
#include <crtdbg.h>... |
Posted January 5, 2009 2:02:14 PM
|
Is this the best way? (Textured Objects, C++ SDL/OGL)
|
Quote:Original post by NineYearCycle
Its common to separate the texture and geometry of a model from the logical existence of an entity/object.
So for example, you have two paddles called player1 and player2. In your case you might be using the s... |
Posted January 5, 2009 8:55:18 AM
|
Is this the best way? (Textured Objects, C++ SDL/OGL)
|
Quote:Original post by stein
Also, consider moving your translation code (pos += velocity) into a seperate Update() function or similar :)
Imagine the case where you'd want to render the same 'object' more than once.
Might be me being silly... |
Posted January 5, 2009 8:36:18 AM
|
Is this the best way? (Textured Objects, C++ SDL/OGL)
|
Quote:Original post by Bear777
Afaik there is nothing to improve to your code. Personally I wouldn't choose "Object" as a class name, since an object is really an instance of a class, or in Java, it's the root class. I would go with "Entity" or "Ele... |
Posted January 5, 2009 8:26:04 AM
|
View All Replies Made By This User
|