Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Important programming truths ;) Pin
Tim Smith11-Dec-05 6:39
Tim Smith11-Dec-05 6:39 
GeneralRe: Important programming truths ;) Pin
Bob Stanneveld11-Dec-05 7:48
Bob Stanneveld11-Dec-05 7:48 
GeneralRe: Important programming truths ;) Pin
Hamed Musavi11-Dec-05 18:06
Hamed Musavi11-Dec-05 18:06 
GeneralRe: Important programming truths ;) Pin
Bob Stanneveld12-Dec-05 2:56
Bob Stanneveld12-Dec-05 2:56 
GeneralRe: Important programming truths ;) Pin
Hamed Musavi12-Dec-05 6:40
Hamed Musavi12-Dec-05 6:40 
GeneralRe: Important programming truths ;) Pin
Lord Kixdemp14-Dec-05 12:20
Lord Kixdemp14-Dec-05 12:20 
QuestionOpenGL 2D tutorial? Pin
Lord Kixdemp10-Dec-05 9:29
Lord Kixdemp10-Dec-05 9:29 
AnswerRe: OpenGL 2D tutorial? Pin
El Corazon10-Dec-05 11:47
El Corazon10-Dec-05 11:47 
As far as a tutorial goes, there is not much difference. Instead of using depth in perspective, you use layers for 2D games and build up from there. Your background layer is a long multi-texture graphic, usually sectioned for culling efficiency. You build on top of that your objects. In an orthographic projection, covered in most 3D tutorials all layers are equisized, no perspective shrinking, so you use the depth buffer only for layering. But all in all it is really not that different from 3D games, consider it a top down only view of a 3D game, and all the tutorials will pretty much work even if they are in 3D.

Some 2D engines to make your life easier:
http://www.phelios.com/ptk/[^]
http://goldenstudios.or.id/products/GTGE/index.php[^]

otherwise, as I said, put the projection in orthographic, and use a 3D engine/tutorial.

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
GeneralRe: OpenGL 2D tutorial? Pin
Lord Kixdemp10-Dec-05 18:07
Lord Kixdemp10-Dec-05 18:07 
GeneralRe: OpenGL 2D tutorial? Pin
El Corazon10-Dec-05 18:26
El Corazon10-Dec-05 18:26 
QuestionPreventing a property sheet from highlighting the OK button. Pin
paper6710-Dec-05 9:04
paper6710-Dec-05 9:04 
QuestionFlickering in Screen while drawing Pin
Sanjoy Sinharoy10-Dec-05 8:19
Sanjoy Sinharoy10-Dec-05 8:19 
AnswerRe: Flickering in Screen while drawing Pin
Jörgen Sigvardsson10-Dec-05 13:38
Jörgen Sigvardsson10-Dec-05 13:38 
QuestionCString and Huge SQL Queries Pin
sdancer7510-Dec-05 6:54
sdancer7510-Dec-05 6:54 
AnswerRe: CString and Huge SQL Queries Pin
Michael P Butler10-Dec-05 8:03
Michael P Butler10-Dec-05 8:03 
AnswerRe: CString and Huge SQL Queries Pin
David Crow10-Dec-05 16:41
David Crow10-Dec-05 16:41 
AnswerRe: CString and Huge SQL Queries Pin
Tim Smith11-Dec-05 6:41
Tim Smith11-Dec-05 6:41 
AnswerRe: CString and Huge SQL Queries Pin
AORD11-Dec-05 21:09
AORD11-Dec-05 21:09 
GeneralRe: CString and Huge SQL Queries Pin
sdancer7511-Dec-05 22:34
sdancer7511-Dec-05 22:34 
Questionplease help me Pin
dSolariuM10-Dec-05 4:23
dSolariuM10-Dec-05 4:23 
AnswerRe: please help me Pin
Alex Orovetskiy10-Dec-05 6:08
Alex Orovetskiy10-Dec-05 6:08 
AnswerRe: please help me Pin
Curtis Schlak.10-Dec-05 11:09
Curtis Schlak.10-Dec-05 11:09 
QuestionButton press simulation Pin
paper6710-Dec-05 3:36
paper6710-Dec-05 3:36 
AnswerRe: Button press simulation Pin
squidev10-Dec-05 8:03
squidev10-Dec-05 8:03 
GeneralRe: Button press simulation Pin
paper6710-Dec-05 8:44
paper6710-Dec-05 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.