Skip to content

Commit

Permalink
Minor fix for DawnSquad's display.
Browse files Browse the repository at this point in the history
When resized, the font would look pretty weird if cell dimensions were just 16px (x1 resolution). Now they're 32px and it looks fine.
  • Loading branch information
tommyettinger committed Aug 22, 2023
1 parent dacdc2f commit 98c26dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ private enum Phase {WAIT, PLAYER_ANIM, MONSTER_ANIM}
public static final int bigHeight = gridHeight * 2;

/** The pixel width of a cell */
public static final int cellWidth = 16;
public static final int cellWidth = 32;
/** The pixel height of a cell */
public static final int cellHeight = 16;
public static final int cellHeight = 32;

private boolean onGrid(int screenX, int screenY)
{
Expand Down
4 changes: 3 additions & 1 deletion SquidSquad/DawnSquad/lwjgl3/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# proguard github example stuff for application
# proguard github example for application
# https://github.com/Guardsquare/proguard/blob/master/examples/gradle/applications.gradle
-keepattributes '*Annotation*'

-keepclasseswithmembers public class * { public static void main(java.lang.String[]); }

-keep public class org.lwjgl.system.** { *; }
# You will need the next line if you use scene2d for UI or gameplay
#-keep public class com.badlogic.gdx.scenes.scene2d.** { *; }

-keepclasseswithmembernames class * { native <methods>; }

Expand Down

0 comments on commit 98c26dc

Please sign in to comment.