Index

image  A

Audio project

    AudioSupport class

    controls

    description

    GameState class

    goals

image  B

image  C

Chasers

    ChaserGameObject class

    chaser object project

        cross product

        dot product

        project goals

        project’s controls

        running

    GameState class

image  D

image  E

image  F

Front direction

    Front Direction project

    GameState class

        draw function

        mNetInFlight

        TexturedPrimitive

        update function

image  G

Game camera

    camera class modification

        static move-camera function

        zoom function

    Camera Zoom Move project

    GameState class

        constructor

        DrawGame() function

        update function

Game Object project

    collision detection support

    MaxBound variable

    project goals

    project’s controls

    SoccerBall class

        Draw() function

        Game1 class

        image Soccer.png

        mDeltaPosition

        radius

        SoccerBall code

        TexturedPrimitive

        Update() function

Game objects

    GameObject class

        accessors

        InitialFrontDirection

        object’s speed

        RotateVectorByAngle

        TexturedPrimitive class

        VelocityDirection

        velocity variables

        virtual function

    Game Object project (see Game Object project)

    GameState class

        arrow’s position

        DrawGame() function

        rocket’s position

        UpdateGame() function

General pixel collision

    project

        axis-align texture

        controls

        creation

        goals

        normalized component vectors

        rotated component vectors

        running

    TexturedPrimitive class

        GameState class

        IndexToCameraPosition() function

        PixelTouches() function

        space–to–pixel space

image  H

image  I

image  J, K

image  L

image  M, N

image  O

image  P, Q

Particle system

    collision point

    definition

    GameState class

    goals

    particle emitter

        description

        GameState class

        goals

        ParticleEmitter class creation

        ParticleSystem class

        ReddishParticlePrimitive class

    ParticlePrimitive class creation

    ParticleSystem class creation

        alpha/additive blending

        constructor

        UpdateParticles() function

    properties

    TexturedPrimitive class modification

Patrol Enemy project

    class creation

        ComputePoint() function

        LengthSquared() function

        PatrolEnemy

        update function

    control

    finite state machine

    GameState class

    goals

    random target position

    resource

    running

Patrol That Chases project

    control

    finite state machine

    GameState class

    goals

    PatrolEnemy class

        DectectHero

        kDistToBeginChase

        RandomNextTarget

        UpdateChaseHeroState() function

        UpdatePatrol() function

    running

Physics project

    arc length review

    controls

    creation

    GameState class

    goals

    gravity variable

    implementation

    Platform class

    RotateObject class

    running

Pixel-accurate collision

    GameState class

    project

        behavior types

        controls

        creation

        goals

        large and small texture

        pixelCameraSpace

        running

    TexturedPrimitive class

        creation

        PixelTouches() function

        PrimitivesTouches() function

        ReadColorData() function

image  R

image  S

Show Vector project

    project goals

    project’s controls

    running

    ShowVector class

        DrawPointVector() function

        Game1.sSpriteBatch.Draw() function

        LoadImage() function

        normalized vector

        PrintStatusAt() function

        RotateVectorByAngle() function

        ShowVector.cs

        Texture2D

Smooth Turning Patrol project

    control

    goals

    PatrolEnemy class

        ComputeNewDirection() function

        update function

        UpdatePatrol() function

    running

Spinning Arrow project

    class creation

        ArrowPointsToHero state

        GameObject class

        update function

    controls

    finite state machine

    GameState class

    goals

    Many Enemies project

        control

        GameState class

        goal

        PatrolEnemySet class

        running

    Many Spinning Arrows project

        class modification

        control

        GameState class

        goals

        resources

        running

        SpinningArrowSet class

    PlayerControlHero class

    resources

    running

Sprite Animation project

    controls

    description

    GameState class modification

        DrawGame() function

        frame-numbering system

        primitives

        UpdateGame() function

        variables

    goals

    sprite collision (see Sprite Collision project)

    SpritePrimitive class

        accessors

        Draw() function

        GameObject

        padding

        parameters

        public method

        Update() function

        variables

    sprite sheet

Sprite Collision project

    description

    GameState class

        CollisionUpdate() function

        constructor

        DrawGame() function

        loops

        UserControlUpdate() function

        variables

    goals

    SpritePrimitive class

    textured primitive class

    TexturedPrimitivePixelCollide partial class

        data structure

        GetColor() function

        image size

        PixelTouches() function

        ReadColorData() function

image  T

Texture rotation

    GameState class

    project goals

    project’s controls

    TexturedPrimitive class modification

        accessor

        Draw() function

        mRotateAngle

        radians

        rotation origin calculation

        SpriteBatch.Draw() function

        update function

2D graphics

    game window

        full-screen mode

        modification

        project goals

        project’s controls

        windowed mode

    textured primitives

        class creation (see TexturedPrimitive class)

        functionality and behavior

        Game1.cs file

        LoadContent() function

        observations

        project goals

        project’s controls

        running project

        Update() function

image  U

image  V, W

Vectors

    GameState class

        DrawGame() function

        locator mPa

        Py vector

        RotateVectorByAngle() function

        TexturedPrimitive

        UpdateGame() function

    review

        arbitrary position

        direction and size

        normalized vector

        radians

        vector’s length

    Show Vector project (see Show Vector project)

image  X, Y, Z

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset