Tagged Questions
0
votes
1answer
147 views
Logic For camera Movement
Every time I move the hero on my screen I increment a screenOffsetX and a screenOffsetY.
These add 1 if you move right, -1 if left to the sceenOffsetX. Add the screenOffestY +=1 if down, -=1 if up.
I ...
-3
votes
2answers
161 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 ...
5
votes
5answers
508 views
C++: Game State Logic other than switch statement?
Executive summary
Are there any good tutorials on Game State FSMs, particularly OOP/OOD-based and not switch-statement-based?
Summary
Is there a practical process for creating a game state engine ...
3
votes
1answer
459 views
Best way to separate display and game logic (threads)
What is the best way to separate render and game logic threads?
I'd like to make logic-heavy game (ai, machine learning, and network) in which world updates 50-60 times per second.
I want to ...
3
votes
3answers
1k views
Writing Logic behind card games
I'm not a dev noob, but definitely never done anything in game dev. There is a trump based card game we play in town that I plan on coding. I'll be either using python/ajax/pyqt or c++/qt.
My ...