136
General Discussion / Re: if self.isCoder(): post() #Programming Thread
« on: March 17, 2020, 03:30:35 am »
I feel like I have the beginnings of an okay-ish framework in Monogame. I can translate from screen coordinates to world coordinates, I have an actor system with a few Unity-like methods, I can pan and zoom the scene, and I have an input system that allows for key rebinding and distinguishing between multiple button states (pressed, released, held and up)
Next steps:
Next steps:
- Audio. I have yet to even try playing sound with MonoGame. In this, I want a totally different idea from Unity; instead of audio being completely controlled by the GameObject/Actor playing it, there are predefined audio channels, and the actor requests said channel. Unity has this capability but IMO it's way more complicated than it needs to be.
- Some sort of level/scene/room/whatever management. I hacked something together where it would use Activator to spawn actor classes from a text file, but I really don't like it--the class names must be fully qualified, and that's the least of my complaints about this setup.
- Related to the above, some kind of level editor. I imagine this would be easier if I actually had some kind of game I was working on. Hand-writing a text file full of coordinates and class names isn't my favorite idea.
- Enforcing the window's aspect ratio. I've followed a few examples but it didn't work and I haven't taken another crack at it yet.
