SNKRX/media.lua

37 lines
843 B
Lua
Raw Normal View History

2021-04-24 05:19:22 +02:00
Media = Object:extend()
Media:implement(State)
function Media:init(name)
self:init_state(name)
end
function Media:on_enter(from)
camera.x, camera.y = gw/2, gh/2
self.main = Group()
self.effects = Group()
self.ui = Group()
2021-04-30 01:38:36 +02:00
graphics.set_background_color(fg[0])
2021-04-24 05:19:22 +02:00
end
function Media:update(dt)
self.main:update(dt*slow_amount)
self.effects:update(dt*slow_amount)
self.ui:update(dt*slow_amount)
end
function Media:draw()
self.main:draw()
self.effects:draw()
self.ui:draw()
end
2021-05-17 10:05:48 +02:00
--[[
build your party: hire heroes, rank them up and defeat endless waves of enemies
make synergies: combine heroes of the same class to unlock unique class passives
find passive items: further enhance your party with powerful passive items
create your build: explore the possibilities and combinations to create your own unique build
]]--