Game Development with MonoGame by Louis Salin & Rami Morrar
Author:Louis Salin & Rami Morrar
Language: eng
Format: epub
ISBN: 9781484277713
Publisher: Apress
Drag the control onto the form, as shown in Figure 4-4, and run your project. You should see a blue screen within your Windows application, as shown in Figure 4-5.
Figure 4-4Your Windows application with the MonoGame control, as seen from Visual Studio
Figure 4-5Your blank MonoGame control in a running application
You are now ready to start building your level editor!
Asset Management
In order to build your levels, you need to access your assets, which are built by the Content Pipeline Tool in the Game project. You could add a brand-new Content Pipeline Tool for the Game Editor, but that would entail duplicating your content pipeline and the required extensions needed to compile assets, and to make modifications twice in both the Game and the GameEditor whenever an asset is modified.
Instead, you will import the compiled .xnb asset files into the GameEditor in a directory structure that mimics the one found in the Game project. Thus, you will have fonts, levels, and sprites organized similarly to your current game assets.
Every time an asset is modified, it needs to be imported into the GameEditor project. This is not too hard to achieve by using Visual Studioâs pre-build events.
The levels you create will be saved as .xml files . As shown in Figure 4-6, once saved, those level .xml files will need to be copied into your game assets and compiled there. But because you will use a content manager to load those levels, the GameEditor will need to have access to the compiled .xnb files to read the level data, which means you will need to copy the compiled level files back to the GameEditor content files and rebuild the project before being able to load each level.
Figure 4-6Lifecycle of editing a level asset
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9372)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9343)
The Mikado Method by Ola Ellnestam Daniel Brolund(9307)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7851)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7402)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7323)
Grails in Action by Glen Smith Peter Ledbrook(7295)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7116)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5957)
Kotlin in Action by Dmitry Jemerov(4637)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3883)
Functional Programming in JavaScript by Mantyla Dan(3723)
Learning Java by Patrick Niemeyer & Daniel Leuck(2871)
Mastering Python for Finance by Weiming James Ma;(2838)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2835)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2600)
Windows APT Warfare by Sheng-Hao Ma(2594)
Mastering Java 9 by Dr. Edward Lavieri(2573)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2558)