//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)
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