ROME 11-12 April 2014 – Matteo Nicolotti To realize such a complex game as D&D with only two full time people we had to make use of all the tools we could afford: GAME DESIGN, MAPPING, SCRIPTING FORMAT CONVERSION TO XML CONVERSION TO COMPACT BINARIES XBOX PC-WIN W8,WP IOS ANDROID RPG-Maker .Net Ruby What’s behind D&D?
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
ROME 11-12 April 2014 – Matteo Nicolotti
To realize such a complex game as D&D with only two full time people we had to make use of all the
tools we could afford:
GAME DESIGN,
MAPPING, SCRIPTING
FORMAT CONVERSION
TO XML
CONVERSION TO
COMPACT BINARIES
XBOX
PC-WIN
W8,WP
IOS
ANDROID
RPG-Maker
.Net
Ruby
What’s behind D&D?
Developing a game in C#
● Strongly Typed language
● Power and ease of use of VS .Net and c#
● DirectX + Garbage Collection = FUN
● Natively on XBox,Windows e Windows Phone
● Many free tutorials,samples and books.
ROME 11-12 april 2014 – Matteo Nicolotti
C#
.Net
XNA
XBOX 360
PC
WIN
WIN
PHONE
ROME 11-12 april 2014 – Matteo Nicolotti
C#
.Net
XNA
XBOX 360
PC
WIN
WIN
PHONE
ROME 11-12 april 2014 – Matteo Nicolotti
Multiplatforming an XNA game
C#
.Net
XNA
C#
Mono
MonoGame
XBOX 360
PC
WIN
iOS,
MacOS
PSM
Linux
ANDROID
WIN 8
WIN
PHONE
ROME 11-12 april 2014 – Matteo Nicolotti
So what is Monogame?
Monogame is an Open Source Library of XNA compatible functions.
One source code for all the platforms !
ROME 11-12 april 2014 – Matteo Nicolotti
MonoGames you might know
Monogame is currently used in many well known games:
Infinite Flight
Skulls of The Shogun
Bastion
Fez
Draw a Stickman : Epic
Armed
Have all been developed using Xna and Monogame.
ROME 11-12 april 2014 – Matteo Nicolotti
Using Open Source is cool!
Advantages of using Open Source tools to develop a video-game:
● Optimize, specialize and add features without workarounds (i.e. adding
support to a specific file format)
● constant updating, optimization and debugging of libraries
● Volounteers add constantly new platforms (recent news is that PS4 and XB1
will be supported by the end of 2014)
● less hassles = more game programming
ROME 11-12 april 2014 – Matteo Nicolotti
IDE compatibili
Visual C# Express 2010
Windows Phone SDK
Visual Studio Pro 2010-12-13
VS Express and VS Pro 2012-13
Xamarin Studio*
Monodevelop
ROME 11-12 april 2014 – Matteo Nicolotti
Where to start?
● Official site is monogame.net– Installer for Visual Studio
– Forums
– Documentation
● Repository is at github.com/mono/MonoGame– Clone or download zipped source
ROME 11-12 april 2014 – Matteo Nicolotti
ROME 11-12 april 2014 – Matteo Nicolotti
The XNA Loop
XNA Game's loop consists of an Update and Draw methods, depending on our choice
they can be called exactly once each frame (with a variable Time-Step duration) or
the game class might be given a fixed Time-Step to respect.
To expand our game we have two options:
1 We can create a new class (for example a SceneManager or a Scene itself) that
inherits the XNA DrawableGameComponent class and add it to our game's
GameComponents collection.
2 We can implement our logic directly in our game's Update and Draw method.
ROME 11-12 april 2014 – Matteo Nicolotti
ROME 11-12 april 2014 – Matteo Nicolotti
goo.gl/zvNqhP
Content Loading in XNA-MG
Content Management is an issue in Multiplatform games as different platforms have
different optimization for file formats (ie. Android => ogg, Apple => m4a
)
For mobile games with a large amount of content like Doom & Destiny, pre-built binary
content will easily skyrocket package size over 200 MB.
ROME 11-12 april 2014 – Matteo Nicolotti
CLASS WINDOWS LINUX MACOS IOS ANDROID WINDOWSPHONE