Skip to content

Commit

Permalink
Post-April-Fools fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
htv04 committed Apr 3, 2022
1 parent ccc0fe2 commit cbb82e0
Show file tree
Hide file tree
Showing 25 changed files with 176 additions and 24 deletions.
Binary file modified src/love/IMAGES/ARROWS.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/BF.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/love/IMAGES/BFDEAD.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/GF.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/ICONS.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/SENPAI.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/TITLEBG.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/WEEB1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/WEEB2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/love/IMAGES/WEEB3.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/love/MENU.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ local weekIDs = {
local weekSongs = {
{
"Senpai",
"Roses",
"Thorns"
"Roses"
-- "Thorns" -- Broken
}
}
local difficultyStrs = {
Expand All @@ -50,7 +50,7 @@ menu = {

titleBG.x, titleBG.y = 160, 100

girlfriendTitle.x, girlfriendTitle.y = 160, 90
girlfriendTitle.x, girlfriendTitle.y = 160, 80

music:setLooping(true)
music:play()
Expand Down
Binary file removed src/love/MUSIC/FREAKY.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/ROSE-V.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/ROSES-I.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/SENPAI-I.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/SENPAI-V.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/THORNS-I.OGG
Binary file not shown.
Binary file removed src/love/MUSIC/THORNS-V.OGG
Binary file not shown.
2 changes: 1 addition & 1 deletion src/love/SPRITES/BF.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]

return Sprite (
love.graphics.newImage("IMAGES/BF.PNG"),
love.graphics.newImage("images/bf.png"),
-- Automatically generated from bfPixel.xml
{
{x = 166, y = 0, width = 73, height = 73, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 1: BF DOWN MISS instance 10000
Expand Down
158 changes: 158 additions & 0 deletions src/love/SPRITES/BFDEAD.LUA

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/love/SPRITES/GF.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]

return Sprite (
love.graphics.newImage("IMAGES/GF.PNG"),
love.graphics.newImage("images/gf.png"),
-- Automatically generated from gfPixel.xml
{
{x = 0, y = 0, width = 120, height = 106, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 1: GF IDLE0000
Expand Down
2 changes: 1 addition & 1 deletion src/love/SPRITES/SENPAI.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]

return Sprite (
love.graphics.newImage("IMAGES/SENPAI.PNG"),
love.graphics.newImage("images/senpai.png"),
{
{x = 1755, y = 0, width = 125, height = 163, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 1: SENPAI DOWN NOTE instance 10000
{x = 1755, y = 0, width = 125, height = 163, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 2: SENPAI DOWN NOTE instance 10001
Expand Down
2 changes: 1 addition & 1 deletion src/love/SPRITES/SENPAI2.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
------------------------------------------------------------------------------]]

return Sprite (
love.graphics.newImage("IMAGES/SENPAI.PNG"),
love.graphics.newImage("images/senpai.png"),
{
{x = 0, y = 0, width = 125, height = 164, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 1: Angry Senpai DOWN NOTE instance 10000
{x = 0, y = 0, width = 125, height = 164, offsetX = 0, offsetY = 0, offsetWidth = 0, offsetHeight = 0}, -- 2: Angry Senpai DOWN NOTE instance 10001
Expand Down
16 changes: 8 additions & 8 deletions src/love/WEEKS.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ weeks = {

girlfriend = lovedos.filesystem.load("sprites/gf.lua")()
boyfriend = lovedos.filesystem.load("sprites/bf.lua")()
fakeBoyfriend = lovedos.filesystem.load("sprites/bfdead.lua")()

enemyIcon = sprites["icons"]()
boyfriendIcon = sprites["icons"]()
Expand Down Expand Up @@ -284,8 +285,8 @@ weeks = {
if not y then y = 0 end
if not offset then offset = 1 end

object.x = cam.x * offset + 160 + x
object.y = cam.y * offset + 100 + y
object.x = 160 + cam.x * offset + x
object.y = 100 + cam.y * offset + y
end,

updateUI = function(dt)
Expand Down Expand Up @@ -407,19 +408,18 @@ weeks = {
if health > 100 then
health = 100
elseif health <= 0 then -- Game over, yeah!
inst:stop()
voices:stop()

gameOver = true

if weekNum == 1 then -- TODO: Make this less gross
fakeBoyfriend:animate("dies", false)
else
boyfriend:animate("dies", false)
end
fakeBoyfriend:animate("dies", false)

Timer.clear()
Timer.tween(
2,
cam,
{x = -boyfriend.x, y = -boyfriend.y},
{x = -50, y = -30}, -- Gross hack
"out-quad",
function()
fakeBoyfriend:animate("dead", true)
Expand Down
12 changes: 3 additions & 9 deletions src/love/WEEKS/WEEK6.LUA
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,17 @@ weeks[1] = {

if gameOver then
if input:pressed("confirm") then
inst:stop()
inst = love.audio.newSource("music/g-over2.wav", "stream")
inst:play()

Timer.clear()

cam.x, cam.y = -boyfriend.x, -boyfriend.y

boyfriend:animate("dead confirm", false)
cam.x, cam.y = 25, 0

weeks[1].load()
elseif input:pressed("gameBack") then
weeks[1].stop()
end

fakeBoyfriend:update(dt)
weeks.syncCamera(fakeBoyfriend, 0, 0)
weeks.syncCamera(fakeBoyfriend, 50, 30)

return
end
Expand Down Expand Up @@ -134,7 +128,7 @@ weeks[1] = {
enemyFrameTimer = enemyFrameTimer + 24 * dt

if not voices:isPlaying() then
if storyMode and songNum < 3 then
if storyMode and songNum < 2 then -- Thorns is broken
songNum = songNum + 1
else
graphics.fadeOut(1, weeks[1].stop)
Expand Down

0 comments on commit cbb82e0

Please sign in to comment.