XNA 3D Toolkit Tutorial: Creating a Scene File and Loading it | packtpub.com

385 views · Published 19 September 2014 · 5:39 · Indexed 31 October 2026

Channel: Packt · 2014 · Science & Technology

Watch on YouTube

Part of XNA 3D Toolkit video series. For the full Course visit:
https://www.packtpub.com/game-development/xna-3d-toolkit-video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-xna3dtoolkit

All the samples available show a scene/level defined at compile time. Save the scene/level data to a file and load the file at runtime. 
• Add a scene file class that has the same signature as the strings and settings you've set in your LoadContent method
• Add the code to save a file and save your coded content to that file
• Refactor your code in such a way that you're loading from the file

------------------------------------------------------------------------------------------------

For the latest in game development video tutorials, please visit:
http://www.packtpub.com/books/video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-xna3dtoolkit

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel