Difference between revisions of "Game Programming Class7"
esse quam videri
(→Proposal for midterm game.) |
|||
Line 1: | Line 1: | ||
− | == | + | ==Physics== |
+ | http://box2d.org/ | ||
− | + | c# Box2D https://code.google.com/p/box2dx/ | |
− | + | https://github.com/d-snp/Farseer-Physics | |
− | |||
− | |||
− | + | http://farseerphysics.codeplex.com/ | |
− | + | http://www.mataliphysics.com/ | |
− | |||
− | |||
+ | ==Platformer Example== | ||
+ | Show platformer starter kit | ||
− | = | + | http://msdn.microsoft.com/en-us/library/dd254918(v=xnagamestudio.31).aspx |
− | |||
− | + | simple and elegant but not that flexible | |
− | |||
− | == | + | ==Monogame samples== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | ==Strategy Pattern== |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Manager classes to implement strategy pattern | |
− | |||
− | |||
− | http:// | + | http://www.dofactory.com/Patterns/PatternStrategy.aspx |
− | == | + | ==Types of Collections== |
− | + | c# stacks are LIFO | |
− | + | Queue FIFO | |
− | + | :First-In-First-Out | |
− | + | Peek | |
+ | :Get the current item in the queue | ||
+ | Enqueue | ||
+ | : | ||
+ | Dequeue | ||
− | + | Stack LIFO | |
+ | :Last-In-First-Out | ||
− | + | pop | |
+ | :removed last object added to the stack | ||
+ | push | ||
+ | :push an object onto the stack | ||
+ | peek | ||
+ | :shows to top object on the stack | ||
− | + | http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=65 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 19:49, 11 March 2015
Contents
Physics
c# Box2D https://code.google.com/p/box2dx/
https://github.com/d-snp/Farseer-Physics
http://farseerphysics.codeplex.com/
Platformer Example
Show platformer starter kit
http://msdn.microsoft.com/en-us/library/dd254918(v=xnagamestudio.31).aspx
simple and elegant but not that flexible
Monogame samples
Strategy Pattern
Manager classes to implement strategy pattern
http://www.dofactory.com/Patterns/PatternStrategy.aspx
Types of Collections
c# stacks are LIFO
Queue FIFO
- First-In-First-Out
Peek
- Get the current item in the queue
Enqueue
Dequeue
Stack LIFO
- Last-In-First-Out
pop
- removed last object added to the stack
push
- push an object onto the stack
peek
- shows to top object on the stack
http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=65