Search:

Type: Posts; User: Gravity Games

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,624

    Re: Drawing Objects on Screen

    Ah, thank you. I had forgot to use .get to access the components. That was the problem.
  2. Replies
    7
    Views
    1,624

    Re: Drawing Objects on Screen

    Oh, I'm already doing that (I had no problem when drawing one object), the problem is defining the individual objects of the arraylist. For example:

    The array list contains (Object 1, object 2,...
  3. Replies
    7
    Views
    1,624

    Re: Drawing Objects on Screen

    How would I do that? Level.java's draw method is called by a JPanel if thats what you mean.
  4. Replies
    7
    Views
    1,624

    Re: Drawing Objects on Screen

    I figured out I need an arraylist to create more than one of the same object. Unfortunately, I can't figure out how to call the render method on each individual object. Here's what I'm got:
    ...
  5. Replies
    7
    Views
    1,624

    Drawing Multiple Objects on Screen at once

    For some reason, I'm having a hard time drawing objects on screen. Here's my code:

    Level.java

    package com.gravitygamesinteractive.kylethecaiman;

    import java.awt.*;
    import java.util.*;...
Results 1 to 5 of 5