Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Gamemaker Essentials

You're reading from   Gamemaker Essentials Learn all the essential skills of GameMaker: Studio and start making your own impressive games with ease

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784396121
Length 154 pages
Edition 1st Edition
Arrow right icon
Toc

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
Visually different images