aboutsummaryrefslogtreecommitdiffstats
path: root/Gamestates/About.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Gamestates/About.lua')
-rw-r--r--Gamestates/About.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/Gamestates/About.lua b/Gamestates/About.lua
new file mode 100644
index 0000000..d65b245
--- /dev/null
+++ b/Gamestates/About.lua
@@ -0,0 +1,30 @@
+--[[
+ 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
+
+
+return About