Difference between revisions of "MonoGame Tutorials"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Collision Detection)
(Basic Skills)
 
(135 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Tutorials=
+
MonoGame is a game creation framework which uses C#, so for help on C# you can use the topics on  '''[[Section A AL#Fundamentals of programming |THIS]]''' page.
[https://blog.xamarin.com/build-your-first-game-with-monogame-getting-started/ Monkey Tap first game tutorial]
+
 +
=Basic Skills=
 +
[[Creating A Project]]
  
[https://darkgenesis.zenithmoon.com/getting-started-with-monogame-using-visual-studio/ MonoGame in Visual Studio Tutorial]
+
[[Using SpriteFont]]
  
[https://docs.microsoft.com/en-us/windows/uwp/get-started/get-started-tutorial-game-mg2d Microsoft 2d MonoGame tutorial]
+
[[Drawing Textures]]
  
[http://techsnackbar.com/monogame-tutorial-building-2d-game-using-csharp/ Creating a 2d bricks game]
+
[[Drawing Shapes]]
  
[https://www.pluralsight.com/courses/monogame MonoGame on Pluralsight (Sign up for a free trial)]
+
[[Keyboard Input]]
  
[http://gameprogrammingadventures.org/a-summoners-tale-series/ Adventure game tutorial series]
+
[[Mouse or touch control Input]]
 
 
[https://www.youtube.com/playlist?list=PLV27bZtgVIJqoeHrQq6Mt_S1-Fvq_zzGZ Youtube Tutorial Series]
 
  
[https://www.youtube.com/playlist?list=PL667AC2BF84D85779 XNA YouTube tutorials from same source as above]
+
[[Audio Playback]]
  
[https://www.phstudios.com/monogame-basics-series/ monogame-basics-series]
+
[[Video Playback]]
  
[https://www.cs.cornell.edu/courses/cs3152/2014sp/materials/programming.php Degree level MonoGame]
+
[[Screen Settings]]
  
[https://www.phstudios.com/monogame-advanced-series/ monogame-advanced-series]
+
[[Animation]]
  
 +
[[Game states]]
  
==Tutorial Set 1==
+
[[Using Timers]]
You should start by creating a new project, remember to give it a suitable name and test it runs before you start.
 
  
 +
=Player Class Example=
 
[[Creating A Player]]
 
[[Creating A Player]]
  
Line 32: Line 33:
 
[[Adding and Processing Player Input]]
 
[[Adding and Processing Player Input]]
  
[[Mouse or touch control Input]]
+
=Collision Detection=
 +
[[Rectangle Bounds Collision]]
 +
 
 +
[[Basic Per Pixel Collision]]
 +
 
 +
=Using Tiled Maps=
 +
===Squared.Tiled===
 +
[[setup and map example]]
  
[[Animate the Player]]
+
===TiledSharp===
 +
[[using a tmx map in monogame]]
  
==RPG Tutorial==
+
===TiledCS===
[https://roguesharp.wordpress.com/2014/05/18/tutorial-1-roguelike-map-generation-using-roguesharp-and-monogame/ Tutorial 1 – Map Generation]
+
[[Using TiledCS]]
  
[https://roguesharp.wordpress.com/2014/05/24/tutorial-2-roguelike-field-of-view-calculation-using-roguesharp-and-monogame/ Tutorial 2 – Field-of-View Calculation]
+
===TiledNet===
 +
[[Using TiledNet]]
  
[https://roguesharp.wordpress.com/2014/05/30/tutorial-3-roguelike-map-exploration-using-roguesharp-and-monogame/ Tutorial 3 – Exploring the Map]
+
===TiledLib===
 +
[[Using TiledLib]]
  
[https://roguesharp.wordpress.com/2014/06/09/tutorial-4-roguelike-pathfinding-using-roguesharp-and-monogame/ Tutorial 4 – Pathfinding]
+
=Player Bounds=
 +
[[Player Bounds]]
  
[https://roguesharp.wordpress.com/2014/07/13/tutorial-5-creating-a-2d-camera-with-pan-and-zoom-in-monogame/ Tutorial 5 – 2D Camera Setup]
+
=Game UI=
 +
===GeonBit===
 +
[[GeonBit example]]
  
[https://roguesharp.wordpress.com/2014/08/30/tutorial-6-roguelike-combat-using-roguesharp-and-monogame/ Tutorial 6 – Combat]
+
===Ruminate===
  
==Collision Detection==
+
[[Ruminate Example]]
[[Rectangle Bounds Collision]]
 
  
[[Per Pixel Collision]]
+
===Myra===
 +
[[Myra Example]]
  
=Game Resources=
+
===Steropes===
==MonoGame.Extended==
 
MonoGame.Extended GitHub, you must have MonoGame installed first:
 
  
[https://github.com/craftworkgames/MonoGame.Extended Add functions to MonoGame - including Tiled maps]
+
[[Steropes Example]]
  
Alternatively, open your game project and click the project tab and select "Manage NuGet Packages". Within the NuGet package manager search for MonoGame.Extended, you will need to install this plus also:
+
===SimpleText UI Example===
  
#MonoGame.Extended.Content.Pipeline
+
[[SimpleText UI Example]]
#MonoGame.Extended.Tiled
 
#MonoGame.Extended.Graphics
 
  
 +
=Special Effects=
 +
[[Screen Brightness]]
  
MonoGame.Extended Resources:
+
[[Screen Shake]]
  
[http://community.monogame.net/c/extended MonoGame.Extended Forum]
+
[[Parallax Scrolling]]
  
[http://craftworkgames.github.io/MonoGame.Extended/ MonoGame.Extended Wiki]
+
[[Explosions]]
  
==Tiled==
+
[[Field of View / No Mask]]
Tiled Website and Download:
 
  
[http://www.mapeditor.org/ Tiled Map Editor]
+
[[Field of View / Mask]]
  
Tutorials for using Tiled:
+
=Networked / Multiplayer=
 +
===LiteNetLib===
  
[http://doc.mapeditor.org/ Offical Tiled Tutorials]
+
[[Setup LiteNetLib]]
  
[https://gamedevelopment.tutsplus.com/tutorials/introduction-to-tiled-map-editor-a-platform-agnostic-tool-for-level-maps--gamedev-2838 Tiled Basics]
+
[[Example LiteNetLib]]
  
[https://www.youtube.com/playlist?list=PLpWTFopWU5f3xgvztkivtEcYmocD-Xigt Tiled Youtube Playlist Series]
+
[[RPG LiteNetLib]]
  
[http://www.gamefromscratch.com/post/2014/04/15/A-quick-look-at-Tiled-An-open-source-2D-level-editor.aspx Written Version of Above Tutorials]
+
===Lidgren.Network===
  
==Game Art==
+
[[Lidgren.Network]]
Tileset & game art:
 
  
[http://opengameart.org/ Open Game Art]
+
=Save Game / Check Points=
 +
[[Creating a game save]]
  
 
=Related Skills=
 
=Related Skills=
 
[[Generating and using XNB files]]
 
[[Generating and using XNB files]]
 +
 +
=Full Tutorials=
 +
[[Bricks]]
 +
 +
[[Dino]]
 +
 +
[[Monkey Tap]]
 +
 +
[[Simple Tower]]
 +
 +
[[Simple RPG]]
 +
 +
[[Simple Platform]]
 +
 +
[[Simple Racer]]
 +
 +
[[Simple Beat Em Up]]
 +
 +
=External Resources=
 +
[[External Resources]]

Latest revision as of 11:44, 26 May 2024

MonoGame is a game creation framework which uses C#, so for help on C# you can use the topics on THIS page.

Basic Skills

Creating A Project

Using SpriteFont

Drawing Textures

Drawing Shapes

Keyboard Input

Mouse or touch control Input

Audio Playback

Video Playback

Screen Settings

Animation

Game states

Using Timers

Player Class Example

Creating A Player

Creating An Instance of Your Player

Adding and Processing Player Input

Collision Detection

Rectangle Bounds Collision

Basic Per Pixel Collision

Using Tiled Maps

Squared.Tiled

setup and map example

TiledSharp

using a tmx map in monogame

TiledCS

Using TiledCS

TiledNet

Using TiledNet

TiledLib

Using TiledLib

Player Bounds

Player Bounds

Game UI

GeonBit

GeonBit example

Ruminate

Ruminate Example

Myra

Myra Example

Steropes

Steropes Example

SimpleText UI Example

SimpleText UI Example

Special Effects

Screen Brightness

Screen Shake

Parallax Scrolling

Explosions

Field of View / No Mask

Field of View / Mask

Networked / Multiplayer

LiteNetLib

Setup LiteNetLib

Example LiteNetLib

RPG LiteNetLib

Lidgren.Network

Lidgren.Network

Save Game / Check Points

Creating a game save

Related Skills

Generating and using XNB files

Full Tutorials

Bricks

Dino

Monkey Tap

Simple Tower

Simple RPG

Simple Platform

Simple Racer

Simple Beat Em Up

External Resources

External Resources