Pages

21.12.17

Criando um Pong com MonoGame


Requisitos:
Monogame: http://www.monogame.net/downloads/
Visual Studio: https://www.visualstudio.com/pt-br/vs/community/
Genkai.dll: http://cafecomengine.blogspot.com.br/p/genkai-framework.html

Passo 01:


Crie um novo projeto no Visual Studio, vou nomeá-lo de PongGame. Referencie a dll "Genkai.dll" ao projeto.
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Genkai;

Na solução criada, no arquivo Game1.cs, crie duas variáveis chamadas sceneManager e inputHelperManager:
public class Game1 : Game
{
    GraphicsDeviceManager graphics;
    SpriteBatch spriteBatch;

    SceneManager sceneManager;
    InputHelperManager inputHelperManager;

    public Game1()
    {
        graphics = new GraphicsDeviceManager(this);
        Content.RootDirectory = "Content";
    }


31.7.16

Jogos com C# : Pedra-Papel-Tesoura

Aula 01:


Aula 02:


Aula 03:


 
Powered by Blogger