diff options
| author | 1029chris <1029chris@gmail.com> | 2016-10-29 23:58:24 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-10-29 23:58:24 -0700 |
| commit | 7e743cfec3e2ee7f8e64a28db45ef02a5a8ebc56 (patch) | |
| tree | b7610db84791af4741d0cc1b5ac5434535c58883 | |
| parent | d293377e7dedd102e9afb2a51fda3d3375d7904d (diff) | |
cheat for testing purposes
if you press 1 during the loading screen fade, then the first fight will be considered completed
same if you press 2
| -rw-r--r-- | main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -39,6 +39,12 @@ function love.update(dt) end if fade == 1 and fadeOpacity < 255 and pause.p == false then fadeOpacity = fadeOpacity + 5 + if scene == 0 and love.keyboard.isDown("1") == true then + v1.complete = true + elseif scene == 0 and love.keyboard.isDown("2") == true then + v1.complete = true + v2.complete = true + end elseif fade == 0 and fadeOpacity > 0 and pause.p == false then fadeOpacity = fadeOpacity - 5 end |
