Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Poppit

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,331

    Ahh All I had to do is load the textures outside...

    Ahh All I had to do is load the textures outside of the gameloop.

    @cookedbird, Yes I did
  2. Replies
    14
    Views
    2,679

    I'm sorry, I confused you. this is used for java,...

    I'm sorry, I confused you. this is used for java, which I thought you were programming in. You can get rid of it.
  3. Replies
    9
    Views
    1,699

    Haha good job.

    Haha good job.
  4. Replies
    9
    Views
    1,699

    Try and put your state into a switch statement...

    Try and put your state into a switch statement and see if that solves it


    switch(state){
    case 1:
    drawMenu() // Whatever you called it
    break;
    case 2:
    drawTriangle() // Draw the triangle...
  5. Replies
    9
    Views
    1,699

    I tried to recreate your problem and couldn't....

    I tried to recreate your problem and couldn't. Could you post your whole loop please?
  6. Replies
    9
    Views
    1,699

    Is your state system being updated properly? ...

    Is your state system being updated properly?

    For example, during the loop are you using something like getState(), or checkState()?
  7. Replies
    14
    Views
    2,679

    No problem, hope you can figure it out. PM if you...

    No problem, hope you can figure it out. PM if you need any more help or once its done post it on the forums or send it to me.
  8. Replies
    14
    Views
    2,679

    Well you need a class to keep track of the...

    Well you need a class to keep track of the players score, so it would probably be something like this

    public class Score{

    /**
    * Holds the players score
    */
    int score;

    /**
  9. Replies
    14
    Views
    2,679

    Just tell it to add the score if the ball is...

    Just tell it to add the score if the ball is within the hitbox of the brick.


    if(ball.getHitBox() == brick.getHitBox()){
    brick.break();
    score.add(100)
    }

    Something like...
  10. Replies
    3
    Views
    1,331

    16x16 Texture too big

    Hello,

    I'm making a tile based game, and the Textures for the Tiles are 16x16. Whenever I try to load the Texture so it can be rendered,
    I get this error:
    java.io.IOException: Attempt to...
Results 1 to 10 of 10