Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
More v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HTV04 committed Aug 4, 2021
1 parent f9df708 commit c521633
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/love/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,6 @@ return {
end
love.graphics.pop()
love.graphics.pop()

if isLoading then
love.graphics.print("Loading...", lovesize.getWidth() - 175, lovesize.getHeight() - 50)
end
end,

leave = function(self)
Expand Down
2 changes: 1 addition & 1 deletion src/love/sprites/week4/limo-dancer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ return Sprite (
["anim"] = {start = 1, stop = 30, speed = 24, offsetX = 0, offsetY = 0}
},
"anim",
true
false
)
6 changes: 6 additions & 0 deletions src/love/weeks/week2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ return {
weeks:safeAnimate(boyfriend, "shaking", true, 3)
end

if musicThres ~= oldMusicThres and math.fmod(musicTime, 60000 / bpm) < 100 then
if enemy.anim.name == "idle" then
enemy.anim.speed = 14.4 / (120 / bpm)
end
end

if health >= 80 then
if enemyIcon.anim.name == "skid and pump" then
enemyIcon:animate("skid and pump losing", false)
Expand Down
6 changes: 6 additions & 0 deletions src/love/weeks/week4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ return {
limoDancer:update(dt)
limo:update(dt)

if musicThres ~= oldMusicThres and math.fmod(musicTime, 120000 / bpm) < 100 then
limoDancer:animate("anim", false)

limoDancer.anim.speed = 14.4 / (60 / bpm)
end

if health >= 80 then
if enemyIcon.anim.name == "mommy mearest" then
enemyIcon:animate("mommy mearest losing", false)
Expand Down
2 changes: 1 addition & 1 deletion src/love/weeks/week5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ return {
if gameOver then return end

love.graphics.push()
love.graphics.translate(lovesize.getWidth() / 2, lovesize.getHeight() / 2)
love.graphics.translate(lovesize.getWidth() / 2, lovesize.getHeight() / 2)
love.graphics.scale(cam.sizeX, cam.sizeY)

love.graphics.push()
Expand Down

0 comments on commit c521633

Please sign in to comment.