售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
GameMaker Cookbook
Table of Contents
GameMaker Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Game Plan – Creating Basic Gameplay
Introduction
Animating a sprite
Getting ready
How to do it…
How it works...
There's more...
See also
Moving your player
Getting ready
How to do it...
How it works...
There's more...
See also
Adding projectiles
Getting ready
How to do it...
How it works...
See also
Creating hazards
Getting ready
How to do it...
How it works...
Programming basic enemies
Getting ready
How to do it...
How it works...
There's more...
See also
Setting up player health and lives
Getting ready
How to do it...
How it works...
There's more...
Creating scoring mechanism
Getting ready
How to do it...
How it works...
There's more...
See also
Creating win/lose scenarios
Getting ready
How to do it...
How it works...
There's more...
See also
2. It's Under Control – Exploring Various Control Schemes
Introduction
Keyboard controls
Mouse controls
Gamepad controls
Touch controls
Tilt controls
Creating 2D movement
Getting ready
How to do it...
How it works...
There's more...
See also
Adding a Run button
Getting ready
How to do it...
How it works...
Making your character jump
Getting ready
How to do it...
How it works...
There's more...
See also
Using a point-and-click interface
Getting ready
How to do it...
How it works...
There's more...
See also
Following the cursor
Getting ready
How to do it...
How it works...
There's more...
See also
Setting up a controller
Getting ready
How to do it...
How it works...
Utilizing analogue joystick acceleration
Getting ready
How to do it...
How it works...
There's more...
See also
Adding tap control
Getting ready
How to do it...
How it works...
There's more...
Using swipes
Getting ready
How to do it…
How it works…
There's more…
Moving characters or objects by tilting a device
Getting ready
How to do it...
How it works...
There's more...
3. Let's Move It – Advanced Movement and Layout
Introduction
Drag and drop items/characters
Grid-based movements
Paths
Multiple inputs
Dragging onscreen objects
Getting ready
How to do it
How it works
Dragging objects on a grid
Getting ready
How to do it
How it works
Moving a character on a grid
Getting ready
How to do it
How it works
There's more…
Setting a path
Getting ready
How to do it
How it works
There's more
Creating enemy pathfinding
Getting ready
How to do it
How it works
There's more…
See also
Controlling a character with a mouse and keyboard
Getting ready
How to do it
How it works
There's more
See also
4. Let's Get Physical – Using GameMaker's Physics System
Introduction
Physics engine 101
Gravity and force
Physics in the environment
Advanced physics-based objects
Creating objects that use physics
Getting ready
How to do it
How it works
Alternating gravity
Getting ready
How to do it
How it works
There's more
Applying force via magnets
Getting ready
How to do it
How it works
Creating a moving platform
Getting ready
How to do it
How it works
Making a rope
Getting ready
How to do it
How it works
There's more
5. Now Hear This! – Music and Sound Effects
Introduction
Audio basics
Sound effects
3D audio
Importing and playing background music
Getting ready
How to do it
How it works
There's more
Implementing situational sound effects
Getting ready
How to do it
How it works
There's more
Adding sound emitters and listeners
Getting ready
How to do it
How it works
There's more
Adjusting the listener orientation
Getting ready
How to do it
How it works
Replicating the Doppler effect with emitters
Getting ready
How to do it
How it works
6. It's All GUI! - Creating Graphical User Interface and Menus
Introduction
GUI basics
Game screens and menus
Setting up a basic HUD with code
Getting ready
How to do it
How it works
Making your HUD scalable
Getting ready
How to do it
How it works
Using the GUI layer in full screen mode with views
Getting ready
How to do it
How it works
There's more
Adding a title screen
Getting ready
How to do it
How it works
Creating splash pages
Getting ready
How to do it
How it works
There's more
Adding a game over screen
Getting ready
How to do it
How it works
7. Saving the Day – Saving Game Data
Introduction
Background data
Save systems
Creating game settings
Getting ready
How to do it
How it works
There's more
Making a pause screen
Getting ready
How to do it
How it works
There's more
Saving player selection and score
Getting ready
How to do it
How it works
There's more
Encrypting and decrypting save data
Getting ready
How to do it
How it works
8. Light 'em up! – Enhancing Your Game with Lighting Techniques
Introduction
Basic lighting
Light transitions
Light effects
Creating a room with a light switch
Getting ready
How to do it
How it works
There's more
Lighting objects with a spot light
Getting ready
How to do it
How it works
There's more
Changing day to night
Getting ready
How to do it
How it works
There's more
Creating a flashlight
Getting ready
How to do it
How it works
Making a flickering torch
Getting ready
How to do it
How it works
9. Particle Man, Particle Man – Adding Polish to Your Game with Visual Effects and Particles
Introduction
Particles
Game feedback
Using particles to simulate kicking up dust
Getting ready
How to do it...
How it works...
There's more...
Simulating rainfall
Getting ready
How to do it...
How it works...
There's more...
Creating an explosion
Getting ready
How to do it...
How it works...
There's more...
Adding screen-shake
Getting ready
How to do it...
How it works...
Using slow motion
Getting ready
How to do it...
How it works...
There's more...
10. Hello, World – Creating New Dimensions of Play Through Networking
Introduction
Basic networking
Online play
Connecting a client to a server
Getting ready
How to do it...
How it works...
Setting up asynchronous play for a turn-based game
Getting ready
How to do it...
How it works...
There's more...
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜