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

Search: Search took 0.00 seconds.

  1. sorted next to %u, I missed the score.... ...

    sorted

    next to %u, I missed the score....

    so sprintf(displayscore,"Score %u", score);

    little things lol
  2. Thank you I will try and look online for...

    Thank you I will try and look online for tutorials, etc
  3. My score is displaying funny numbers, need help!

    Ok so I used one of my old codes which displays the integer 0 next to "score" at the beginning of the program

    However in my current program every time I run the program it displays 'score' but...
  4. In simple terms in my code if I press z, t = t +...

    In simple terms in my code if I press z, t = t + 1 which = 1

    and if t==1 then it plays the animation

    if (tt == 1)
    ballz = ballz ++;
    glutPostRedisplay();
    ...
  5. Anybody? Here I tried animating the ball but...

    Anybody?

    Here I tried animating the ball but its not working

    void TimerFunction(int value)
    {
    glClear (GL_COLOR_BUFFER_BIT);
    //the angle by which the star is rotated

    if (tt ==...
  6. How to animate so the ball keeps on moving and how to scale per keyboard input

    How DO I animate so the ball keeps on moving and how do i scale per keyboard input?


    1) Below is a code which moves the ball towards the target once the z key is pressed incrementing it once per...
  7. Replies
    10
    Views
    3,615

    Yes thank you so much to everybody but now i...

    Yes thank you so much to everybody

    but now i have another problem well i dont know how to move or animate the ball

    void keyPressed (unsigned char key, int x, int y) {

    if (key ==...
  8. Replies
    10
    Views
    3,615

    OMG THANK YOU SO MUCH IT WORKS NOW IT MVOES LEFT...

    OMG THANK YOU SO MUCH IT WORKS NOW IT MVOES LEFT RIGHT AS WELL NOT I NEED TO DO ONE FOR Z AXIS IT MOVES BUT THE SHAPE OF THE BALL SHIFTS A BIT BUT I WILLT RY AND CORRECT THAT THANK YOU SO MUCH!!!!!...
  9. Replies
    10
    Views
    3,615

    Anybody? It's been a week and I still haven't...

    Anybody?

    It's been a week and I still haven't solved this problem i absolutely hate programming and opengl i just want to get this assignment over and done with, i've had enough.

    i declared...
  10. Replies
    10
    Views
    3,615

    Any ideas maybe I'm repeating the code in this...

    Any ideas maybe I'm repeating the code in this bit

    is this bit right or wrong?

    void RenderScene(void)
    {

    // Clear the window with current clearing colour
    glClear(GL_COLOR_BUFFER_BIT |...
  11. Replies
    10
    Views
    3,615

    still not working ): I just don't understand...

    still not working ):

    I just don't understand why, what am I doing wrong I included everything I was supposed to

    thanks for helping me anyway
  12. Replies
    10
    Views
    3,615

    hey I tried putting glTranslatef( Ballx,...

    hey

    I tried putting

    glTranslatef( Ballx, Bally, 50.0);

    everywhere I can but it's not working still where am I actually supposed to put it ):

    This is what I tried doing so far
  13. Replies
    10
    Views
    3,615

    Need urgent help with moving ball

    Basically I placed my textures and everything on the window and now I want my sphere or the ball to move left or right, I have the special key code, etc but for some reason still my ball isn't moving...
  14. Ok thank you, i'll try and how do I display text...

    Ok thank you, i'll try and how do I display text such as "score" + score.

    Isn't there an easy way?

    thanks
  15. Need help with collision and text on game screen

    Ok I got the rotation kind of working but now I need my car to detect the box and when it does the box should change colors....

    The thing is I just don't know why they make it so hard

    why not...
  16. Replies
    3
    Views
    1,727

    thank you it works now but when it rotates i kind...

    thank you it works now but when it rotates i kind of moves a bit but it's better than nothing I guess
  17. Replies
    3
    Views
    1,727

    Need help with rotating a car

    I'm new to opengl and studying it for one of my modules and for one of our assignments we have to make a car move through a maze and reach the top

    The thing is my car starts facing a horizontal...
Results 1 to 17 of 17