Commits

Danny Fritz committed 8ef6c0a

Cleaned up some dangling children.

Comments (0)

Files changed (3)

lua/Splash.lua

---[[----------------------------------------------------------------------------
-Copyright (c) 2011, Danny Fritz <dannyfritz@gmail.com>
-http://creativecommons.org/licenses/by/3.0/
-Licensed under the Creative Commons Attribution 3.0 Unported License.
---]]----------------------------------------------------------------------------
-
-local Tween = require 'lib.tween.tween'
-
-
-local Splash = Gamestate:addState('Splash')
-
-local NEXTSTATE = 'Menu'
-local WIDTH = 800
-local HEIGHT = 600
-
-local leaf
-local face
-local text
-local pixel_effect
-local old_background_color
-
---------------------------------------------------------------------------------
-function Splash:enteredState()
-	old_background_color = love.graphics.getBackgroundColor()
-	print("background color")
-	love.graphics.setBackgroundColor(254, 153, 0)
-	local leaf_image = love.graphics.newImage('leaf.png')
-	leaf = Object:new(leaf_image)
-end
-
---------------------------------------------------------------------------------
-function Splash:exitedState()
-	love.graphics.setBackgroundColor(old_background_color)
-end
-
---------------------------------------------------------------------------------
-function Splash:update(dt)
-
-end
-
---------------------------------------------------------------------------------
-function Splash:draw()
-	leaf:draw()
-end
-
---------------------------------------------------------------------------------
-function Splash:keypressed(key, unicode)
-	if key == ' ' or key == 'enter' or key == 'kpenter' or key == 'escape' then
-		gamestate:gotoState(NEXTSTATE)
-	end
-end
-
---------------------------------------------------------------------------------
-function Splash:mousepressed(x, y, button)
-	gamestate:gotoState(NEXTSTATE)
-	--Let the player press things for animations!
-end
-
---------------------------------------------------------------------------------
-function Splash:joystickpressed(joystick, button)
-	gamestate:gotoState(NEXTSTATE)
-end
Add a comment to this file

splash/music.ogg

Binary file removed.

Add a comment to this file

splash/splash.psd

Removed
Old image
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.