Search:

Type: Posts; User: tyeeeee1

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    1,059

    Re: Experimenting with Graphics

    I'm going over it now, but it totally lost me when it came to this example:



    import javax.swing.SwingUtilities;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import...
  2. Replies
    6
    Views
    1,059

    Re: Experimenting with Graphics

    I've removed the collision related code, here is the basic program:

    Edit: Threw the program into one file, this should still work...



    import javax.swing.*;
    import java.awt.*;

    class Rawr
  3. Replies
    6
    Views
    1,059

    Experimenting with Graphics

    I've been trying to wrap my head around how to detect and fix collision at the moment but as I'm not very familiar with drawing on a JPanel I managed to mess up somehow. At the moment my loop looks...
Results 1 to 3 of 3