Create a simple portal window rendering engine in the Go programming language. Throughout the book, learn to take overhead 2D line drawings and extrapolate a first-person 3D world from them using a bit of metadata - using primarily a single line drawing function!
The Gruel engine shown in these pages does touch upon more than just rendering the map: entity movement, creating tools, cameras, and more are discussed. The game is yours to build. Gruel provides a foundation to get started.
1.The View From The Mountaintop is this chapter giving an overview of our journey.
2.Building The Framework gets us up and running with our engine drawing to the screen.
3.Pouring The Foundation lays out the basic math and geometry packages as well as entities.
4.Level Loading And Camera Basics covers parsing map files and the initial setup for rendering.
5.Perspective Is Reality takes the engine from an overhead world view to a perspective view.
6.Control And Collision adds camera-relative movement, rotation, and zoom to let us walk about and explore our world in 3D.