Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • One seems to wind up with "Dictionaries of dictionaries" during game play; in order to handle one to many; and many to many realtionships; that come into being and then vanish. One can be attacked by many attackers. One can fire on many enemies ("troops behind"). These all come into play when considering "options": Who's attacking (me); who am I inflicting losses on; etc. GameObject has a unique id; that's where it starts. Commented Jul 27, 2024 at 19:12
  • If so, how can I use ID when considering those options? Commented Jul 27, 2024 at 19:43
  • If the objects are not modified and remain until the end of the game, why do you need to track them? Can you give some examples of what you are attempting, because as it stands this is extremely vague. Commented Jul 31, 2024 at 19:54
  • When you press the right arrow of background 2, you cross the boundary and move the character to background 3, and when you press the left arrow, you move to background 1. Also, I want the character's conversation to be different depending on the current background. Commented Aug 3, 2024 at 8:45