Difference between revisions of "Bricks"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Resources Required)
Line 3: Line 3:
  
 
[http://techsnackbar.com/monogame-tutorial-building-2d-game-using-csharp/ Creating a 2d bricks game]
 
[http://techsnackbar.com/monogame-tutorial-building-2d-game-using-csharp/ Creating a 2d bricks game]
 +
 +
=Create a new project=
 +
Using the MonoGame templates, create a MonoGame Windows Project.
  
 
=Resources Required=
 
=Resources Required=
All of the resources for this tutorial can be [https://drive.google.com/file/d/0Bw-0YEA_JX9gMHU5WjdLd2s1cms/view?usp=sharing downloaded here].
+
All of the resources for this tutorial can be [https://drive.google.com/file/d/0Bw-0YEA_JX9gMHU5WjdLd2s1cms/view?usp=sharing downloaded here]. Extract these files into the Content folder for your project.
 +
 
 +
In Visual Studio, double click the Content.mgcb file in the solution explorer panel. This will run the content pipeline tool. In the content pipeline tool, click the add existing item icon. Now browse for the Content folder of your project, and select all of the png & wav files downloaded above.
 +
 
 +
Now build the pipeline, you should see zero errors and each of the 9 items should be successful.
 +
 
 +
=Game1.cs Declarations=

Revision as of 09:54, 25 October 2017

Original Tutorial

the original tutorial can be found on the link below:

Creating a 2d bricks game

Create a new project

Using the MonoGame templates, create a MonoGame Windows Project.

Resources Required

All of the resources for this tutorial can be downloaded here. Extract these files into the Content folder for your project.

In Visual Studio, double click the Content.mgcb file in the solution explorer panel. This will run the content pipeline tool. In the content pipeline tool, click the add existing item icon. Now browse for the Content folder of your project, and select all of the png & wav files downloaded above.

Now build the pipeline, you should see zero errors and each of the 9 items should be successful.

Game1.cs Declarations