Compare commits

..

8 Commits

Author SHA1 Message Date
Joe Zeng
18e0e02c76 Removed a stupid exception to the mixing-tabs-and-spaces rule.
I apologize that it took me 2 years to think of this workaround.
2021-11-09 14:48:05 -05:00
Ishaan Bhardwaj
9381091110 Updated 3694 -> 3701 in other places 2021-11-03 17:34:34 -04:00
deb69fe28d Merge pull request #43 from Kirby703/patch-5
tap roll 3694 -> 3701 frames
2021-11-03 17:32:43 -04:00
Kirby703
3085b765e5 fix roll 3694 -> 3701 frames 2021-11-03 17:31:04 -04:00
hailey
412405c1a1 celebrate!!! 2021-10-22 15:04:28 +10:00
Ishaan Bhardwaj
7495c4ad04 Revert "Separate in-game bindings from menu bindings"
This reverts commit 0fce4b632f.
This commit caused issue #41. Will resolve ASAP.
2021-10-21 20:52:42 -04:00
Ishaan Bhardwaj
0fce4b632f Separate in-game bindings from menu bindings
Also preemptive version bump
2021-10-19 18:35:32 -04:00
Ishaan Bhardwaj
aa56248e34 Add an FPS counter 2021-10-18 23:27:54 -04:00
5 changed files with 14 additions and 11 deletions

View File

@@ -57,13 +57,13 @@ Coding conventions
Use tabs to indent, spaces to align.
* Specifically, spaces should not appear at the beginning of a line, and tabs should not appear _except_ at the beginning of a line.
* The sole exception is in a multiline `if` statement; the initial `if` should have four spaces before it to align it with an `elseif` on the next line. For example:
* If you're aligning multiline if-statements, the initial "if", "elseif" or "else" should be flush left with the indentation level, with spaces padding the gap to the next word as necessary. For example:
```lua
---- 4 spaces
if self.level < 900 then return 12
elseif self.level < 1200 then return 8
else return 6 end
if self.level < 900 then return 12
elseif self.level < 1200 then return 8
else return 6
end
```
Comments at the end of lines of code must be one line long. Multi-line comments must appear in their own block.

View File

@@ -78,7 +78,10 @@ function love.draw()
if config.gamesettings.display_gamemode == 1 or scene.title == "Title" then
love.graphics.setFont(font_3x5_2)
love.graphics.setColor(1, 1, 1, 1)
love.graphics.printf(version, 0, 460, 635, "right")
love.graphics.printf(
string.format("%.2f", 1 / love.timer.getAverageDelta()) ..
"fps - " .. version, 0, 460, 635, "right"
)
end
love.graphics.pop()

BIN
res/img/rpc/1year.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

View File

@@ -44,8 +44,8 @@ function TitleScene:new()
DiscordRPC:update({
details = "In menus",
state = mainmenuidle[math.random(#mainmenuidle)],
largeImageKey = "icon2",
largeImageText = version
largeImageKey = "1year",
largeImageText = version.." | Thanks for 1 year!"
})
end

View File

@@ -112,7 +112,7 @@ function MarathonA2Game:advanceOneFrame()
if self.clear then
self.roll_frames = self.roll_frames + 1
if self.roll_frames < 0 then return false end
if self.roll_frames > 3694 then
if self.roll_frames > 3701 then
self.completed = true
if self.grade == 32 then
self.grade = 33
@@ -365,10 +365,10 @@ function MarathonA2Game:drawScoringInfo()
love.graphics.setFont(font_3x5_3)
if self.clear then
if self:qualifiesForMRoll() then
if self.lines >= 32 and self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1)
if self.lines >= 32 and self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1)
else love.graphics.setColor(0, 1, 0, 1) end
else
if self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1)
if self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1)
else love.graphics.setColor(0, 1, 0, 1) end
end
end