GameMaker Studio - Lesson #20: Hands-On (Beginner Tutorial)

Опубликовано: 22 Апрель 2026
на канале: Sempiternal Rain: Notes
2,157
50

"Dear friends! If you enjoyed this video, please give it a like and subscribe to the channel. We strive to share with you the lost knowledge of the great prophet and teacher of GameDev, Sempiternal Rain. These lessons will teach you the GameMaker Studio game engine. Learn programming in Game Maker Language (GML). And in the future, you'll be able to easily create almost any 2D game for video consoles, computers, and phones."

Description and tips below. Enjoy!

VK Community
sempiternalrainnotes (Sempiternal Rain: Notes)

Games created by the great visionary of the gaming industry, Sempiternal Rain:

1. "Socialism Simulator"
2. "ReLinked"

You can purchase them on Steam)

--------------------------------------------------------------------

Lesson Title:
GameMaker Studio - Lesson #15: Practice

Lesson Description:
In this video, we'll reinforce everything we've covered in the previous lessons. We'll also learn a few new things.

Timecodes:
00:01 - Introduction
00:05 - Interface
06:20 - Creating the Player Plane
08:10 - Room Setup
14:05 - Editor Settings
16:25 - Creating Variables
20:56 - Coordinates
23:49 - Bug Fix
27:18 - Creating Player Bullets
34:55 - Creating the Enemy Plane
40:55 - Creating Enemy Bullets
44:52 - Creating the Enemy Spawn
49:00 - Resources
-------------------------------------------------------------------

*******

Animation Curves - Animation curves
Extantion - Extension (ability to add plugins)
Fonts - Fonts. draw_set_font(Font1); Can display a different language
Notes - Notes
Path - Paths. Pre-defined movements
Scripts - Ability to write separate code
Sequences - Sequences Animations
Shaders - shaders. Lighting, shadows
Sounds - sounds. audio_play_sound(S_music,0,1);
Sprites - sprites
Tile Sets - tiles. Sprite pieces
Timelines - sequence of actions

*******

Notes:
1. move_towards_point(mouse_x, mouse_y); - move in a straight line to a point
2. Coordinates are shown in the lower left corner of the window
3. The x-coordinate is horizontal, y-vertical
4. image_angle - rotation angle
5. point_direction(x,y,mouse_x,mouse_y) rotates from object x, y to mouse_x and mouse_y
6. if() {} else {} - selection condition
7. distance_to_point(mouse_x, mouse_y)>5 - checking the distance from an object to another object
8. draw_text(x-40,y-40, "HP:" + string(hp)); - display on the screen. string(hp) - convert a number to a string for correct display
9. draw_self(); - display the object itself
10. instance_create_depth(x,y,0,Ob_bullet); - create an object at depth 0
11. instance_destroy(); - delete object
12. alarm[0] = 15; //start alarm 0 after 15 frames; 1 sec = 60 frames
13. irandom_range(0,100) //random
14. A random object must be placed in the room
15. global.points = 0; - global variable
16. draw_set_font(Font1); - display font, can be output in another language
17. audio_play_sound(S_music,0,1); - Play music
18. If the music doesn't play, try redownloading

///////////////////////////////////////////////////////////////////////////////
Tags:
#gamemaker, #programming #practice, #gamemaker, #games