UI Best practices, MVVM/MVC?

Hello,

I was wondering if there is any best practices for UI in games using UE4. I do feel that MVC/MVVM maybe redundant using an game engine, however I do see some people follow the view models approach, I would like to know what you guys do for your games?

Thanks,

Well it could be argued that UE4 is already using MVC to some extent, depending on how you look at it. At the engine level it’s separating logic/render/input. If you zoom in on the general gameplay framework it’s also separating Character/Controller/Input pretty well. I suppose it would help if you gave an example of how/where you would implement MVC/MVVM and it would be easier for people to give feedback. Pre-emptively, in my experience it works best to stay as close as possible to the UE framework conventions instead of going for implementations that could end up fighting it.

1 Like