Video for this session: http://www.youtube.com/watch?v=6TYcgc1PXg4
Give your feedback on the session: http://bit.ly/xamfeedback
Dean Ellis gives us an overview of MonoGame, a technology used in such games as Infinite Flight and Bastion, on how you can create your own games for MonoTouch and Mono for Android (as well as Windows, Mac OS X and Linux) whilst taking advantage of existing XNA knowledge.
4. What is MonoGame?
• Open Source implementation of XNA 4.0 API
o OpenGL, OpenTK, OpenAL
• Massively Multi-Platform Game Development
• Write Once, Play Everywhere.
• Supported Platforms
• Windows
• Mac OSX
• iOS (iPhone and iPad)
• Android
• Linux
• Platforms in Development
• Playstation Suite
• Windows 8 Metro
6. What can MonoGame do?
• 2D Graphics
• Custom Effects (GLSL)
• XNA Content Files
• Networking (lidgren)
o Local Only
• Sound/Music( via OpenAL - not Android )
• XACT (proprietary audio by Microsoft)
• 3D Support in Development
7. What can MonoGame do?
• Video Playback
o as per platform
• Native asset loading
o png/jpeg/gif/tiff/pdf
o wav/mpeg
• Input
o Gamepad on Window/Linux/MacOS
o Gestures on iOS/Android
8. What are we missing?
• Custom Content Pipeline
o Cannot generate content files
• 3D Support (in our develop3d branch)
• HLSL Effects (in our develop3d branch)
• Networking
o Limited to Local Networks
o Cannot link with XNA based games
• Many bits and pieces
• We do accept community patches for missing API
features
9. Lots of Sample Code
• Samples Repository contains lots of examples
o XNA AppHub Samples
o Windows Phone 7
o MonoGame Team
• Exampes available for each Platform
o 38 samples for MacOSX
o 25 samples for iOS
o 14 samples for Linux
o 11 samples for Android
• New Samples are added all the time
• Starter Packs from AppHub
10. On the App Store
Many titles already using MonoGame:
iOS
28 titles!
Android
5 titles.
Mac OS, Linux
Wizorb
Chrome
Bastion
11. 2.5 Release
• OpenGL ES 2.0 (iOS and Android)
• GLSL shaders supported
• Visual Studio Templates
o Windows and Linux
• MonoDevelop Templates
o Windows / Linux and Android (Mono for Android)
• Binary Release available
o Contains dlls for Windows and Linux.
o Project Templates
14. Samples
CatapultNetWars
http://www.youtube.com/watch?v=trHrQUeKVW8
based on CatapultWars with added multiplayer support.
15. Converting an
XNA Game
• Using the MonoGame 2.5 Binary Release
16. 3.0 Development
• OpenGL ES 2.0 only (iOS and Android)
• 3D API Implemented
• GLSL and HLSL shaders supported
• HLSL support uses mojoshader
• Even on iOS and Android
• Complete re-work with less duplicated code
• Based on code donated by Infinite Flight Team
21. Converting a
3D XNA Game
• Using the MonoGame develop3d branch
22. The Future
API
Extended networking support
DirectX 11 backend for Windows 8 Metro
CellSDK( http://www.cellsdk.com/ )
Networking ( alternative to Xbox Live )
Built-in advertising support.
Platforms
PlayStation Suite (started, but SDK is influx)
Google 'Native Client' ( Bastion )
Raspberry Pi
We have to use the XNA framework to generate xnb files. But we can load png/jpeg etc directly.\n\nCannot play against xbox games. \n
Even old Samples such as Vector Rumble. \n\nSamples just show how to do certain things using XNA. \n \nStarter Packs are complete games .\n\n\n\nNetrumble working on Windows/MacOSX and Linux. almost working on Android and\n \nsdfsdf \n \nStart \n \nStartiOS. \n
\n
Even old Samples such as Vector Rumble. \n\nSamples just show how to do certain things using XNA. \n \nStarter Packs are complete games .\n\n\n\nNetrumble working on Windows/MacOSX and Linux. almost working on Android and\n \nsdfsdf \n \nStart \n \nStartiOS. \n
Even old Samples such as Vector Rumble. \n\nSamples just show how to do certain things using XNA. \n \nStarter Packs are complete games .\n\n\n\nNetrumble working on Windows/MacOSX and Linux. almost working on Android and\n \nsdfsdf \n \nStart \n \nStartiOS. \n
Even old Samples such as Vector Rumble. \n\nSamples just show how to do certain things using XNA. \n \nStarter Packs are complete games .\n\n\n\nNetrumble working on Windows/MacOSX and Linux. almost working on Android and\n \nsdfsdf \n \nStart \n \nStartiOS. \n
\n
\n
\n
\n
Even old Samples such as Vector Rumble. \n\nSamples just show how to do certain things using XNA. \n \nStarter Packs are complete games .\n\n\n\nNetrumble working on Windows/MacOSX and Linux. almost working on Android and\n \nsdfsdf \n \nStart \n \nStartiOS. \n