PDA

View Full Version : How to create a flash game using OpenGL with C++



Ravikishore
04-10-2012, 12:23 AM
Hi all,

I wants to create a game using OpenGL with C++. The link below shows the flash game. I am eager to create this in 3D using OpenGL with C++. Please give me some Ideas regarding this.

Flash game (http://www.albinoblacksheep.com/games/bloxorz)


Sorry for my bad English.

Advance thanks.

V-man
04-10-2012, 06:43 AM
http://www.opengl.org/discussion_boards/...an=3#Post305969 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=305969&an=3#Pos t305969)

Especially this part,

4: Clearly state your problem in your text. Make sure to include all relevant details. If you have only written single paragraph, thatís probably not enough detail. A single sentence is completely out of the question. While overdoing the detail is possible, itís better to put too much detail in than not enough detail.

menzel
04-12-2012, 05:06 AM
If not already done, learn C++ and OpenGL. If you have problems designing the games architecture, read a book about gameengine design. If you have specific OpenGL related problems, post them here.

Ravikishore
04-17-2012, 12:15 AM
Hi Thank you all for your reply's.

Basically i want to develop the rotation and translate of cube based on the pressing of arrow keys.
Based on the arrow key pressed the cube will rotate in that direction and translate based on the pivot position. If you didn't understand please click on the link below. I am not getting the exact idea on this. I am planning to develop using OpenGL and C++.

http://www.albinoblacksheep.com/games/bloxorz

Thank you in advance

menzel
04-17-2012, 02:56 AM
Getting keyboard input is not part of OpenGL, look up the documentation of your preferred GUI toolkit for that.

For the translation/rotation itself, look up how to create the corresponding matrices. That's basic math and is handled in nearly all OpenGL tutorials as well (unless they are outdated and begin with glRotate etc.).