Tagged Questions
1
vote
1answer
91 views
how to represent a nested menu system?
I'm wondering what would be a clever way of making a layered menu system, in terms of what data structures to use.
An example of what I mean: A unit has the ability to construct buildings, and to ...
1
vote
3answers
166 views
Multithreading for a mixed-genre game in Python?
So here's the situation. I'm making a game that mixes two genres; arcade shooter and puzzler. They don't intertwine TOO much; all the interaction that really goes on is that every time an enemy is ...
0
votes
2answers
382 views
Detecting if line crosses rectangle in python. Need speed boost
I am currently writing a top down man vs robot shooter. The game works now, but if I have a decent sized level it runs slowly when you are being chased by robots. While just roaming around it can go ...
1
vote
2answers
205 views
Searching a map fewer times
... or better yet, removing the need to search the map altogether.
I'm either looking for suggestions on how to optimize my code, or a change in design.
In my component-based entity system, the ...