All Questions
5 questions
1
vote
1
answer
141
views
How do I initialise levels sequentially?
I have been learning opengl and I have made good progress over past few months. However I still struggle to understand game logic in C++, I am new to C++ too.
Say I have this program.
...
4
votes
1
answer
146
views
Optimizing black and white matrix block drawing
Disclaimer:
I am uncertain if this is the best place to post this question, so please advise me of how I can best find the answer if I am doing something wrong. I am asking this question because I am ...
22
votes
6
answers
15k
views
Separating game data/logic from rendering
I'm writing a game using C++ and OpenGL 2.1.
I was thinking how could I separate the data/logic from rendering.
At the moment I use a base class 'Renderable' that gives a pure virtual method to ...
-1
votes
1
answer
131
views
Problem in animating polygon [closed]
Hi I am trying to move my black colored polygon downward. But As soon as I run my application my polygon gets invisible! I think My logic of move function is wrong. Can anyone help me out in figuring ...
-4
votes
2
answers
300
views
Safe zone implementation in Asteroids [closed]
I would like to implement a safe zone for asteroids so that when the ship gets destroyed, it shouldn't be there unless it is safe from other asteroids.
I tried to check the distance between each ...