Search:

Type: Posts; User: deivisxm

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,229

    Re: cant rotate image to mouse position

    I think the problem is i have bad angle...
  2. Replies
    8
    Views
    1,229

    Re: cant rotate image to mouse position

    game.java


    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.MouseInfo;
    import java.awt.Point;
    import java.awt.PointerInfo;
    import...
  3. Replies
    8
    Views
    1,229

    Re: cant rotate image to mouse position

    Errors are probablly becouse of char and map classes. Isnt it? Becouse it compiles fine for me. Also i run this from another class. I create frame and the do game board = new game(); ...
  4. Replies
    8
    Views
    1,229

    cant rotate image to mouse position

    Hi, i am currentlly trying to make 2d shooter and im having problem with rotating player to face the mouse. Here is my code:

    import java.awt.Color;
    import java.awt.Graphics;
    import...
Results 1 to 4 of 4