greatfriends vtalks seminar #10. xna game programming supote phunsakul (ball) [email protected]

17
GreatFriends vTalks Seminar #10

Upload: mildred-sullivan

Post on 29-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

GreatFriends

vTalks Seminar #10

XNA Game Programming

Supote Phunsakul (ball)

[email protected]://CodeToday.net

What Is the XNA Framework?A .NET game development platform

that you use to create games for Xbox 360, Windows and ZuneSimplifies cross-platform developmentFocus on your game, not the platformConsistent, easy-to-use APIs

VersionXNA Game Studio Express 1.0XNA Game Studio Express 1.0 RefreshXNA Game Studio 2.0XNA Game Studio 3.0

XNA Game Studio Components

Framework

Xbox LIVE Marketplace

XNA Game Studio Components

Framework

Xbox LIVECommunity

Games

Xbox LIVEArcade

XNA Game Studio 3.0

Visual StudioVisual Studio 2008 Support

Includes Visual C# Express 2008

C# 3.0Query Expressions, Extension Methods, Lambda Expressions, Expression Trees, Partial MethodsWindows, Xbox 360, and Zune

Cross-platform project synchronizationClick-Once deployment supportIntegrated project upgrade experience

Creating Zune Games

Games for ZuneGoals

Enable creation of games on Zune devicesExtend XNA Game Studio to additional Microsoft platformsSame developer experience as Windows and Xbox 360

Supports all Zune devicesZune 4, 8, 30, and 8016 MB RAM240x230 resolution

Games for ZuneGraphics

2D SpriteBatch functionalityCan access texture buffers directly

InputZune Pad accessed via Left Thumbstick (for touches) and D-Pad (for presses)A, B, and Back Buttons

Create networked multiplayer gamesUp to 8 Zunes in ad-hoc networkBehaves like a “system link” network session

FAQI can develop on a retail Xbox 360?

Yes. You will require a subscription to the XNA Creators Club ($99 a year) to do Xbox 360 development, Windows is free.

Is it really cross platform?Yes. We had a design goal of > 95% common code

C# only?Currently yes.

PricePlay Station 3 = $10,250Wii = $2,000Xbox360 = $99

Next StepsCreate Your GameGet started using XNA Game Studio 2.0Visit http://creators.xna.com

© 2008 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only.

Microsoft makes no warranties, express or implied, in this summary.

GreatFriends

vTalks Seminar #10

FormularPi = 180 degreePiOver2 = 90 degreePiOver4 = 45 degree1 degree = (Pi/180) RadianSin(0) = 0, Cos(0) = 1Sin(Pi/2) = 1, Cos(Pi/2) = 0

FunctionMathHelper.Clamp(value, min, max)MathHelper.Lerp(value1, value2, amount)