Skip to main content
8 votes
Accepted

Combat numbers in an MVC

You are correct that it's not the View's job in an MVC architecture to implement any game mechanics like friendly fire. But whether it's the controller's job or the model's job to implement game ...
Philipp's user avatar
  • 123k
2 votes
Accepted

What's the Unity way of implementing data driven UI

I generally prefer ScriptableObjects for storing data that: You want to be editable with a GUI in the Unity Editor (as they can be edited in the Inspector much like the components on a GameObject) Is ...
Kevin's user avatar
  • 6,976
2 votes

Adding JavaFX GUI to an MVC based terminal card game

if you want to implement a minimal M-VC you have to structure your application kind a like this: (This is only an example Diagramm) Model The Game is your Model. It stores information about who's ...
Martin Frank's user avatar
1 vote

Manage game states of a card game with MVC

From what I've understood, you want to use the States pattern to convey/control the overall game flow of the card game. You have defined 3 logical game states, Pick a card(s1), Invoke Monster(s2), and ...
Sarthak_ssg5's user avatar
1 vote

Is it a good idea to implement a MVC pattern into my LibGDX 2D RPG-style game?

tl'dr Design Pattern can show you a solution, how this pattern helped many others. If it is suitable for your problem is only known by you. Design Patterns are rather independent of applied ...
Martin Frank's user avatar
1 vote

UnityWebRequest won't work unless a breakpoint is triggered before hand

You need to IEnumerator to yield return and wait for request to complete. Call this method inside coroutine. Method: ...
Saad Anees's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible