Skip to content

Commit

Permalink
Fixed alt + f4 Issue
Browse files Browse the repository at this point in the history
Input handler went up to 110, needs to be 116 for f4.
Don't think we need more, easy update if ever need more.
  • Loading branch information
SubSage committed Mar 4, 2013
1 parent 5f055bf commit 9e029dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions GDCalaga/Bullet.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public Bullet(EntityManager manager, int xpos, int ypos, int dmg, int alnc)
super(manager);
x=xpos;lastX=x;
y=ypos;lastY=y;
width=10;
height=10;
width=1;
height=1;
damage=dmg;
yVel=0;
xVel=0;
Expand Down
3 changes: 0 additions & 3 deletions GDCalaga/GDCalaga.jcu
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<folderitem>
<path>Pics</path>
</folderitem>
<folderitem>
<path>screencaptures</path>
</folderitem>
</project>
</projects>
<open_files>
Expand Down
2 changes: 1 addition & 1 deletion GDCalaga/GDCalaga.jcw
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<workspace>
<settings>
<label>GDCalaga</label>
<id>321</id>
<id>342</id>
<version>0</version>
</settings>
<users>
Expand Down
2 changes: 1 addition & 1 deletion GDCalaga/InputHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

public class InputHandler implements KeyListener {

private int maxKeys = 110;
private int maxKeys = 116;

private boolean[] bufferKeyState = new boolean[maxKeys];
private boolean[] currentKeyState = new boolean[maxKeys];
Expand Down

0 comments on commit 9e029dc

Please sign in to comment.