Coder Social home page Coder Social logo

gameprogramming2's Introduction

GameProgramming2

Game Progrmamming 2 @IAMColumbia

The jeff folder contains all my samples for Design patterns for Game Programming

  • mg3.5 Monogame 3.5 and Windows command line samples
  • unity Unity 5.4.x samples I try to include a unity package for each sample

The monogame samples all rely on the MonogameLibrary built in https://github.com/dsp56001/GameProgramming Some of the Pacman and Ghost samples form this course are encasultaed in the https://github.com/dsp56001/GameProgramming2/tree/master/jeff/mg3.5/MGPacManComponents project this allows wasy access to the components to simplify some the monogame samples

##Command Pattern

The console samples demostrate simple move commands invoked by the console command processor. In monogame this becomes a a game component and in unity this becomes a Monobehaviour. The commands in the console sample are invoked on a fake game component class. In Monogame this becomes a Monogame game component in Unity this is refactored to be a GameObject

Console Samples

There are two console samples. The first is a simple keymap the invoked move commands on a fake game object. The CommandWUndo add another type of command that can be undone. The command processor can proccess both the original command and the command with undo.

Monogame Sample

This sample swaps a real gamecomponent in Monogame for the fake in the console version. The code is slightly refactored for the monogame game component.

Unity Sample

This sample swaps a unity GameOject for the fake game component in the condsole version. The code is slightly refactores for the game object

##Strategy Pattern

Console Sample

Sample the makes chracter classes and weapons interchangable.

Monogame Sample

This is the similar classes to the console but allows pacman to pickup colored food weapons that change the pacmans color.

Unity Sample

  • TODO

###Singleton

*Console Sample

*Monogame Sample

*Unity Sample

###Monogame touch samples

=======

GameProgramming2

Game Progrmamming 2 @IAMColumbia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.