sky changes
This commit is contained in:
parent
ff0fc51bff
commit
2e73c0a92e
21
toomgis.p8
21
toomgis.p8
@ -197,7 +197,6 @@ end
|
|||||||
|
|
||||||
levels = {
|
levels = {
|
||||||
{
|
{
|
||||||
sky=7,
|
|
||||||
mapy=1,
|
mapy=1,
|
||||||
bad_item_ratio=0.12,
|
bad_item_ratio=0.12,
|
||||||
unit="CM",
|
unit="CM",
|
||||||
@ -205,7 +204,6 @@ levels = {
|
|||||||
next=2,
|
next=2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sky=2,
|
|
||||||
mapy=5,
|
mapy=5,
|
||||||
bad_item_ratio=0.16,
|
bad_item_ratio=0.16,
|
||||||
unit="M",
|
unit="M",
|
||||||
@ -213,7 +211,6 @@ levels = {
|
|||||||
next=3,
|
next=3,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sky=2,
|
|
||||||
mapy=9,
|
mapy=9,
|
||||||
bad_item_ratio=0.18,
|
bad_item_ratio=0.18,
|
||||||
unit="KM",
|
unit="KM",
|
||||||
@ -251,7 +248,15 @@ end
|
|||||||
|
|
||||||
function level_draw()
|
function level_draw()
|
||||||
-- each level is 4tl/32px
|
-- each level is 4tl/32px
|
||||||
cls(lvl.sky)
|
if px < 2000 then
|
||||||
|
cls(12)
|
||||||
|
elseif px < 4000 then
|
||||||
|
cls(140)
|
||||||
|
elseif px < 6000 then
|
||||||
|
cls(2)
|
||||||
|
else
|
||||||
|
cls(1)
|
||||||
|
end
|
||||||
--- zoom should go from 16 to 1 w/ growth
|
--- zoom should go from 16 to 1 w/ growth
|
||||||
local zoom = 16 - (15 * -sin(#tbody / MAX_PIECES / 4))
|
local zoom = 16 - (15 * -sin(#tbody / MAX_PIECES / 4))
|
||||||
local h=32 * zoom
|
local h=32 * zoom
|
||||||
@ -673,10 +678,10 @@ __gfx__
|
|||||||
00000000000000000000000000000000030000000000000000333300000000000000000000000000000000000000000000600000566666660000000000000000
|
00000000000000000000000000000000030000000000000000333300000000000000000000000000000000000000000000600000566666660000000000000000
|
||||||
00000000000000000000000000044000333000000099990033333830066666600044440000000000000007000000000006860000566666660000000000000000
|
00000000000000000000000000044000333000000099990033333830066666600044440000000000000007000000000006860000566666660000000000000000
|
||||||
000000000000000000000000004444000400000009aaaa903834333006655660044444400000eee0000076700000000008880000566666660000000000000000
|
000000000000000000000000004444000400000009aaaa903834333006655660044444400000eee0000076700000000008880000566666660000000000000000
|
||||||
00000000000000000000000004cccc40333000000acaaca00334383006566560055555500000ece000007670000cc00008886660566666660000000000000000
|
00000000000000000000000004dddd40333000000acaaca00334383006566560055555500000ece0000076700001100008886660566666660000000000000000
|
||||||
0000000000000000000000004cccccc4040033300aaaaaa00034330006666660044444400eeeeee0077776700006600006668880566666660000000000000000
|
0000000000000000000000004dddddd4040033300aaaaaa00034330006666660044444400eeeeee0077776700006600006668880566666660000000000000000
|
||||||
0000000000000000000000000ccc8cc0333034300aa55aa00004000006566560055555500ecce4e00757767000cccc0008888480566666660000000000000000
|
0000000000000000000000000ddd8dd0333034300aa55aa00004000006566560055555500ecce4e0075776700011110008888480566666660000000000000000
|
||||||
0000000000000000707070700ccc8cc0040004000aa55aa00004000006566560044554400eeee4e0075777700666666008888480566666660000000000000000
|
0000000000000000707070700ddd8dd0040004000aa55aa00004000006566560044554400eeee4e0075777700666666008888480566666660000000000000000
|
||||||
00000000bbbbbbbb7b7b7b7bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb0000000000000000
|
00000000bbbbbbbb7b7b7b7bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb0000000000000000
|
||||||
00000000666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666600000000
|
00000000666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666600000000
|
||||||
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
Loading…
Reference in New Issue
Block a user