Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

mtemple

How to Exit Game to Web Page?

This topic is 5272 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Gents, I need to be able to have my game exit and then go to my web page in Windows. Even better, I would like to be able to have the user''s default web browser called and then have it go to my URL. I don''t really care if this process causes my game to exit, of if it just loses focus. My game runs in full-screen mode under Windows. I am using C in Visual Studio 6.0. Any help would be greatly appreciated. I was unsure which programming forum to place this in, so I put it in both. Thanks in advance to all you geniuses out there!! Mark Temple Enemy Technology "We have found the enemy, and he is us!"

Share this post


Link to post
Share on other sites
Advertisement
ShellExecute()

Pass the web address as the filename and "open" as the operation.

Now you know how to do it, why do you want to? Won't this be a bit annoying for the user?



[edited by - Sandman on June 7, 2004 1:57:28 PM]

Share this post


Link to post
Share on other sites
Yes, it would be very annoying, except that this is for the screen that will appear at the end of the demo game. It will be attached to the "Buy", or "More Info" button in case the user liked the demo enough to buy the full game (hope...hope), or just wants more information! In either case, it will be pretty obvious what the buttons do. I wouldn''t just yank him out of the game to piss him off!
Thanks for the information! There is a demo on my site right now, but it is very old. I will have the new one there in about two weeks. Take a look in about two weeks if you have the time or the interest. It''s at www.enemytechnology.com.
Thanks again Sandman!!!



Mark Temple
Enemy Technology

"We have found the enemy, and he is us!"

Share this post


Link to post
Share on other sites
You may want to consider not giving away plot points like that on your website.

Also, "When this is done at about mid-point of the single-player campaign, the player will discover that he is just a porn in a master plan of treachery, betrayal and more."

Share this post


Link to post
Share on other sites
Thanks spg! Nice catch on PORN! It''s been fixed. I''ve looked at that so many times and didn''t see it. Which plot points specifically do you think I should drop? There are still some major plot twists remaining and I just want to whet the appetite. But does it make you feel like you have too much info?

Thanks for the input!



Mark Temple
Enemy Technology

"We have found the enemy, and he is us!"

Share this post


Link to post
Share on other sites

This topic is 5272 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!