39 lines
1.1 KiB
Lua
39 lines
1.1 KiB
Lua
local module = {}
|
|
|
|
function module.onCreate()
|
|
local fg = Image("images/blazin/phillyStreets/phillyForeground.png")
|
|
fg.layer = -5
|
|
fg.position = Vector2(-1000, 100)
|
|
|
|
local city = Image("images/blazin/phillyStreets/phillyForegroundCity.png")
|
|
city.layer = -7
|
|
city.modifier = 0.8
|
|
|
|
local skybox = Image("images/blazin/phillyStreets/phillySkybox.png")
|
|
skybox.layer = -10
|
|
skybox.modifier = 0
|
|
|
|
local skyline = Image("images/blazin/phillyStreets/phillySkyline.png")
|
|
skyline.layer = -9
|
|
skyline.modifier = 0.4
|
|
skyline.position = Vector2(-500, 0)
|
|
|
|
local cans = Image("images/blazin/SpraycanPile.png")
|
|
cans.layer = 1.5
|
|
cans.position = Vector2(-50, 800)
|
|
|
|
local canthing = Atlas("images/blazin/spraycanAtlas")
|
|
_G.evilcan = canthing
|
|
canthing.position = Vector2(10000, 10000)
|
|
canthing.layer = 10
|
|
canthing.atlas.disappear = true
|
|
canthing.alpha = 0
|
|
|
|
-- local rain = Sprite("images/blazin/Rain.png", "images/blazin/Rain.xml")
|
|
-- rain.ui = true
|
|
-- rain.layer = 0
|
|
-- rain:PlayAnimation("Rain", 15, true)
|
|
-- no.
|
|
end
|
|
|
|
return module |