From d55b4f17a016ad04e99c3ba78d01a3403585deda Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 22 Nov 2014 15:24:40 -0600 Subject: [PATCH] modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe next step is animating the player and or loading the map~ --- 16/modex16/scroll.c | 10 +++++----- 16/modex16/scroll.exe | Bin 19296 -> 19296 bytes 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index 418c3ee2..55ca2ced 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -117,8 +117,8 @@ void main() { { for(q=0; q<(TILEWH/SPEED); q++) { - mapScrollRight(draw, SPEED); modexDrawBmp(draw->page, player.x+((q+1)*SPEED), player.y, &bmp); + mapScrollRight(draw, SPEED); modexShowPage(draw->page); // mapScrollRight(draw, 1); // SWAP(draw, show); @@ -142,8 +142,8 @@ void main() { { for(q=0; q<(TILEWH/SPEED); q++) { - mapScrollLeft(draw, SPEED); modexDrawBmp(draw->page, player.x-((q+1)*SPEED), player.y, &bmp); + mapScrollLeft(draw, SPEED); modexShowPage(draw->page); // mapScrollLeft(show, 1); // SWAP(draw, show); @@ -168,8 +168,8 @@ void main() { { for(q=0; q<(TILEWH/SPEED); q++) { - mapScrollDown(draw, SPEED); modexDrawBmp(draw->page, player.x, player.y+((q+1)*SPEED), &bmp); + mapScrollDown(draw, SPEED); modexShowPage(draw->page); // mapScrollDown(show, 1); // SWAP(draw, show); @@ -194,8 +194,8 @@ void main() { { for(q=0; q<(TILEWH/SPEED); q++) { - mapScrollUp(draw, SPEED); modexDrawBmp(draw->page, player.x, player.y-((q+1)*SPEED), &bmp); + mapScrollUp(draw, SPEED); modexShowPage(draw->page); // mapScrollUp(show, 1); // SWAP(draw, show); @@ -213,7 +213,7 @@ void main() { player.ty--; } } - modexDrawBmp(draw->page, player.x, player.y, &bmp); + //modexDrawBmp(draw->page, player.x, player.y, &bmp); //modexShowPage(draw->page); } diff --git a/16/modex16/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