?(still fake) Mouse cursor [Game Maker Studio 2 | Basics]
This basics tutorial shows you how to change the sprite for the mouse cursor GameMaker Studio. There are options to change the default mouse cursor to other predefined ones but you need to understand that gamemaker allows you alternatively to change the image of the cursor.
So why is this still fake? Well, when you hover with your mouse over the gamemaker execute window you see the cursor of your operating system. By assigning the inbuild variable (green) cursor_sprite you basically create a virtual mouse from Gamemaker Studio. The mouse of your operating system is still there. You basically have now two mouse cursor which is I guess not what you would have expected (at least I didn't).
This vfx video tutorial shows you how to create the grayscale effect with a shader in GameMaker Studio 2 the easy way. This does work similar also with lower versions of GameMaker.
The idea is quite simple, you want to desaturize your image so that you only have a grayscale image left.
How can this be done?
You take the current color and transform it with the shader into a grayscale "color". Colors without saturation have one thing in common which is that they have all the same red, green, blue values. We use this knowledge to add all those 3 together and divide them by 3 to get an average. This average we use to create the new color. And that is pretty much it. Magic, with no real effort :D
0:00 Intro of the effect to do
0:58 Subscribe
1:13 Quick setup
2:12 Concept explained
3:32 Setting up the shader
6:00 Optional: Make a shader that applies to the whole screen
11:30 Game shown: Blade Assault
? Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
? Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
...
https://www.youtube.com/watch?v=jw-ApG-PRmA
This basics video tutorial shows you how to make a point and click movement in GameMaker Studio the easy way.
You may have seen/played games like Diablo or Path of Exile or even a moba. All these use the same movement system: Point and click.
So all you need to understand here is that gamemaker has such a function ready to be used. This move_towards_point function does basically one thing. It moves the object constantly towards a set direction with a speed value. So in theory when you set it up once, it will follow this movement into infinity, which I guess you don't want. You simply implement a breaking condition that sets the speed to 0 when set destination point is being reached. And that's pretty much it.
Tilset by Sardonic CC0
https://opengameart.org/content/isometric-pixel-terrain
Naked Dudette by RayaneFLX CC3 sa by
https://opengameart.org/content/isometric-character-template
? My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
? My commercial game Office Orc:
https://1up-indie2.itch.io/office-orc
? My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
? Support me and get fresh game art and game maker projects every month: https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
...
https://www.youtube.com/watch?v=ZtSEzCcoziw
This video tutorial shows you how to make an easy pause in gamemaker studio by deactivating instance layers. No magic here.
▶ Gamemaker Studio: https://www.yoyogames.com/get
▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations
♥ My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
♥ My assets:
Get some assets at itch.io https://1up-indie2.itch.io/
♥ Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
Instangram: https://www.instagram.com/1upindie
Twitter: https://twitter.com/1upIndie
Discord: https://discord.gg/gvr98nb
...
https://www.youtube.com/watch?v=k4nCOxAmqB4
This enemy ai video tutorial shows you how to make a randomly teleporting enemy that that doesn't spawn on walls in GameMaker Studio.
The idea is quite simple. You need to define at the start a radial spawn circle and save the first x,y coordinates where the instance has been placed. This area defines possible spawn locations. Now run down a timer and when that reaches zero we try to teleport the enemy in a random x,y coordinate in that possible range. Here we check multiple times if that spot is not blocked by a wall instance and if no, we set the x,y coordinate to the random new positon. That's it!
? Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
? Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
--------------------------------------------------------------
0:00 What we will do
0:44 Subscribe
0:55 Theory of how it is done
2:15 Coding part
9:05 Game shown - Batbarian
...
https://www.youtube.com/watch?v=Z-3rlAfYEWc
This basics video tutorial shows you how to conver automatically from one type of programming language into another in GameMaker.
To clarify, GameMaker has two types of programming "languages", one called gml, which stands for GameMaker language which is a script programming language. The other ones is a icon heavy way to make games which is called gml visual formerly known as DnD.
To fast forward, yes you can convert from gml visual (dnd) to gml with ease, just hit right mouse button and convet the specific event/script. But can you do the same the other way around? Well, technically you can but not how you would expect it. The conversion is then running hybrid with the gml part as an "addon" and the rest with gml visual. This is a bit of a let down because for beginners who prefer the visual programming style with gml visual and want to convert gml projects, well they are pretty much out of luck. There is currently no way for a clean conversion where you can flip flip between those two styles on the fly.
Disclaimer: I have never had that issue nor need and never encountered any gml visual (DnD) projects from ar site, tutorial or video etc. .
(Free) Art shown in the project and in video thumbnail:
Ansimuz CC0
https://opengameart.org/content/tiny-rpg-forest
? Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
? Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:45 Subscribe
1:00 The difference between gml and gml visual
1:54 Converting from gml visual to gml
2:32 Converting from gml to gml visual which goes hybrid
3:22 Game shown: Blade Assault
...
https://www.youtube.com/watch?v=zsqlnD9PBBU
Gamemaker Studio 2, Gms 1.4 or even the Game Maker 8 have an alternative unique way to make video games without coding.
Most ides like Unity, Godot etc. use an already existing scipting language that is not visual. Gamemaker has it's own version of a scripting/programming language. Here it is called GML which stands for Gamemaker language. But as an alternative you can use a block tool that substitutes the programming language visually with DnD which stands for drag and drop.
DnD:
These visual blocks are instructions/commands in every object to do things like moving, setting and getting values or drawing things on the screen. This crash course will guide you through the most important/essential parts of making games which is:
- detecting a keyboard input
- moving things by updating x,y values or by direction plus speed
- instance creation and destruction
- randomness and variables to store values
These topic build the foundation to build fast and easy with DnD small video games in just a few minutes.
// free resouces found here:
background, ships, shots, asteroids by Ansimuz: CC0
https://opengameart.org/content/space-ship-shooter-pixel-art-assets
https://opengameart.org/content/warped-fast-ship
explosion by JROB774 CC3
https://opengameart.org/content/pixel-explosion-12-frames
? Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
? Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
--------------------------------------------------------------
0:00 What we will do
0:49 Subscribe
1:00 Setting the room up
3:00 What are objects and where is the DnD system
3:56 Setting up the player - Get keyboard input to move the player
10:58 Setting up the player - Get keyboard input to create a shot/bullet
14:30 Setting up the shot - moving up plus rotate
16:31 Creating enemys and naming the assets to keep it organized
18:02 Setting up the enemy - moving left
20:30 Adding walls for the enemy to have a collision with and reverse the enemie's direction
22:30 Destroying the shot when the touch (collide) with the enemies
24:00 Make fancy explosions to indicate visually a contact between shots and enemies
26:15 Add destructible rocks/asteroids to shoot at
31:28 Create spawner for rock spawing
34:10 Why variables are useful
41:07 Is DnD for you? Game shown - Rayman Legends
...
https://www.youtube.com/watch?v=cuHEKpO3BSA
This advanced video tutorial shows you how to make a small system that defines the closer an entity is to the center of the explosion is the bigger the damage dealt will be in gamemaker studio. The idea behind this system is to make it universal and all other explosions will automatically adapt their inital range depending on the set bounding boxes/collision mask.
...
https://www.youtube.com/watch?v=m0ObS2YU68Q
This is the 3nd video in a short Tower Defence series made in GameMaker.
What is left now is to have a mechanism that allows us to place dynamically in the game houses on a grid. To snap to a grid we use the mouse x,y coordinates and substract the mudolo (rest values) from it. Then we assign a random sprite index to the instance and pass that information to on click created house also in. And last but not least we have two checks which if true disable placing a house at this part of the grid. First we check by a collision check if there is already a house being created on this spot/grid part and second a tile index check if on this mouse position a tile other then 0 was set (0 is default and "not set"). That's it!
? For the future: This series will have 3 videos where all the basics are setup and a 4th optional one where constructors are used as a solid spawning setup. The project can be downloaded and since it is ultra small, is free to use (graphics are free also, check out the notes)
?Project + assets found here:
https://1up-indie2.itch.io/free-tower-defence-project-gamemaker
overworld graphics: Beast CC0
https://opengameart.org/content/overworld-grass-biome
Enemies:
ThKaspar Orga by
https://opengameart.org/content/micro-character-bases-basics
explosion:
JROB774 CC3by
https://opengameart.org/content/pixel-explosion-12-frames
? Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie
Follow me on:
? Instangram: https://www.instagram.com/1upindie
? Twitter: https://twitter.com/1upIndie
? Discord: https://discord.gg/gvr98nb
? Udemy: https://www.udemy.com/course/become-a-video-game-developer-with-gms-23/ (See youtube about page for discount)
CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:49 Subscribe
1:01 The concept what we do
2:00 Draw and snap to grid
4:17 Place a house on mouse click
5:25 Assign random preview sprite for houses
6:52 Check if we can place the house there
11:48 Game shown: Itorah
...
https://www.youtube.com/watch?v=gL-ZSEaecXc