GameMaker Fundamentals: Learn GML Programming to Start Making Amazing Games
- Length: 431 pages
- Edition: 1
- Language: English
- Publisher: Apress
- Publication Date: 2022-11-27
- ISBN-10: 1484287126
- ISBN-13: 9781484287125
- Sales Rank: #1359953 (See Top 100 Books)
Master the fundamental programming skills needed to create your own computer games in GameMaker. This book shows how to use GameMaker to build and publish cross-platform games.
Each chapter covers a certain programming element, including layers, variables, and so on. You will also learn how to design levels in your games, draw sprites to populate your virtual worlds, and build GUIs for your menus and game interfaces. GameMaker Fundamentals also provides a thorough introduction to the GameMaker Language (GML). Practical example projects reinforce the concept discussed in each chapter.
On completing this book, you will have a thorough understanding of how to create games from scratch using game design and programming principles using GameMaker and GML.
What You Will Learn
- Review core programming features required for sound knowledge of GameMaker
- Master how to combine GML to orchestrate game actions
- Utilize GameMaker’s layers to create exciting games
- Set up player control
Who Is This Book For
Those new to GameMaker or game programming in general; it assumes no prior knowledge or skill set.
Table of Contents About the Author About the Technical Reviewer Acknowledgments Introduction Welcome Chapter 1: Variables Basic Assignments Advance Assignments Useful Functions Summary Chapter 2: Conditionals Basic Assignments Advance Assignment Useful Functions Summary Chapter 3: Drawing Shapes Basic Projects Advance Project Useful Functions Summary Chapter 4: More Drawing Basic Projects Advance Projects Useful Functions Summary Chapter 5: Input and Movement Basic Projects Advance Project Useful Functions Summary Chapter 6: Objects and Events Create Event Mouse Events Quick Summary of the Mouse Events Destroy Event Alarm Event Draw Event Step Event Key Events Collision Event Draw GUI Event Basic Projects Advance Project Useful Functions Summary Chapter 7: Sprites Basic Projects Advance Project Useful Functions Summary Chapter 8: Health, Lives, and Score Health Lives Score Basic Projects Advance Projects Useful Functions Summary Chapter 9: Mouse Cursors Basic Projects Advance Projects Useful Functions Summary Chapter 10: Alarms Delaying an Action Basic Projects Advance Projects Useful Functions Summary Chapter 11: Collisions Collisions Collision Line Basic Projects Advance Projects Useful Functions Summary Chapter 12: Rooms Room Editor Basic Projects Advance Project Useful Functions Summary Chapter 13: Backgrounds Setting Up a Background Parallax Effect Basic Projects Advanced Project Useful Functions Summary Chapter 14: Sounds Sound Effects Music Pausing and Resuming Audio Basic Projects Advanced Projects Useful Functions Summary Chapter 15: Splash Screens and Menu Splash Screen Example Basic Projects Advanced Project Useful Functions Summary Chapter 16: Random Random Numbers Other Random Uses Basic Projects Advanced Project Useful Functions Summary Chapter 17: AI Basic Enemy AI Enemy Shooting Basic Projects Advanced Projects Useful Functions Summary Chapter 18: INI Files INI File Contents Loading Data Saving Data Basic Projects Advanced Project Useful Functions Summary Chapter 19: Effects Effects Effect Layer Basic Projects Advance Projects Useful Functions Summary Chapter 20: Loops Repeat Loop While Loop For Loop Do Loop Basic Projects Advance Projects Useful Functions Summary Chapter 21: Arrays Array Example Drawing Array Contents Array-Based Shop Basic Projects Advanced Projects Useful Functions Summary Chapter 22: DS Lists Creating a DS List Sorting an Array Removing a Value Adding a Value Basic Projects Advanced Project Useful Functions Summary Chapter 23: Paths Path Example Creating a Path in Code Drawing a Path Basic Projects Advanced Projects Useful Functions Summary Chapter 24: Functions Creating a Function Calling a Function Basic Projects Advanced Projects Useful Functions Summary Chapter 25: Tilesets Setting a Tileset Placing Tiles Basic Project Advanced Projects Useful Functions Summary Chapter 26: Timelines Creating a Timeline Make a Timeline Play Basic Projects Advanced Projects Useful Functions Summary Chapter 27: Views Setting a View Advance Projects Useful Functions Summary Chapter 28: MP Grids Setting a Grid Adding Objects to a Grid Basic Project Advance Project Useful Functions Summary Chapter 29: Sequences Creating a Sequence Setting a Scale Curve Basic Project Advance Project Useful Functions Summary Appendix A Plan Out Main Game Features with a Pen and Paper Source-Suitable Graphics and Audio Set Up Splash Screen Room Set Up Menu Room Set Up Game Information Room Set Up Gameover Room Set Up First Level Create HUD Create Main Player Create Player Weapons Create Bonuses Create Enemies Create Enemy Spawning System Collisions, Effects, and Audio Appendix B CHALLENGE 1 – Slowly Increase Score CHALLENGE 2 – Mouse over Menu Buttons CHALLENGE 3 – Planes on Menu CHALLENGE 4 – Weapon Trail Effects CHALLENGE 5 – Random Game Play CHALLENGE 6 – Bonus Bird CHALLENGE 7 – Voice on New Highscore CHALLENGE 8 – Weather Effects CHALLENGE 9 – Player Auto Move CHALLENGE 10 – Music Control CHALLENGE 11 – End of Level Boss CHALLENGE 12 – Bonus Round CHALLENGE 13 – Draw Score As Text CHALLENGE 14 – New Enemy CHALLENGE 15 – Sliding Menu Buttons CHALLENGE 16 – Enemy Crash in Water CHALLENGE 17 – Shield Bonus CHALLENGE 18 – Room Fade In/Out Effect CHALLENGE 19 – Laser Weapon CHALLENGE 20 – Radar Showing Enemies CHALLENGE 21 – Floating Score Text CHALLENGE 22 – Knockback When Shooting CHALLENGE 23 – Player Flash When Hit CHALLENGE 24 – Read Score As Voice CHALLENGE 25 – Mouse Cursor Change CHALLENGE 26 – Shooting Cool Down CHALLENGE 27 – Basic Weapon Upgrade CHALLENGE 28 – Mega Weapon CHALLENGE 29 – Hoop to Fly Through CHALLENGE 30 – Coins Bonuses CHALLENGE 31 – Logo Change Color CHALLENGE 32 – Friendly Hot Air Balloon CHALLENGE 33 – Water-Based Enemy CHALLENGE 34 – Dangerous Blimp CHALLENGE 35 – Difficulty Settings CHALLENGE 36 – Fast Move Bonus CHALLENGE 37 – Exploding Mega Bomb CHALLENGE 38 – Combo Kill Effect CHALLENGE 39 – Slowly Change Menu Button Size CHALLENGE 40 – Double Damage CHALLENGE 41 – Wobbly Logo CHALLENGE 42 – Plane Player Crash CHALLENGE 43 – Better Collison Detection CHALLENGE 44 – Text with Border CHALLENGE 45 – How to Play Information CHALLENGE 46 – Shop System CHALLENGE 47 – On-Screen Keyboard CHALLENGE 48 – Name with Highscore CHALLENGE 49 – Shoot Weapon to Target CHALLENGE 50 – Create Lots of Effects CHALLENGE 51 – Increasing Difficulty CHALLENGE 52 – Quit Game Confirmation CHALLENGE 53 – Fuel Control System CHALLENGE 54 – Heat Seeking Weapon CHALLENGE 55 – Character Selection CHALLENGE 56 – Player Achievements CHALLENGE 57 – Engine Sounds CHALLENGE 58 – Hit Enemy Damage CHALLENGE 59 – Mega Super Weapon CHALLENGE 60 – Mini Helper Plane CHALLENGE 61 – Moving Text CHALLENGE 62 – Enemy Incoming Alert CHALLENGE 63 – Menu Plane Effect CHALLENGE 64 – Heat Distortion Effect CHALLENGE 65 – Screen Shake Appendix C Logging in or Creating a New Account Subscription Options Free Creator Indie Enterprise Summary Installing Downloading Staring a New Project The IDE Menus File Edit Build Windows Tools Marketplace Layouts Help Source Control Target Assets Sprites Importing a Single Image Importing a Sprite Sheet Importing a Sprite Strip Resizing Sprites Sprite Origin Fonts Creating a Font Objects Assigning a Sprite Events Create Clean Up Step Alarm Draw Mouse Key Events Gesture Collision Other Asynchronous GML Code Sounds Importing Sound Settings Rooms Adding Instance Background Layers Background Instances Tiles Paths Asset Effects Rooms Order Paths Functions Sequences Shaders Tilesets Timelines Target Naming Conventions Index
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: GameMaker Fundamentals: Learn GML Programming to Start Making Amazing Games
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.