University Lecturing Material

C# / WinForms / MonoGame / XNA

One of the university modules I taught focused on the production of tools that assist in the production of video games, a particular area of focus for the module was the teaching of both 2D & 3D techniques needed to underpin the production of 2D & 3D level/scene editors by students. The level editor shown below was produced by myself as a guideline to aid in teaching across the module.

2D Editor supports:

  • -Multiple object selection (tied in with property grid)
  • -Object manipulation through a custom 2D Gizmo, allowing for translate, rotate & scaling actions to be performed on placed scene entities
  • -Saving and loading of scenes to external .XML files for persistence
  • -Resizeable MonoGame viewport
  • -Fully docked Winforms interface that can grow/shrink as required
  • -Ability to import new sprite assets
  • -2D scrolling & zooming camera
  • -Property grid exposes public properties for editing (multi-object selection supported)
  • -Listbox showing all placeable assets
  • -Treeview showing all currently placed assets in the scene
  • -Toolbar to drive the editor/gizmo modes, also drivable via hotkeys, tied in to the gizmo through events & delegates