Search:

Type: Posts; User: Gravity Games

Search: Search took 0.09 seconds.

  1. Replies
    12
    Views
    1,684

    Re: Drawing many Tiles on screen

    Sorry, I didn't know things like that the little things like that could actually affect the issue...
  2. Replies
    12
    Views
    1,684

    Re: Drawing many Tiles on screen

    Found the problem, and it was a dumb one too... I apparantly was calling the repaint method too much, and it was trying to update the screen 3 times over...
  3. Replies
    12
    Views
    1,684

    Re: Drawing many Tiles on screen

    Well, that's the whole render method, at least for the tiles. It also happens at random when a lot is on screen, no patterns whatsoever. Also, its not that the tiles don't actually draw, its that...
  4. Replies
    12
    Views
    1,684

    Re: Drawing many Tiles on screen

    Ok.



    public void render(Graphics g, Component c){
    //g.setColor(Color.red);
    //g.fillRect(x-Frame.sx,y-Frame.sy,16,16);
    if (TileId==1){...
  5. Replies
    12
    Views
    1,684

    Re: Drawing many Tiles on screen

    I'm assuming the problem might be that I'm using Image Icons instead of Buffered Images. Could anyone here tell me how to use Buffered Images in a way that will compile to a .jar?
  6. Replies
    12
    Views
    1,684

    Drawing many Tiles on screen

    Hi, I've been working on my game for a while now, and I've started making levels. Unfortunately, when I have a lot of tiles on screen, some tiles will lag behind on updating the position they're...
Results 1 to 6 of 6