| View previous topic :: View next topic |
| Author |
Message |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 1:00 am Post subject: Quick Q? c++? |
|
|
Ok, so I just coded my own 2d game and such in VC++ 08. It runs perfectly in MSC++ when I debug (F5) no errors and such. But when I go to the default location of where I save it and double click it, the game runs as a black screen any clues to why?
Edit: Nevermind I think -.-? Do I just have to have all the files(bitmaps) and the exe in one folder?
_________________
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun Mar 01, 2009 2:08 am Post subject: |
|
|
no one can actually help you lol what you think ppl can read your mind? u gotta post code etc..
btw nice portal from diablo brings back memories.
_________________
|
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 2:11 am Post subject: |
|
|
| pkedpker wrote: | no one can actually help you lol what you think ppl can read your mind? u gotta post code etc..
btw nice portal from diablo brings back memories. |
Oh my bad. -.-
And Thanks, I love diablo2
That is the source of my game.
It debugs in VC++08 no errors, But when I go and get the Actual exe and run it. Its just black.
Also if you havn't noticed it is very simple, my first game -.-
_________________
Last edited by Rur3k on Sun Mar 01, 2009 2:51 am; edited 1 time in total |
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun Mar 01, 2009 2:24 am Post subject: |
|
|
yah must be one of those microsoft game development kits.. anyways yah you might be right if it works good in debug mode that means pictures are in the debug folder.. you have to also copy/paste them into release folder where the final exe is created.
_________________
|
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 2:26 am Post subject: |
|
|
| pkedpker wrote: | | yah must be one of those microsoft game development kits.. anyways yah you might be right if it works good in debug mode that means pictures are in the debug folder.. you have to also copy/paste them into release folder where the final exe is created. |
Yup yup, Thanks for the help +Rep man. Plus you play/played diablo2
_________________
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun Mar 01, 2009 2:28 am Post subject: |
|
|
but did it help... my help lol maybe i have no idea what i am talking about since your code is .. yah better wait for someone else.. i'd rep you back
_________________
|
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 2:29 am Post subject: |
|
|
| pkedpker wrote: | | but did it help... my help lol maybe i have no idea what i am talking about since your code is .. yah better wait for someone else.. i'd rep you back |
But I tried putting them all in one folder, before you even said it and it worked, so I know this is the reason :p
_________________
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun Mar 01, 2009 2:31 am Post subject: |
|
|
sweet make a good game lol maybe make it even multiplayer.
_________________
|
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
|
| Back to top |
|
 |
Deve Expert Cheater
Reputation: 0
Joined: 20 Jan 2007 Posts: 245 Location: Stockholm, Sweden
|
Posted: Sun Mar 01, 2009 5:17 am Post subject: |
|
|
Why dont you include all the images inside the program?
_________________
Leecher. |
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 5:45 am Post subject: |
|
|
| develito wrote: | | Why dont you include all the images inside the program? |
I did?
_________________
|
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Sun Mar 01, 2009 5:53 am Post subject: |
|
|
I think he means in the exe.
You can include them in your resource file.
|
|
| Back to top |
|
 |
Rur3k Expert Cheater
Reputation: 0
Joined: 19 Aug 2008 Posts: 235 Location: HaHaVille Maryland
|
Posted: Sun Mar 01, 2009 7:04 am Post subject: |
|
|
| tombana wrote: |
I think he means in the exe.
You can include them in your resource file. |
Oh how, Like I stated previously, I am new to this.
_________________
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun Mar 01, 2009 2:15 pm Post subject: |
|
|
game doesn't start up on my computer says configuration is incorrect or something like that..
| Description: |
|
| Filesize: |
82.15 KB |
| Viewed: |
6711 Time(s) |

|
_________________
|
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
|
| Back to top |
|
 |
|