Various openGL questions
Hi, i am developing a game and i have some questions to ask.
First, i want to make a visual c application to let the user change various aspects of the game like resolution etc. How can i call this exe from inside my game( i have two .exe''s on for the game and one for the configuring application)
Second i have some data files (bmp''s).Is there a way to add them as resources to the executable? Is this a good way to "hide" them or the game will be slower?
I am using Visual studio.
You can find the game at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
Thanks a lot!
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
a good idea would be to put the graphics/other settings at the beginning of the game, similar to nehe''s basecode... check out the basecode to see how its done :D
-Mike Tiradohttp://www.vertexdub.net
Basecode? what basecode? you mean the v2 one?
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
To include resources in visual studio, follow this thread that I started:
http://www.gamedev.net/community/forums/topic.asp?topic_id=92264
http://www.gamedev.net/community/forums/topic.asp?topic_id=92264
"Basecode? what basecode? you mean the v2 one?"
this basecode... http://nehe.gamedev.net/nehegl2.asp
-Mike Tiradohttp://www.vertexdub.net
Ok, thanks for your help.
I think i understood the dialog resource from basecode2 and i hope i understood the graphics resource from jeeky''s url , although i didn''t understand what type is in
type *pData = static_cast(LockResource(hGlobal));
Thanks again!
http://www.angelfire.com/on3/ironhell3index/HellWorld.html
I think i understood the dialog resource from basecode2 and i hope i understood the graphics resource from jeeky''s url , although i didn''t understand what type is in
type *pData = static_cast(LockResource(hGlobal));
Thanks again!
http://www.angelfire.com/on3/ironhell3index/HellWorld.html
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
Apparently you didn''t read all of jeeky''s post:
"Note: "type" means a data type, such as char, float, etc."
"Note: "type" means a data type, such as char, float, etc."
Yes , i read that, but i did not understand it.What has to do with adding an image as a resource?
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
You can make the dialog to select resolution a different app, then write the settings to a file, then you use the function WinExec to start up your engine, and in your engine you load in the settings from the file.
"THE INFORMATION CONTAINED IN THIS REPORT IS CLASSIFIED; DO NOT GO TO FOX NEWS TO READ OR OBTAIN A COPY." , the pentagon
Thanks! I will try it!
Hell World Game/3d EngineFind it at http://www.angelfire.com/on3/ironhell3index/HellWorld.html
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement