GameMaker Cookbook
图书信息
| 作者 | Brandon Gardiner |
| 出版社 | Packt Publishing |
| ISBN | 9781784397135 |
| 出版时间 | 2015-12-23 |
| 字数 | 130.4万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
Over 50 hands-on recipes to help you build exhilarating games using the robust GameMaker system About This Book Design and develop game elements that can be used alone or stacked to enhance your gaming experience Explore extensions that can unlock GameMaker: Studio’s true potential to create complex games A recipe-based, easy-to-follow guide to take your GameMaker skills to the next level Who This Book Is For This book is intended for GameMaker: Studio enthusiasts who are looking to add more substance and improve their content. If know your way around the program and have some basic GML skills but want to take them further, then this book is for you. What You Will Learn Set up player control schemes of various types, such as touch controls and a gamepad Create your own physics sandbox Get accustomed to advanced player movement Implement music and 3D sound in your games Utilize GameMaker’s GUI layers to create exciting games Generate adjustable game settings and save systems Add depth to your game with lighting and special effects In Detail GameMaker: Studio started off as a tool capable of creating simple games using a drag-and-drop interface. Since then, it has grown to become a powerful instrument to make release-ready games for PC, Mac, mobile devices, and even current-gen consoles. GameMaker is designed to allow its users to develop games without having to learn any of the complex programming languages such as C++ or Java. It also allows redistribution across multiple platforms. This book teaches you to harness GameMaker: Studio’s full potential and take your game development to new heights. It begins by covering the basics and lays a solid foundation for advanced GameMaker concepts. Moving on, it covers topics such as controls, physics, and advanced movement, employing a strategic approach to the learning curve. The book concludes by providing insights into complex concepts such as the GUI, menus, save system, lighting, particles, and VFX. By the end of the book, you will be able to design games using GameMaker: Studio and implement the same techniques in other games you intend to design. Style and approach A problem-solving guide that teaches you the construction of game elements and mechanics to be integrated in games for rapid prototyping. Each overall topic includes several individual recipes taught through step-by-step instructions, and in-depth follow-up with examples.
目录
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
- 魔法象・故事森林:把爸爸从火星上摘下来(常笑)
- 憨奇典库--外国科技发明的故事(上)(暂无)
- 白居易诗选((唐)白居易)
- (四色)世界名人非常之路.医学世家走出的医圣:李时珍(王莲凤)
- 杨红樱画本.校园童话系列(新版.全6册):爱玩飞镖的校长先生(杨红樱)
- 英国史话(毛锐)
- 中国高铁、贸易成本和企业出口研究(俞峰)
- 做情绪的主人:情绪管理与健康指导手册(全10册)(周卓平)
