More biome tuning. Start in middle of first generated block.
This commit is contained in:
parent
3985c3e301
commit
7393e5fbe9
3 changed files with 7 additions and 6 deletions
6
main.lua
6
main.lua
|
@ -1,8 +1,8 @@
|
|||
function _init()
|
||||
init_movement()
|
||||
init_mapgen()
|
||||
init_movement({block_size/2, block_size/2})
|
||||
generate_map({0, 0})
|
||||
debug = true
|
||||
debug = false
|
||||
end
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ end
|
|||
|
||||
function _draw()
|
||||
rectfill(0, 0, 127, 127, 0)
|
||||
-- the screen is 128x128 pixels, so we can only draw 16x16 sprites
|
||||
-- the screen is 128x128 pixels, so it fits 16x16 sprites
|
||||
map(camera_pos[1], camera_pos[2], 0, 0, 16, 16)
|
||||
draw_player()
|
||||
if debug then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue