Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 22 Mar 2012
Offline Last Active Apr 25 2014 04:57 AM

Topics I've Started

Slow mouse position

08 July 2012 - 11:33 AM

Hey everyone! I have a problem when I try to get the position of my cursor. I have a full screen JFrame and I have active rendering with a continously running for loop. In the loop I try to draw a rectangle at the position of the mouse with getMousePosition, but when I move the mouse the rectangle comes after. The cursor is moving exactly like it should, but the rectangle moves really slow. I have around 60 FPS.

Display mode advice needed

22 March 2012 - 09:14 AM

I am currently working on a 2D top-view game in Java and need som advices regarding display modes.
What is the best and most proffesional way to handle them? Should I use a fixed display mode like 800x600 or should I have a drop down menu to choose between all avaible DMs? And also (if the second option), what should happen when the mode is changed? I tried to make the images fit to a 1920x1080 screen and put them in a buffered image which I resized to the current display mode, but everything looked so compressed when I ran it on my 1440x900 screen... Posted Image