Revert "Added new map renderer"

This reverts commit 52fbf45ba0.
This commit is contained in:
infinitefusion
2022-05-08 17:40:07 -04:00
parent ad2bd31b51
commit ad112a4b27
8 changed files with 25 additions and 890 deletions

View File

@@ -301,13 +301,13 @@ class Game_Character
# Screen position of the character
#=============================================================================
def screen_x
ret = ((@real_x.to_f - self.map.display_x) / Game_Map::X_SUBPIXELS).round
ret = ((@real_x - self.map.display_x) / Game_Map::X_SUBPIXELS).round
ret += @width * Game_Map::TILE_WIDTH / 2
return ret
end
def screen_y_ground
ret = ((@real_y.to_f - self.map.display_y) / Game_Map::Y_SUBPIXELS).round
ret = ((@real_y - self.map.display_y) / Game_Map::Y_SUBPIXELS).round
ret += Game_Map::TILE_HEIGHT
return ret
end