]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/scroll.c
modified: 16/modex16/scroll.c
[16.git] / 16 / modex16 / scroll.c
index 6f44f399d8846d04e4124bdcc0153650bdc6f03f..33965008c0adab7df24ba956089b95b27b0c4f7c 100644 (file)
@@ -111,6 +111,8 @@ void main() {
        //top left corner & bottem right corner of map veiw be set as map edge trigger since maps are actually square\r
        //to stop scrolling and have the player position data move to the edge of the screen with respect to the direction\r
        //when player.tx or player.ty == 0 or player.tx == 20 or player.ty == 15 then stop because that is edge of map and you do not want to walk of the map
+       
+       //TODO: render the player properly with animation and sprite sheet
        if(keyp(77))
        {
                if(draw->tx >= 0 && draw->tx+20 < MAPX && player.tx == draw->tx + 10)
@@ -213,7 +215,7 @@ void main() {
                        player.ty--;
                }\r
        }\r
-       //modexDrawBmp(draw->page, player.x, player.y, &bmp);\r
+       modexDrawBmp(draw->page, player.x, player.y, &bmp);\r
        //modexShowPage(draw->page);\r
 \r
        }\r