售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
GameMaker Essentials
Table of Contents
GameMaker Essentials
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
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Introducing GameMaker
Understanding GameMaker
GameMaker: Studio
Installing GameMaker: Studio
What is this book about?
Summary
2. Getting Started
Licensing
The welcome window
The main toolbar
The drop-down menus
The resource tree
Summary
3. Resource Management
Resources in GameMaker
Sprites
Sounds
Backgrounds
Paths
Scripts
Shaders
Fonts
Timelines
Objects
Rooms
Extensions
Macros
Resource naming conventions
Organizing resources
Groups
Sprite animations
Importing and exporting resources
Importing graphics and sounds
Importing GameMaker resources
Exporting resources
Exporting scripts
Summary
4. Objects
Events
The step event
Room speed
The draw event
Parents
Making a parent
Parents and collisions
Depth
Depth ordering
Changing an object's depth
Drag and drop
Creating a sprite
Making our object
Creating a room
Summary
5. The GameMaker Language
Variables
Instance variables
Local variables
Global variables
Macros
Arrays
One-dimensional arrays
Two-dimensional arrays
Functions
Statements and loops
Statements
The if statement
The else statement
The else if statement
Loops
The repeat loop
The while loop
The for loop
Scripts
Creating a script
Naming a script
Writing a script
Executing a script
Arguments in scripts
Argument hints in scripts
Returning a value
Summary
6. Sprites
Loading a sprite
Sprite options
Sprite origins
Collision masks
Editing a collision mask
Texture settings
Sprite sizing techniques
The power of two
Templates
Editing a sprite
Starting from scratch
Effects
Sprites in the GameMaker Language
Setting an object's sprite
Getting the width and height of a sprite
Getting the offset of a sprite
Setting the animation speed of a sprite
Setting the frame of a sprite
Setting the alpha of a sprite
Setting the rotation of a sprite
Changing the scale of a sprite
Finding out how many subimages a sprite has
Summary
7. Making a Game
Making the sprites
Room setup
Views
Object creation
Programming the game
Collectables
Enemies
Summary
8. Debugging
Errors
Undeclared variable
Drawing information
Drawing text
Drawing lines and shapes
Simple toggles
The GameMaker debugger
Summary
9. Game Settings and Exporting
Global Game Settings
Analytics and advertising
Advertising
Analytics
Exporting a game
Publishing your game
YoYo Player
Game Jolt
Skill summary
Taking this further
Games made in GameMaker
GameMaker learning sites
The GameMaker Community
YouTube
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜