From ce8b533f6fb0b8437e41ac9b711223f6ac4daf2a Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 22 Nov 2014 15:43:31 -0600 Subject: [PATCH] modified: 16/modex16/scroll.c modified: 16/modex16/scroll.exe --- 16/modex16/scroll.c | 4 +++- 16/modex16/scroll.exe | Bin 19296 -> 19296 bytes 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index 6f44f399..33965008 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -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 //to stop scrolling and have the player position data move to the edge of the screen with respect to the direction //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--; } } - //modexDrawBmp(draw->page, player.x, player.y, &bmp); + modexDrawBmp(draw->page, player.x, player.y, &bmp); //modexShowPage(draw->page); } diff --git a/16/modex16/scroll.exe b/16/modex16/scroll.exe index fff217e53f0050c6becee79657ac8f1e89f66e42..9539ab01f1dc0a4a92009e7d24f38bff4019bdfc 100755 GIT binary patch delta 1398 zcmZ8hZBSHI7(Va4`-Q+R9}BxI?6P9Q8sNH=h~OfGUPBBCMgozKN}Fbyp)yt`N06D7 zA9vPe#M4OHpBm&xA7*u@y6j}(Zll)Z3=)HiS!7xVFF0h0xEi-}cXgWS%$#%H=lwj- zd(NDxBQSLY4jETiQV_DE=;%&Bs3j4h6I8c06`_-K%5*L>AynV*HZ|T$u6wq&{<&@Z z4eyLY1Vp|`2-uM5K>j^*B$4%VbEHgJdG5NHMU@N0lH}tSiC`f0TK}F)#HjOgmw4`X zfA@7SH)VHSagF)8>m;lH#EO?**C`o)Na!8$Y!jbBBuJ%>YTrgx@5sJNwGp`;sH>b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