RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
Captain Vimes
Grumble Teddy


Joined: 12 May 2006
Posts: 225
Location: The City Streets

PostPosted: Tue May 23, 2006 9:11 pm    Post subject: Help me, please! [quote]

I have a huge problem!!! You remember that one topic on the guy who made an RPG in one week? I think it was called "Hackenslash". I have to make a video game BY TOMMOROW. The programming is done, but when I run the program it says that it has performed an illegal operation and will be shut down! Plus, once it worked, but the sprites would not appear on-screen. The background was visible, and the 0 for the score was in the upper-right, but it wouldn't run! Please, anyone who can help, tell me anything that might possibly help! This game must be done by TOMORROW!!! It's very simple, but I can't make stuff appear! This problem has also happened with all my other games.

I think the problem is with the resource file. How do you set it up so that a program can use graphics? I have it like this:

Code:

IDB_WALKLEFT       BITMAP     "WalkLeft.gif"


I even included the .gif files in the project. Is this the problem with my games?
_________________
"Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
Back to top  
LeoDraco
Demon Hunter


Joined: 24 Jun 2003
Posts: 584
Location: Riverside, South Cali

PostPosted: Tue May 23, 2006 10:38 pm    Post subject: [quote]

Not to put too fine a point on it, but I'm not entirely sure how, exactly, you want us to help if you do not provide some basic information about your project; namely, the following questions come to mind as you have not provided any answer for them:

  • What language are you coding this in?
  • What graphics API are you using to display things?
  • What compiler are you working with? (Not all compilers for a given language are equal; you mention resource files, so is this a Visual Studio oriented project, or possibly something to do with allegro? (Not that the latter has anything to do, per se, with compilers; I seem to recall that particular API having some sort of resource file...))
  • What type of game are you making?
  • Have you tried running your program through a debugger, to determine where it is performing the illegal operation? (Note on this one: if you are using a lower level language, such as C or C++, this very well might be due to some code you wrote dereferencing a null pointer.)


You are frantic; I certainly get that vibe and can sympathize; however, you shall not get any useful help if you do not provide enough information for us to run with: not all programs do the exact same thing, and not all graphics programs fail for the exact same reason.
_________________
"...LeoDraco is a pompus git..." -- Mandrake
Back to top  
RuneLancer
Mage


Joined: 17 Jun 2005
Posts: 441

PostPosted: Tue May 23, 2006 11:48 pm    Post subject: [quote]

Amusingly enough, LeoDraco raised the exact same points I did on RPG-Dev, save for the type of game. :P

OSes should have a feature built into them that detects when a computer-related question (especially a programming-related question) is being asked and automatically flashes in big red letters "PROVIDE MORE INFO!" Always.
_________________
Endless Saga
An OpenGL RPG in the making. Now with new hosting!

Back to top  
Captain Vimes
Grumble Teddy


Joined: 12 May 2006
Posts: 225
Location: The City Streets

PostPosted: Wed May 24, 2006 3:01 pm    Post subject: [quote]

Yeah, but it's too late now... I have to present this in about an hour, so I printed the code and gave a game synopsis. It's in Win32 API. Developed it on the Bloodshed Dev-C++ 4.9.8.0. Thanks for trying to help, anyway. And RL, I had to get off after a while and I guess I didn't read your posts on RPG-Dev. Thanks for trying though, guys.
_________________
"Sometimes it is better to light a flamethrower than to curse the darkness."
- Terry Pratchett
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum