blob: 3f267a79c1d0ab8b5e343b898054046a1627f36a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--[[
Gamestates/About.lua
About page
by piernov
]]--
local Gui = require "Quickie"
local Utils = require "Utils"
local About = {}
function About:enter()
Previous = "Gamestates/Menu"
end
function About:update(dt)
Gui.group{grow = "down", pos = {Utils.percentCoordinates(10, 10)}, function()
Gui.Label{text = "BlueMind", size = {Utils.percentCoordinates(10, 10)}}
Gui.Label{text = "A Mastermind(tm)-like game", size = {Utils.percentCoordinates(10, 10)}}
Gui.Label{text = "by piernov and Roildan", size = {Utils.percentCoordinates(10, 10)}}
Gui.Label{text = "Music by Choucka", size = {Utils.percentCoordinates(10, 10)}}
end}
end
function About:draw()
Gui.core.draw()
end
function About:leave()
Menu.Music:stop()
end
return About
|