Rob Fonseca-Ensor.  I help run the CWDNUG  I’m co-authoring a WROX book on WP7 | | meetup.com/cwdnug  I’ve got.

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

Understanding an Apps Architecture ASFA Computer Science: Principles Fall 2013.
Välkommen till Sommarkollo Introduce XNA Game Studio Express Make A Game!
Sprites, User Input, and Collision COSC 315 Fall 2014 Bridget M. Blodgett.
Creating Games For Windows, Xbox 360, and Windows Phone 7 Ryan Plemons
Dan Waters, Academic Relations Manager, Microsoft.
3.3. G AME I NPUT Handling input within games. In lecture exploration of answers to frequently asked student questions.
* My name is Marios Karagiannis * I am Greek * I am not affiliated with Microsoft * PhD UNIGE * In my last year * Gamer * Since the Game &
How do games work? Game Workshop July 4, Parts Sprites/pictures Map/background Music/sounds Player character Enemies Objects.
An introduction to. Introductions  I’m Rob Fonseca-Ensor  A Solution Architect at Infusion  I run the Canary Wharf.NET User Group  I blog at
LO: Learn how to develop your game further to include interactions with the device.
Week 1 - Friday.  What did we talk about last time?  C#  SharpDX.
2D Physics and Camera Systems For CSE 3902 By: Matt Boggus.
Developing games and applications for Xbox 360 using XNA* *XNA is XNA’s Not Acronymed An Introduction by Peter Messenger Senior Developer at QMASTOR Newcastle.
I can haz gamez?. Bret Stateham Microsoft Developer Evangelist Blog:
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
11 Games and Content Session 4.1. Session Overview  Show how games are made up of program code and content  Find out about the content management system.
So you have the greatest idea for the Next Big Hit Windows Phone Game? Mattias June 12, 2012.
Las Vegas XNA Users Group. October 2007 MEETING! Presented by Charley Jones A+, MOUS, MCP, MCSA, MCSE, MCDBA, MCAD, MCT, PMP, ITIL MCTS: SQL Server 2005,
A 2-D, multi-player tank game developed in PLT Scheme ~ ~ ~ Ben VandenBos, Tim Reeves, Justin Hall, and John Ericksen ~ ~ ~ Senior Project - CS496 Spring.
Rob Miles Microsoft MVP University of Hull Fun Programming with Visual Studio.
GreatFriends vTalks Seminar #10. XNA Game Programming Supote Phunsakul (ball)
Town Defenders Strategy Game prepared by: Osama N
Using Namepsaces  This section lists the namespaces that the application will be using frequently. Saves the programmer from specifying a fully qualified.
Developing the Game User Interface (UI) Lesson 5.
Microsoft Tech Days 2012 Cheezia: Developing a Windows Phone XNA Game Rodrigo Barretto Software Engineer - MCPD on Windows Phone
User Input and Collisions COSC 315 Fall 2014 Bridget M. Blodgett.
Introduction to XNA Graphics Programming Asst. Prof. Rujchai Ung-arunyawee COE, KKU.
A jogger runs 145m in a direction 20
XNA An Introduction. What XNA is… Microsoft® XNA™ is composed of industry- leading software, services, resources, and communities focused on enabling.
11 Making a Sprite Session 4.2. Session Overview  Describe the principle of a game sprite, and see how to create a sprite in an XNA game  Learn more.
CS378 - Mobile Computing Responsiveness. An App Idea From Nifty Assignments Draw a picture use randomness Pick an equation at random Operators in the.
First we turn on wireframe to allow us to see through the object And as you can see the object is clearly see through.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
WPH310. Free Phone! Windows Phone 7 as a Game Platform Free Tools to Build Great Games The Game Loop Input on Windows Phone 7 Building a Game with Your.
Sprites, User Input, and Collision COSC 315 Fall 2014 Bridget M. Blodgett.
11 Getting Player Input Using a Gamepad Session 3.1.
Game Creation in XNA CS470 Final Project Chris Ragland.
2 XNA Games Studio: The What and the How Paul Foster, Microsoft.
CHAPTER 6 Multiplayer XNA Game Studio 4.0. Objectives Discover how to detect and use individual button-press events in a game. Learn how to create and.
Free Phone! Graphics, pick one technology Browser, Maps Control.
6-1 Lines Mr. Cline Course 3 Mathematics Laveen Campus.
Created for Pharr South Continuing Education Presented by Henk & Linda Sluis 1.
11 Writing Text Session 5.1. Session Overview  Show how fonts are managed in computers  Discover the difference between bitmap fonts and vector fonts.
XNA ● Proprietary Microsoft framework ● C#. Interface.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
XNA Tutorial 1 For CS134 Lecture. Overview Some of the hard work has already been done for you. If you build and run your game now, the GraphicsDeviceManager.
Rob Miles. Using data in an XNA game program An XNA game program Draw and Update methods that are called to run the game Colours are held in XNA as four.
Consumer Windows Phone Emulator Phone Emulator SamplesDocumentation GuidesCommunity Packaging and Verification Tools Windows Phone Dev Tools AppHub.
The Stingray Example Program CMT3311. Stingray - an example 2D game May be useful as a simple case study Most 2D games need to solve generic problems.
Building Windows Phone 7 Games and Applications Yes, yes! “Games and Applications” and not “Applications and Games” Content is under NDA – please do no.
2D Graphics CMT3311. This covers... How to make a transparent sprite How to add a sprite to your project and draw it Properties of sprites and how to.
Reference: What is it? A multimedia python library – Window Management – Graphics geometric shapes bitmaps (sprites) – Input Mouse Keyboard.
CHAPTER 5 Text XNA Game Studio 4.0. Objectives Discover how text is drawn using Microsoft XNA. Add some font resources to your XNA program. Draw some.
Interactive Animation
Computer Graphics Graphics Hardware
2D Physics and Camera Systems
Week 2 - Monday CS361.
Scratch for Interactivity
Using and Creating Sprites
PYGAME.
Windows Phone: how to build a game
Explain what touch develop is to your students:
Developing Games for Windows Phone 7 with XNA Game Studio 4.0
RIS620 Advanced programming
Computer Graphics Graphics Hardware
MTA-4201 Game Programming Chapter 8 : Scrolling Background & Font
Explain what touch develop is to your students:
Presentation transcript:

Rob Fonseca-Ensor

 I help run the CWDNUG  I’m co-authoring a WROX book on WP7 | | meetup.com/cwdnug  I’ve got an iPhone game on the app store  I write Silverlight apps ALL DAY LONG (for Infusion)

.NET framework for games  XBOX, PC, Zune  Now WP7  Creator’s Club   Parallel set of.NET APIs  Even more cut down on WP7  Relatively Portable

 Silverlight is event driven  It reacts to the user  Suitable for some games  XNA is a game loop  The user reacts to the game  3D graphics  Performance

InitializeLoadContent Game Loop UnloadContent (Theoretically) DrawUpdate

 A class that manages the rendering of 2D sprites (textures) and fonts  Begin  Starts a batch  Draw  Paints a Texture2D to the screen  DrawString  Paints a SpriteFont + a string to the screen  End  Commit the batch

 Track how quickly by inspecting the GameTime  Allows proportional movement ▪ Ever tried to play a 286 game on a 66 MHz beast?  React to time passing within Update  Update is less likely to skip than Draw  You don’t want to miss a poll of some user input

 Vector2  + - * / another Vector2 or a float.  Normalize, Length, LengthSquared  System.Math  Math.ATan2(x,y) to calculate angles  Cos and Sin to turn an angle into a Vector2  MathHelper  The XNA Version of System.Math  Constants: PI, TwoPi, PiOverFour, E, Log10E  Methods: DegreesToRadians, Clamp, CatMullRom, Lerp

 GamePad  An XBOX relic  Check if the user is pressing “back” (exit or menu)  TouchPanel  GetState() ▪ Picks up all the currently touched points ▪ Each touch has an ID  ReadGesture() ▪ Higher level API ▪ Filter with EnabledGestures

 Update or Draw will get bigger as your game gets built  Separate responsibilities into components  Don’t treat these as sprites – they should be long- lived  Share state via Game.Services  GameComponent has parallel Initialize, LoadComponent, Update and Draw (DrawableGameComponent)

| | meetup.com/cwdnug