so is there anyway to draw a blank character over a regular character.
Type: Posts; User: pbivens
so is there anyway to draw a blank character over a regular character.
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);...
I am still stuck on how to print a blank character to the screen using glutBitmapCharacter command.
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) ...
is there anyway to erase a glutBitmapCharacter character?
actually I am using c++
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;
thanks for the code, I have stubbed it out and I am learning how it works.
can you elaborate on the score.add(100) piece of code
I am also working on a breakout game and am almost done except for the scoring. Here is the code I am working on.
{
glRasterPos2f(4.0f,2.0f);...
well I am making an asteroids game using openGL and c++.I am importing bmp images. I have 8 images of a space ship that I want to rotate through.my question is how do I rotate through 8 images...