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: pbivens

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. well I might use an looping structure. can you...

    well I might use an looping structure. can you please tell if this is a good route to follow.
  2. collision detection with multiple sprites

    well I tried googling it but not find much, I am still making a space invaders/galaga game. I have drawn the bugs sprites and space ship and bullets. I want to implement AABB collision detection...
  3. Replies
    12
    Views
    799

    cool that works, thanks for all the help!!!!!!!

    cool that works, thanks for all the help!!!!!!!
  4. Replies
    12
    Views
    799

    I have one little bug in my code and that is that...

    I have one little bug in my code and that is that I have to press the space bar twice in order to shoot a bullet, thanks for all the help carmine.
  5. Replies
    12
    Views
    799

    well I put back in the glutPostredisplay() and it...

    well I put back in the glutPostredisplay() and it finally works properly, YEAH!!!!!!!!! thanks for all the help.
  6. Replies
    12
    Views
    799

    well I tried the above code, but it still does...

    well I tried the above code, but it still does not move the bullet except when the space bar is pressed, thanks for all the help.
  7. Replies
    12
    Views
    799

    well thank you carmine, I just need a little...

    well thank you carmine, I just need a little hint, I have almost solved my problem.
  8. Replies
    12
    Views
    799

    well I have almost solved my problem, with...

    well I have almost solved my problem, with glutIdleFunc my bullet shoots over and over again, which is good but I want it to shoot like in asteroids, Here is my code


    void bullet()
    {
    up +=...
  9. Replies
    12
    Views
    799

    can I please get some help, is this too hard of a...

    can I please get some help, is this too hard of a question?
  10. Replies
    12
    Views
    799

    well after studying the previous post, I have...

    well after studying the previous post, I have tried something different, I think I am very close to solving my problem. I just need a little hint. Here is my adjusted code.


    void bullet()
    {...
  11. Replies
    12
    Views
    799

    machine gun shooting bullets

    well I am trying to shoot bullets like in asteroids, I want to press the space bar once and have it shoot one bullet from the space ship to off the screen. At the moment when I press the space bar it...
  12. Thread: bug wars

    by pbivens
    Replies
    1
    Views
    720

    can I please get some feedback on my problem.

    can I please get some feedback on my problem.
  13. Thread: bug wars

    by pbivens
    Replies
    1
    Views
    720

    bug wars

    well I have drawn a space ship and bullet and bug sprites to the screen. the one thing I am stuck on is that I want to draw a collision sprite to the screen when a bullet sprite hits a bug sprite and...
  14. Thread: space wars

    by pbivens
    Replies
    0
    Views
    455

    space wars

    I am making a simple space invaders/asteroids game using opengl and c++. I am still using some deprecated functions. I have got my game to move a spaceship across the bottom of the screen and to...
  15. Replies
    0
    Views
    703

    computer pong padde

    I have a game development question, I am unsure of where to post. I am working on a pong game. I am trying to make a pong paddle go up and down and up the screen on its own. here is the code I am...
  16. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,422

    basically I want to draw a sprite and erase it...

    basically I want to draw a sprite and erase it and redraw a different sprite and then erase it and then draw the previous sprite and have all the sprites to move to the right.
  17. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,422

    cool thanks for all the help, my cannon is able...

    cool thanks for all the help, my cannon is able to move form side to side using the arrow keys.
  18. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,422

    sorry I will try to ask better questions

    sorry I will try to ask better questions
  19. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,422

    here is some of my rendering code ...

    here is some of my rendering code


    //alienone
    glEnable(GL_TEXTURE_2D);
    glBindTexture(GL_TEXTURE_2D, _textureId_four);

    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);...
  20. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,422

    opengl game

    I am working on a space invaders game I have rendered the cannon, shields, aliens and bullets to the screen. I am unsure of how to get the aliens to move left and right across the screen.
  21. Replies
    13
    Views
    3,225

    now I am totally confused, please help

    now I am totally confused, please help
  22. Replies
    13
    Views
    3,225

    here is the code I am using void...

    here is the code I am using


    void ship_left_two()
    {
    angle+=2.5f;
    }

    void ship_right_two()
    {
  23. Replies
    13
    Views
    3,225

    so how do I adjust the angle variable.

    so how do I adjust the angle variable.
  24. Replies
    13
    Views
    3,225

    here is my new code void update(int value)...

    here is my new code


    void update(int value)
    {
    double magnitude = sqrt(ship_01_POSITION_X * ship_01_POSITION_X + ship_01_POSITION_Y * ship_01_POSITION_Y);
    double angle =...
  25. Replies
    13
    Views
    3,225

    well I have tried several things but I am still...

    well I have tried several things but I am still stuck. Here is the code I am working on.


    void DrawShip(GLfloat position_X,GLfloat position_Y, GLfloat position_Z, GLfloat rotation,GLfloat color)...
Results 1 to 25 of 40
Page 1 of 2 1 2