How to Make an RPG in GameMaker Studio 2! (Part 1: The Basics with Player Movement and Collision)

preview_player
Показать описание


If you have any questions, leave a comment or send me a dm on twitter/Discord!
Рекомендации по теме
Комментарии
Автор

Hey all, thanks for checking out this little series!



That'll help me focus more time on these videos and there's a bunch of cool perks like getting videos before Youtube does, voting on future series, and getting the project files and assets from future videos! Thanks!

peytonburnham
Автор

For anyone wondering how to make WASD movement instead of the arrow keys, simply replace them with the letters like this:

right_key = keyboard_check(ord("D"));
left_key = keyboard_check(ord("A"));
up_key = keyboard_check(ord("W"));
down_key = keyboard_check(ord("S"));


if you want both to work just like I did, just put the "||" symbol, which means "or", between one and another like this:

right_key = keyboard_check(ord("D")) || keyboard_check(vk_right);
left_key = keyboard_check(ord("A")) || keyboard_check(vk_left);
up_key = keyboard_check(ord("W")) || keyboard_check(vk_up);
down_key = keyboard_check(ord("S")) || keyboard_check(vk_down);

kyh_senpaiowo
Автор

don't forget to make the room grid 16x16 (go to top right where the zoom buttons are. it is the first icon and you can change dimensions)

joeoligist
Автор

You have no idea how much i appreciate the humour at 19:25. As much as I love learning, tutorials are always a bit of drag. You added some fun without dragging it on too long and got us back to work. Respect

JonnyBriers
Автор

The fact that this tutorial is still valid even after 2 years is insane. Teached me GMS2, thank you!

Also I love the humor

reinbew
Автор

7:38 "Let's see what we've done!" "Not much!" LOOOL

zuluku
Автор

You’ve answered my prayers, it was literally yesterday when i though “why are there no tutorials on this”

moisturecookies
Автор

The Music makes this tutorial so much better, music always helps increase the mood of doing what will eventually feel like a job.

Interistic
Автор

for those very new to gamemaker studio2 (me included)
if your grid doesn't fit your players as they spawn at the top left section of the grid. Go to your room and beside the grid icon there would be a down arrow button press it and change the number 32 to 16 and that should work.
Nobody is probably gonna see this, but it's pretty helpful to me, just want to share it.
Also, here's a sprint script that I made up took me forever, but thanks to this tutoriel at least I know how to do it:
sprint = keyboard_check(vk_lshift)
if sprint == true
{
move_spd = 3
}

if sprint == not true
{
move_spd = 1.5
}

ssharkiggo
Автор

One of the best lesson video I’ve ever watched. What he’s saying is really easy to understand even to those who not good at English like me.

gon_kuinige
Автор

I remember trying to make a game with these tutorials in a school holiday break. I spent a month working on it before I broke Gamemaker itself (don't ask me how) and the project wouldn't open. Now I'm back to try again with a new laptop, and this music brings back so much nostalgia. I love the down-to-earth way you explain it, as if you're really talking to someone. It feels like it stretches on a bit sometimes, but in a good way, like you're actually explaining the concept instead of just reading off a script. I've never been more excited about making a thing run into walls. Thanks for the tutorial! Moving on to the next one.

lavendeereatingreens
Автор

if anyone else is like me and got confused with placing the asset, you have to click specifically the RIGHT alt button, not the LEFT. the LEFT ALT lets you drag around the room. the RIGHT ALT places things.

retsevlys
Автор

Im new to coding and wow this tutorial is so clear and helped me so much, looks and sounds complicated but after practicing for a bit is so easy!

tyrone.
Автор

Oh my god YES!!!! I'm bored of RPG Maker and wanted to learn to create an RPG in GameMaker Studio but the tutorials on Youtube were not something I was looking for until this. Thank you and keep up with the videos cuz they're all gonna be in my playlist.

SangHendrix
Автор

This is absolutely the best tutorial I've come across. You're clear, precise, and are able to tell us what to do and teach us without backtracking and saying "jk, delete that, do this instead." It's really easy to listen to you, and I appreciate these videos. Thanks, Peyton.

idlesong
Автор

I've seen three different tutorials on movement and collision, and all three have totally different approaches. Very confusing for a beginner like me. haha. I would say yours is definitely the most enjoyable.

journeysmt
Автор

Just started migrating all my assets from RPG Maker and I cannot believe how much easier this is.
I mean the coding is still a foreign language to me, but holy heck game engines have come a long way.
Super grateful that you're sharing your process! Opens up a world of possibilities.

tonybologna
Автор

Idk why this tutorial is so nice, but words cannot describe how easily I'm able to follow this. Thank you so much for this tutorial and keep up the great work!

Cattliss
Автор

Just found your tutorial series. I have a little bit of coding background. But I am new to game development. Thanks for clarifying the y-axis. Seeing it visually helps quite a bit. 16:15

I came for the dialouge system but I am working through the whole series to get to understand where you are coming from. Have a nice day.

obenohnebohne
Автор

This is the first programming tutorial I've ever seen that actually kept watching and didn't get frustrated from its really simple and I might stick to this game engine for quite a while.

HappySeedling_