Sponsored By

Making a Video Game with GameMaker Can be a Fun Activity

How many more days are you planning to spend only on playing the same video games? Time to make your own computer game by using GameMaker. Experience its amazing user-interface and make the perfect video game on your own in a hassle-free way.

Sophia Addison, Blogger

December 20, 2018

3 Min Read

Let’s accept the fact folks! In this digital world, computer games are the major sources of our daily entertainment and we tend to invest most of our time and energy into that.

Dota 2. Myst. Battlefield. Counter-strike. Assassin’s Creed. Quake.

Which one do you prefer? Well, the choices can differ but the habits cannot.

However, have you ever thought of making your own computer game? Common, most of us have gone through an age when we tried hard to find out some ideas for creating a fresh game on our own. But somehow, that urge vanished as soon as we grew up.

Hold on. Looks like the urge has again got heavy on your head and this time you don’t seem to back out.

Let’s begin then…

Designing a Game with a Steady Concept

Before you become an active developer, you need to gather a clear idea of the gaming design. You cannot just go ahead and start making the pirates seeking long treasures or a spaceship captain killing the aliens randomly.

Choose your genre and explore the gaming world for addressing your competitors. As soon as the idea is crystal clear to you, you can move forward to designing your game.

Tutorial: The games that the established companies generally sell involve a lot of coding expertise. In fact, some of the games have to be decomposed because of too much of coding involvement.

In case you are running absolutely out of ideas how to understand coding and the programming languages, get into the PenMyPaper site and check out some useful blogs on the same. Their write-ups can bring the key to your success.

Choose GameMaker for Making the Ultimate Video Game

There are numerous tools that help you make the ultimate computer game for yourself. Among those, GameMaker has an amazing graphical user-interface that leaves you with a variety of the gaming world. Here, you can use a Lego-like approach for arranging the code “blocks” and transform them into logical statements. Its free version only exports the executable files including the watermark.

Follow the steps and make your own game…

  • Open GameMaker and click on New to open a fresh tab. As soon as the Sprite Manager window opens, name it “spr_player”. Here, you can set an image for the player by choosing the Load Sprite option.

  • As soon as you click on the Edit Sprite option, you can import the sub-images for your sprite. Now choose the File option from the top and select New to set the dimension of the character.

  • Congrats! You have created a sub-image of your sprite appearing as image 0 on the screen. Double-click on the sub-image and become your own sprite editor. Once you’re done, choose the Green Tick from the top-right corner.

  • Now make an object and name it “obj_wall” and ensure that you have chosen the wall sprite. Next, create an object as “obj_player” choose your player sprite and you are one-step ahead towards coding.

  • In order to program your obj_player, choose the add event option and hit the step button twice. After that, choose the Control tab and drag the execute code action. Now simply copy paste the code I’ve mentioned here:

// simple Platforming code!// if place_free(x,y+1) { gravity = 0.7 gravity_direction = 270 } else { gravity=0 gravity_direction = 270 } //the arrow keys<,>,^ if place_free(x-4,y)and keyboard_check(vk_left){x-=4} if place_free(x+4,y)and keyboard_check(vk_right){x+=4} if !place_free(x,y+1) and keyboard_check(vk_up){vspeed=-10}

  • Again choose the add event option and hit the collision, obj_wall options. Open the “execute code” option again and paste the following code:

move_contact_solid(direction,12); vspeed=0;

  • Finally, make a room and name it “room_1”. Next, click the selected object for making a level design and save it by hitting the “Tick” from the top.

And I’m done from my end. Now you go ahead and run the game or call an honest friend to give you feedback on your first experiment.

Read more about:

Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like