brilliant, thanks, just a few more things left that involve my code, not enums so i should be grand with it. thanks
Type: Posts; User: meehanmd
brilliant, thanks, just a few more things left that involve my code, not enums so i should be grand with it. thanks
im getting a weird error when i run this
error C2513: 'State' : no variable declared before '='
after i write
oh, ok, i get that now, but what type will state be or is it a seperate method in my class
im actually not sure how to work that frame counter
hi, im creating a game throught C++ using the SDL thing (ive already got a little help off you before, thanks by the way) and i was wondering if i could create a kind of explosion lasting one second...
also, my collisions funtion is in my main program and my draw method is in the class, so i sont think i can call collisions in draw
thast what i tried but when i said (if true) draw the sprites but i dont know what to put in for if false because it wouldnt run properly if it didnt know what to do at false
hi im currently making a game in C++ and SDL and i have collisions working and i was wondering if there was a way to not draw the bad guy when a collision is detected
my code for drawing is
...
thats great again, thanks
thats brilliant thanks.
just wondering, what exactly is sprintf and that %d thing if its not too much hassle
hi, i currently want to output a scoring system into a game im making through C++ and SDL the code for outputting the text onto the screen is
SDL_Surface *text=TTF_RenderText_Blended(font,...