- Mar 31, 2003
- 11,679
- 0
- 81
For a group project in Java we are writing a Mario game called Colin.
Every machine I have run it on it works fine - except one. When I start running the code, it isn't running quickly. We have a GUI environment using JFrame, JPanel, etc...
We used listeners to move the block that, for right now, represents Mario.
I'm on my Laptop at home for Thanksgiving break running Ubuntu 8.10 (64bit) with Sun Java 6 (I got rid of OpenJDK).
Initially, the arrow keys and the space bar did not move it left and right and jumped when I pressed. I had to hold the key down and eventually it would start moving and would to a point wouldn't stop. It is like the Interrupt request doesn't make it through and it just starts logging it as one big keystroke that runs all at once afterwards.
I reinstalled and it ran fine.
Now, that I am home for Thanksgiving, it will not run properly again. It does the same thing it did previously...
Can anyone help me figure out what is going wrong. The code runs every where except this computer so it isn't a problem with our code.
I can provide the java project zip via E-Mail if you have any doubts or need any reference. (I caution, that it is incomplete and doesn't look very good yet)
-Kevin
Every machine I have run it on it works fine - except one. When I start running the code, it isn't running quickly. We have a GUI environment using JFrame, JPanel, etc...
We used listeners to move the block that, for right now, represents Mario.
I'm on my Laptop at home for Thanksgiving break running Ubuntu 8.10 (64bit) with Sun Java 6 (I got rid of OpenJDK).
Initially, the arrow keys and the space bar did not move it left and right and jumped when I pressed. I had to hold the key down and eventually it would start moving and would to a point wouldn't stop. It is like the Interrupt request doesn't make it through and it just starts logging it as one big keystroke that runs all at once afterwards.
I reinstalled and it ran fine.
Now, that I am home for Thanksgiving, it will not run properly again. It does the same thing it did previously...
Can anyone help me figure out what is going wrong. The code runs every where except this computer so it isn't a problem with our code.
I can provide the java project zip via E-Mail if you have any doubts or need any reference. (I caution, that it is incomplete and doesn't look very good yet)
-Kevin
