• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to write Game with Game Maker Studio 2

AnonyViet by AnonyViet
February 2, 2023
in Software
0

You want to write your own Game but are afraid because you don’t know how to program or it’s too difficult to learn? In this article, I will guide you to use Game Maker Studio 2 to create a personal game. This is a game engine that is easy to learn and easy to write. The game is suitable for all ages.

Join the channel Telegram of the AnonyViet 👉 Link 👈

What is Game Maker Studio 2:

Game Maker Studio 2 (GMS 2) is mainly used for design Games with 2D graphics (very good). However, this software is still limited in 3D. I really like this Game Engine because it supports creating games on all platforms: Windows, macOS, Ubuntu, HTML5, Android, iOS, PlayStation 4 and Xbox One. GMS 2 is published by YoYo Game.

Game Maker Studio There are 2 versions which are Game Maker Studio 1 and Game Maker Studio 2 (recommended version 2). When downloading it will force you to register for an account (I will guide you below) and only get 30 days free, when 30 days are over you will be required to buy.

Some games created by GMS2:

  • BLASTED ROAD TERROR
  • Cook, Serve, Delicious!
  • Cook, Serve, Delicious 2!
  • Risk of Rain
  • Soft Body
  • Undertale
  • Uncanny Valley
  • Duke Of Defense
  • Undertale
  • Stoneshard
  • Devil Engine

And If You Compare Unity, Unreal Engine, Cry Engine, UrHo3D, libGDX with Game Maker Studio 2, I would like to confirm that GMS2 makes 2D games better than these Engines except (GoDot and cocos2D-x).

Game Maker Studio 2 programming language

The language of GMS2 is GML (quite similar to C and Java). Here I will explain to you the code below:

Game Maker Studio 2 programming language

Key_left is a variable created by you with any name (learning nnlt is knowing) leave it to Key_left because it’s easy to understand and recognize it

keyboard_check: check the input keyboard and vk_left is the key to enter it vk_left = left arrow & vk_right = right arrow & vk_down = down arrow & vk_up arrow to the sky.

keyboard_check(ord(“A”)): the key to enter it above is vk_(something that is not a character key) and (ord(“A”)) is a statement that checks the character entered into it.

Key_jump = keyboard_check_pressed(vk_space): Check the pressed key is similar to the vk_left but when you let the character jump, you should leave it as: keyboard_check_pressed.

Where to create the game’s Object (this is my previous project @@)

Coding place:

  • Create = where you declare the variable;
  • Step = coding the moving part.

Coding game maker studioSprites where to download Characters, background ,item, things like country block like minecraft game I don’t remember what to call it @@ (collectively called Asset).

Sprites

This is where coding Object Attached Sprites (you create a sprites it is still an image that you upload not related to the game so you need to create an object to attach it to that Object).

coding Object

This is Room where you put the Sprites you attached to the Object. Click on the object to be placed and then hold alt to put it down.

Room

Result after creating the game:

Instructions on how to write a Game with Game Maker Studio 2 3

Download and register for an account Game Maker Studio 2

Step 1: You visit the page YoYo’s subscription to create an account download Game Maker Studio

Step 2: Fill in some information as follows:

  • Register: Personal Use
  • Skill Level: Beginner
  • Then you fill in the information in the form and next next
  • In the password creation section, you create a password with special characters, numbers, and letters. Example: Anonyviet@123

Instructions on how to write a Game with Game Maker Studio 2 4

Step 3: After confirming Gmail you will be redirected to the Download page. Please choose the correct version of the operating system to Download Game Maker Studio.

Step 4: After installation is complete, open Game Maker Studio and select New > Game Maker Language to create games. When you click it, a tab will appear, find a folder to save your project.

i project game maker

Introducing some Youtubers teaching GMS2

I will introduce to you some Youtubers who teach about GMS2 (Vietnamese and English)

Foreign Youtuber: Shaun Spalding

This guy sounds great, if you are good at English, you should listen and code. For those who do not know much English, please open the subtitles and translate.

Lecture link: https://www.youtube.com/playlist?list=PLPRT_JORnIupqWsjRpJZjG07N01Wsw_GJ

Foreign Youtuber: Gloomy Toad Studios

Foreign Youtuber: Beyond Us Games

Vietnamese Youtuber: SIReal

This guy is also a newcomer from the Programming Group, and I see that he seems to be the first youtuber to lecture about GMS2 in Vietnam, but there are many people who also teach about GMS but it is only version 1, version 2 it’s optimal. and much better.

Lecture link: https://www.youtube.com/playlist?list=PLHEyg4GEx-GDYLaccVcc1EDkhuU5KuHiO

CTV: Quang Dung

The article achieved: 5/5 – (100 votes)

Tags: GamemakerStudiowrite
Previous Post

Break the computer with cmd, .bat . file

Next Post

[Lập Trình Game] Lesson 12: Create HP for Enemy in Godot Engine

AnonyViet

AnonyViet

Related Posts

Online driving exam preparation: Support theory and practice
Software

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar
Software

How to add application to your favorite bar

August 14, 2025
Instructions on how to fix Screen Time Limited Reached on RoBlox
Software

Instructions on how to fix Screen Time Limited Reached on RoBlox

August 13, 2025
How to install GPT-suns on who do not need the Internet
Software

How to install GPT-suns on who do not need the Internet

August 12, 2025
Instructions for using AI chatbot of the Ministry of Public Security
Software

Instructions for using AI chatbot of the Ministry of Public Security

August 12, 2025
How to increase your favorite score with Ani Grok to unlock NSFW
Software

How to increase your favorite score with Ani Grok to unlock NSFW

August 11, 2025
Next Post
[Lập Trình Game] Lesson 12: Create HP for Enemy in Godot Engine

[Lập Trình Game] Lesson 12: Create HP for Enemy in Godot Engine

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply