Hello,
Andy here - With a very embarassing and noob-ish problem.
I've wanted to make a simple little game with some simple 2d/3d graphics (with SDL, i'm going with 2d), so i've read that SDL can be a good thing to start with. And i've been reading the
http://www.lazyfoo.net/SDL_tutorials/index.php
I have installed SDL with a Dev-C++ devpak, and also manually installed it... I've got the SDL.dll in my system32 map (i've since then removed it though) and now i have a shortcut to a .tar file in there instead.
I'm just.. Bummed. I've tried for so many weeks now to understand it at the very basics. But each new time i try - disappointment hits me.
The lazyfoo tutorial tells me to create a project - and i've done that. One time i even got a window to appear (though, just with copy+paste). But i'm so confused, i'm one of those stupid people who can't manage anything without specific and detailed explanations.
So i created the project, i saved it - and then go on to the next part, where i'm supposed to get an image on the screen. Obviously - this fails bigtime. I'm very stupid, as i've said already - and as such, the first problem i encounter is:
1 2
|
//Load image
hello = SDL_LoadBMP( "hello.bmp" );
|
Does the tutorial actually assume i have the image file called "hello.bmp" ?!
I know, i have no right to complain at the author. But for some silly people like me - things can get very confusing.
It doesn't explain how to get my own image to show up, it doesn't tell me where i should put this image? (however, common sense tells me it should be in the same folder as the project.)
I'm very close to getting panic. So; *flame shield on* would anybody like to suggest something that i should do? Or is there something i missed?
If all else fails, i would be tremendously grateful if somebody who is comfortable with SDL would like to tutor me through some of the basics.
Oh, and if you'd suggest some other library that would be easier/better - please do so!
Thanks in advance,
Andy.