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. Thread: bug wars

    by pbivens
    Replies
    1
    Views
    519

    can I please get some feedback on my problem.

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

    by pbivens
    Replies
    1
    Views
    519

    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...
  3. Thread: space wars

    by pbivens
    Replies
    0
    Views
    279

    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...
  4. Replies
    0
    Views
    568

    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...
  5. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,081

    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.
  6. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,081

    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.
  7. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,081

    sorry I will try to ask better questions

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

    by pbivens
    Replies
    7
    Views
    1,081

    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);...
  9. Thread: opengl game

    by pbivens
    Replies
    7
    Views
    1,081

    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.
  10. Replies
    13
    Views
    2,692

    now I am totally confused, please help

    now I am totally confused, please help
  11. Replies
    13
    Views
    2,692

    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()
    {
  12. Replies
    13
    Views
    2,692

    so how do I adjust the angle variable.

    so how do I adjust the angle variable.
  13. Replies
    13
    Views
    2,692

    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 =...
  14. Replies
    13
    Views
    2,692

    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)...
  15. Replies
    13
    Views
    2,692

    cool thanks marc again.

    cool thanks marc again.
  16. Replies
    13
    Views
    2,692

    rotating object

    I am trying to rotate a space ship like in asteroids here is the code I am working on.


    void DrawShip(GLfloat position_X,GLfloat position_Y, GLfloat position_Z, GLfloat rotation,GLfloat color)
    {...
  17. Replies
    3
    Views
    742

    so I should use push and pop matrix functions?

    so I should use push and pop matrix functions?
  18. Replies
    3
    Views
    742

    rendering space ships

    I am programming a little space game. I have drawn two space ships to the screen. I want them to act independently of each other.


    void draw_ship()
    {...
  19. Replies
    14
    Views
    2,670

    so is there anyway to draw a blank character over...

    so is there anyway to draw a blank character over a regular character.
  20. Replies
    14
    Views
    2,670

    well I have almost solved my problem here is the...

    well I have almost solved my problem here is the code I am using.


    if(bricks[1][4]==true)
    {
    n+=200;
    str=itoa(n,buffer,10);
    glRasterPos3f(4.0f,2.0f,0.0f);...
  21. Replies
    14
    Views
    2,670

    I am still stuck on how to print a blank...

    I am still stuck on how to print a blank character to the screen using glutBitmapCharacter command.
  22. Replies
    14
    Views
    2,670

    I am trying to draw numbers to the screen, I want...

    I am trying to draw numbers to the screen, I want to erase the 1 in 100 to 2 in 200 for game scoring. Here is the code I am working on.


    void drawBitmapText(char *string,float x,float y,float z) ...
  23. Replies
    14
    Views
    2,670

    is there anyway to erase a glutBitmapCharacter...

    is there anyway to erase a glutBitmapCharacter character?
  24. Replies
    14
    Views
    2,670

    actually I am using c++

    actually I am using c++
  25. Replies
    14
    Views
    2,670

    well I have adjusted poppit's code. I am still...

    well I have adjusted poppit's code. I am still confused about what the "this" keyword does. here is my code.


    #include <iostream>

    using namespace std;

    class Score
    {
    int score;
Results 1 to 25 of 29
Page 1 of 2 1 2