Search:

Type: Posts; User: Gigggas

Search: Search took 0.19 seconds.

  1. Replies
    5
    Views
    1,935

    [SOLVED] Re: (LWJGL)openGL arraylist rendering problem

    Alright, after examining the rendering code for this Example Java Space Invaders game, I think you need to add the following methods to your Box.Draw() method:

    //Add this to beginning of draw()...
  2. Replies
    5
    Views
    1,935

    [SOLVED] Re: (LWJGL)openGL arraylist rendering problem

    Based on this LWJGL tutorial, it appears you are missing this line:

    // Clear the screen and depth buffer
    GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
    ....

    This code...
Results 1 to 2 of 2