update consts to reflect the new sprite size
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
; map size 16x12 (or 15x11 with margins)
|
||||
pub const map.width = 15
|
||||
pub const map.height = 11
|
||||
pub const map.size = 165 ; 11*15
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
; given:
|
||||
; - 16x12 tiles map
|
||||
; - 5x5 pixels tile
|
||||
; -> 256x192 pixels screen
|
||||
; -> 15x11 tiles map
|
||||
; => 17x17 pixels tile
|
||||
|
||||
pub const scene.margin_top = 2
|
||||
pub const scene.margin_bottom = 3
|
||||
pub const scene.margin_left = 2
|
||||
pub const scene.margin_right = 3
|
||||
pub const scene.margin_top = 0
|
||||
pub const scene.margin_bottom = 0
|
||||
pub const scene.margin_left = 0
|
||||
pub const scene.margin_right = 0
|
||||
@@ -20,7 +20,7 @@ pub const screen.mode_index = 0
|
||||
pub const screen.mode_value = 2
|
||||
pub const screen.offset_index = 1
|
||||
pub const screen.resolution_index = 2
|
||||
pub const screen.resolution_value = 0
|
||||
pub const screen.resolution_value = 2
|
||||
|
||||
pub const screen.width = 80
|
||||
pub const screen.height = 60
|
||||
pub const screen.width = 256
|
||||
pub const screen.height = 192
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
pub const sprites.width = 5
|
||||
pub const sprites.height = 5 ; unused as sprite are all square
|
||||
pub const sprites.size = 25 ; height x width
|
||||
pub const sprites.width = 17
|
||||
pub const sprites.height = 17 ; unused as sprite are all square
|
||||
pub const sprites.size = 289 ; height x width
|
||||
|
||||
pub const sprites.rotation_0 = 0
|
||||
pub const sprites.rotation_90 = 1
|
||||
|
||||
Reference in New Issue
Block a user