Hi peeps,
Ive drawn shapes using GL_QUADS and TRAINGLE_FAN. Its my 3d checkers game. The whole game is completed and i just want to add shininess to the game to make it look more realistic. Ive...
Type: Posts; User: Zishaan
Hi peeps,
Ive drawn shapes using GL_QUADS and TRAINGLE_FAN. Its my 3d checkers game. The whole game is completed and i just want to add shininess to the game to make it look more realistic. Ive...
no luck :-( it just stays the same....
sorry, ignore what i said before, you are right, it is the way you said it. I just don't understand why the shininess is not affecting the board and draughts on my game. Is their anything wrong with...
Hey,
Ive created a game, and call draw() in my game.cpp, but i added draw() to my environment setup as well, it doesn't do anything?? maybe i should delete the draw() from my game.cpp??
Thanks.
Hey peeps,
I have tried to make my game have simple lighting which i have seen on many tutorials on the web. However, i cant get mine to have the same effect, and i cant work out why. All i want...
well i have most of my logic workin, it makes legal moves, tells you if there is forced moves or not, but im afraid to show it to you now....
i originally thought of putting it in a move class but...
let me show u my player class:
/ Player cpp file
#include "Player.h"
#include "Draught.h"
Sorry took ages to reply, but moving isnt the problem, its when the draught is taken in a move that i need to remove it, and i cant see a way of doing thta right now, because i can't obtain the...
oh ok, btw, how would i do that draught thing i asked earliar? will it make it easier this way??
Where would i use new and delete?? how would i use it?? sorry....
i see, what about shading on the peices ??
Board::~Board()
{
for(int i=0; i<sizeX; i++)
free(squares[i]);
free(squares);
}
btw, i like the structure anon, looks simple.. but how long will it take to change mine??
Sorry guys, very new at programming, let alone C++, my friend has helped me through this, so i can't really back up why i have used certain parts, for example, using malloc instead of new and delete....
Hey,
Many of you will know what i am doign, but for those who don't :
I am creating a 3D draughts/checkers game. My squares on the board are linked to one draught. and my draughts are linked to...
I tried what psychopath suggested, but no luck. I didnt make up my shapes of polygons, i'm not on that level, i simply stuck together 2D shapes to make 3D shapes. I just want simple shadows now, so...
lol, checkers?? we call it draughts... well 'they'..... i just want simple shadows so you can tell its 3D, from far, atm sometimes it looks 2.
Hi,
I'm having trouble getting around what everything means in the lighting and section of OpenGL. I have managed to get lighting working, but whatever i try for shading doesn't work. I've been...
thanks for the help guys i got it working, i stored pointers in the vectors instead, noob mistake !
My getDraught() returns this:
Draught * Square::getDraught()
{
return draught;
}
Hi peeps,
I loop through my draughts in my game, and if that draught is in a forced move position then i store it in a vector. so draught 3 and 4 could be stored. Now when the player comes to make...
i love you guys, get me thinking logically, expect more noob questions, it is my first program, sorry......
Hi guys,
does anyone know how to erase shapes and things in opengGL? i have draughts that i want to erase once the are taken, but i don't know how?
thnx
cool, thanks, i thought that might be causing the problem in the game, but now i found the problem, i had x and y the wrong way round in one of my .cpp's, gosh, u gota love coding......
I have these two funtions in my .h file. They both have the same name but arnt the same as shown below :-
Square * getSquare(int x, int y);
Square * getSquare(int index);