SDL2-Tile and Char not displaying

01/19/2017 16:18 Vinek#1
Hello board,

I've created my first "game" with SDL2, at the beginning everything works fine, and now where I added some more graphics the charakter disappears and the "map" that I created doesn't display correctly.
Can somebody help me?


So ich habe mein erstes "game" mit SDL2 erstellen wollen, am anfang verlief alles gut und alles funktionierte und als ich damit begang Tiles und so weiter mit einzubinden verschwand aufeinmal der Char und die Tiles werden komplett falsch dargestellt kann mir da vllt jemand helfen?

Source code:
[Only registered and activated users can see links. Click Here To Register...]
01/21/2017 11:40 wurstbrot123#2
Havent looked at it but keep in mind that you need to draw in the right order.
The last thing drawn is always drawn on top of everything else.
01/21/2017 18:40 .Scy#3
Create a public github(or similar) repo for the code, don't provide code as a .rar. github and similar provide a file-viewer so everyone can see your sourcecode without downloading it.