Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Gamemaker Essentials

You're reading from  Gamemaker Essentials

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Pages 154 pages
Edition 1st Edition
Languages

Drag and drop


One of the things GameMaker is well known for is the ability to create a game without the need to actually program anything. This is done using the drag and drop action in GameMaker.

A drag and drop action is essentially a piece of code that allows you to fill in the blanks with a user-friendly interface. It makes it easy for even someone with no programming knowledge at all to make a game.

To learn more about this, we are going to create a small game that will have the player move an object around the screen. For this, we are going to be using events and drag and drop actions.

We are going to need a new project for this. If GameMaker is not already open, open it and go to the New tab on the start screen. Name the project Drag and Drop-Movement and click on the Create button.

Once this is done, you will be presented with an empty project and we can get started.

Creating a sprite

To create sprites, perform the following steps:

  1. The first step we will be taking is to make a sprite so...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}