Search:

Type: Posts; User: meehanmd

Search: Search took 0.01 seconds.

  1. Thread: Explosions

    by meehanmd
    Replies
    9
    Views
    2,327

    brilliant, thanks, just a few more things left...

    brilliant, thanks, just a few more things left that involve my code, not enums so i should be grand with it. thanks
  2. Thread: Explosions

    by meehanmd
    Replies
    9
    Views
    2,327

    im getting a weird error when i run this ...

    im getting a weird error when i run this



    error C2513: 'State' : no variable declared before '='


    after i write
  3. Thread: Explosions

    by meehanmd
    Replies
    9
    Views
    2,327

    oh, ok, i get that now, but what type will state...

    oh, ok, i get that now, but what type will state be or is it a seperate method in my class
  4. Thread: Explosions

    by meehanmd
    Replies
    9
    Views
    2,327

    im actually not sure how to work that frame...

    im actually not sure how to work that frame counter
  5. Thread: Explosions

    by meehanmd
    Replies
    9
    Views
    2,327

    Explosions

    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...
  6. Replies
    5
    Views
    1,025

    also, my collisions funtion is in my main program...

    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
  7. Replies
    5
    Views
    1,025

    thast what i tried but when i said (if true) 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
  8. Replies
    5
    Views
    1,025

    not drawing my bad guys

    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

    ...
  9. Replies
    6
    Views
    17,725

    thats great again, thanks

    thats great again, thanks
  10. Replies
    6
    Views
    17,725

    thats brilliant thanks. just wondering, what...

    thats brilliant thanks.
    just wondering, what exactly is sprintf and that %d thing if its not too much hassle
  11. Replies
    6
    Views
    17,725

    convert int to const char*

    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,...
Results 1 to 11 of 11