All Questions
Tagged with programming or software-engineering
645 questions
12 votes
1 answer
1k views
Destroying the parent when all children are destroyed
I have a spell system where a the spell is a self-contained game object handling all the logic. When done, it destroys itself. This works great Then I added a second game object handling animation, ...
1 vote
1 answer
272 views
Creating composite transformation matrix to apply in vertex shader
What I'm puzzled about, is why most tutorials on graphics programming speak of creating a composition of transformation matrices - which are then applied in a single loop (to each vertex). I did the ...
1 vote
0 answers
69 views
Common Methods to Restrict User Movement and Prevent Other Objects from Acting in Games
I am a web and mobile app programmer. Compared to web and mobile app source code, I haven't seen much game programming source code. In web applications, all elements are essentially static (?), and ...
7 votes
3 answers
2k views
How do you determine what order to process chained events/interactions?
I'm trying to write a top-down tactics RPG game in python, and run into the first major decision I can't make with my limited knowledge of RPG fundamentals. In our game you create a team of characters ...
1 vote
1 answer
209 views
Correct way to manage managers and controllers in Unity
I am having a bit of a headache right now about my controllers: Ive got a bunch of managers in my game, for example A MasterController to manage most serious stuff like pausing or turning off input ...
3 votes
2 answers
1k views
Decouple game entity from its owner when logic depends on it
In my real-time multiplayer game, there are multiple entities that are very interrelated and whose logic is very related to the player who owns them. I don't think I can decouple the classes from each ...
0 votes
0 answers
98 views
How to implement graphics API functions like setUniform on a cross-platform shader in VLang?
I've been working on a C++ game engine for a while, but I decided to scrap the project because doing it in C++, despite my best efforts, I could feel the technical dept building. As such, I switched ...
1 vote
1 answer
309 views
How do programmers distribute their games from custom game engines?
I am currently reading tons of books about game engine, real time rendering, animation, physics... but I could not find any description of how game developers who built their game with their own game ...