The voting has begun for the car race dev competition I entered a while back at SDLTutorials.com. Try out the entries and vote for whatever one you like the most.
7 thoughts on “SDLTutorials.com car contest”
Comments are closed.
The voting has begun for the car race dev competition I entered a while back at SDLTutorials.com. Try out the entries and vote for whatever one you like the most.
Comments are closed.
I voted for yours, cause i think it wins by cleanliness, it looks great, it was fun, and it looks more polished than the others.
I would so like to try your entry, but i keeps crashing 🙁
please help me
Greetz
Jbw
I saw your comment on the site but I’m not sure what would be causing it. Does it work if you comment out the contents of Game_setuptext() or does it just fail at the next images it tries to load? Could you try editing the the addresses for the files the game loads (the font images in game_text.h, the other images in game_setup.h and the map in game_main.h) to whatever their absolute address is instead of being relative?
i got image loading in debug mode working by adding these lines to the init() function
int flags = IMG_INIT_PNG;
int initted = IMG_Init(flags);
if(initted != flags) {
printf(“IMG_Init: %sn”,IMG_GetError());
}
in release IMG_Init failes…
in debug menu displays fine, musics working but
when playing, only car arrow and goals are displayed, the ground is pure black
btw: my os is win7 64bit
greetz
jbw
Is map.dat in the same folder as the executable? Sorry if it wasn’t obvious that it needed to be. I know I really should have been stored in the media folder like everything else…
a step forward…
at least it tries to load it.,. and then crashes again with a heap error?
the ifstream filebuffer is still empty after loading
also tried fopen to check if the file is loaded , but it isn’t
i even tried putting it in
c:map.dat
also tried with different files!?
none of them gets loaded o.0
iam gonna try to put the source in a new project maybe it will help ?
i’ll post soon
greetz
jbw
nope, no way to make this work 🙁
i give up
sorry i bothered you 😐
greetz
jbw