News

Log In Sponsors
Partner Sites





Re: i have a serious problem, you can help easily



I'm not sure what your programming in I get the feeling its cpp with visual studio or something of which I haven't a clue about, but when programming games in SDL for movement left to right theirs usually an x movement varible which depending on how far you want it to move is 1+ now if you want it to move right to left its the same except you find the varible which you wish to change and replace its positive number with a negative, -1 or -15 yet again depends on how much you want it to move. Hope this helps and sorry I can't help any further

Click here to read the whole forum topic