haven't touched GameMaker in years s this series is a nice refresher so thank you. For anyone struggling to understand the collision system it may be worth looking at the manual about the move_and_collide function that was added after this series was made. it simplifies things a lot.
at 4:32pm earlier today i settled on using game maker because i was trying to get back into game development, and your playlist popped up, i just finished the 1st video and i cant wait to do the rest soon, thank you for the tutorial :3 . [ Sat 3:38am 7/6/2024 ]
love your tutorials!! easy to follow and i can always go back and reference the codes in this tutorial if i ever need it because of all the documentations thank you so much!! will make doing comments on my code a habit from now on!!
Great tutorial! I haven't finished the complete tutorial so forgive me if this gets mentioned in a future episode, but I personally wanted to use tilemaps for collision. Luckily the solution is fairly simple. declare these variables in your player create event layerID = layer_get_id("THE NAME OF YOUR TILEMAP LAYER IN THE ROOM"); tiles = layer_tilemap_get_id(layerID); then, you just replace any oBlock or collision object in the code with the tiles variable. Seems to work fairly well from my testing.
Hello, I can see your comment is the latest one. I am absolute beginner would you kindly to write what is the best thing to do to start learning also practicing and more ? Thank you for your help.
Yoooo! Thanks for this, I nearly gave up on GameMaker 😅 But you saved it for me. I did all the coding and got my kids to playtest. We made a precision platformer level with some tricky jumps based on the buffer settings. Also setup a google sheet so that they can draw a level for us to play.
I've been really struggling learning to use code and this one spot right here 6:47 is a great example of why it's been so difficult. It's not a dig at the quality of the tutorial, but just how one thing can be so so different. Setting up a var statement for the keyright-keyleft and then using it in the next line below. I know it seems like a minor thing, but unless that var statement is used over and over again, why do that? That's the kind of details that are just throwing me for a huge loop, the way so many set up variables and name everything so different just to achieve the same thing makes it really hard to learn and understand what's going on. I do really enjoy your videos and have learned a lot, but it's very fascinating to me and makes learning very difficult
I stepped away from GMS for a while after the moved to GMS2 (I thought, I'd give it chance to grow) And WoW it has !! Anyway just found your Ch and love the detailed explanation of everything.. I not watched the rest of this series - but wonder if you could do a video on ways to make,handle and explain how to generate big levels etc.. maybe have a save and load for levels that could be added to a game at a later date etc -DLC. I've never seen a GMS tutorial doing it... Many thanks !
Hello, I really liked the Lessons, it would be nice if you wrote additional lessons, Interested in throwing an apple, Climbing the stairs, squatting, clinging to the corner of the wall when jumping, springboard, doors and keys, Teleportation at the level of teleportation between levels, Connect a non-generous joystick from Ps5, backlighting from the torch, and at least five different types of enemies, enemies who chase the main character and attack, shoot, fly, kamikaze for more variety switching between cameras from far to closer in levels with bosses and several variants of bosses, Interested in the Uproof weapons and skills I'm writing 2D Platformer on Game Maker Studio 2 LTS game about knights, dragons, goblins and so on and very little good information, liked the lessons of 2023 where it is written without abbreviations,Thanks!
Object: MainPlayer Event: Step at line 21 : got '' expected '}' i added a curly at the end of the code as written by the end of (time stamp 13:00) and the character only moves slightly after the key is unpressed , so( press key = no movement )(unpress key = movement of one space )
Instructions unclear:at line 14 (hsp += _dir*accel) i get a runtime error called: "variable not set before reading it". And i don't know how to fix it,also a nother problem at line 55 (var _onepixel = sign(vsp). It's a warning that "_onepixel" is already declared,how do i fix the 2 problems?
I'm at 12:20 and I ran the code, but the "max_hsp = 5;" code only applied when I stopped pressing the arrow keys. Can somebody suggest a fix? Edit: I was also coding the collision, and the game just crashed when I touch the walls. Again, can somebody suggest a fix?
after applying the run and jump animation, my sprite getting stuck on a wall when moving to left where my sprite is really close to it nvm, fixed by changing origin values of sprite
I had an issue with: "if (hsp != 0) image_xscale = sigh(hsp);" Which (If not moving) will detect if hsp is negative or positive and give back a 1 or -1 This made my sprite sqash down to half of it's x value I guessed this was since my sprite was 64 x 64 and not 32 x 32 and was right to fix this i wrote: "if (hsp != 0) { if (hsp > 0) image_xscale = 2; if (hsp < 0) image_xscale = -2; } else { image_xscale = image_xscale }" if anyone else had this issue let me know or if theres a better way to fix this or if this helped
If you would rather use A and D to walk and Space to jump here you go! key_left = keyboard_check(ord("A")); key_right = keyboard_check(ord("D")); key_jump = keyboard_check_pressed(vk_space); key_jump_held = keyboard_check(vk_space);
I find your comments insulting about people who want to use the VS as "losers". Some people just don't enjoy coding and don't have that type of mind., your art "sucks" but that doesn't stop you from using it... I find it sad that you feel "syntax coding " is a big boy skill. ... Thanks for the bs comments.
Yeah, I think you are right! Thanks for bringing this up. I'll definitely remember that all tools are just that: tools. Your comment is very kindly worded and clear.
Thanks. I certainly appreciate you taking the time to even make this course, I just mention this because I struggle to grasp the concepts of coding but really want to learn it. Again, thanks for making this course.
ok so this appears ERROR in action number 1 of Step Event0 for object obj_roxy_idle: Collision test being called with handle that isn't a tilemap, instance or object 16777217 at gml_Object_obj_roxy_idle_Step_0 (line 23) - if (place_meeting(x+hsp,y,spr_o_Block)) { ############################################################################################ gml_Object_obj_roxy_idle_Step_0 (line 23) im at doing the player object thingy help
haven't touched GameMaker in years s this series is a nice refresher so thank you. For anyone struggling to understand the collision system it may be worth looking at the manual about the move_and_collide function that was added after this series was made. it simplifies things a lot.
By far the best tutorial on youtube. Easy to follow along, tells you exactly what everything does, and the code is clear and concise. 10/10!
at 4:32pm earlier today i settled on using game maker because i was trying to get back into game development, and your playlist popped up, i just finished the 1st video and i cant wait to do the rest soon, thank you for the tutorial :3
.
[ Sat 3:38am 7/6/2024 ]
Thank you for this tutorial. I am learning so much. So far halfway through the first video
One of the best tutorials for Gamemaker here on YT - thanks :-))
love your tutorials!! easy to follow and i can always go back and reference the codes in this tutorial if i ever need it because of all the documentations thank you so much!! will make doing comments on my code a habit from now on!!
What a fantastic tutorial, really easy to follow, nice clean commented code, thanks so much for sharing it!
best tutorial ever 10/10 highly reccomend for begginers
very well explained and easy to follow. thank yu!
this is really helping a lot im doing my first game jam
Hello, I'm from Brazil and I really like your videos
Great tutorial! I haven't finished the complete tutorial so forgive me if this gets mentioned in a future episode, but I personally wanted to use tilemaps for collision. Luckily the solution is fairly simple.
declare these variables in your player create event
layerID = layer_get_id("THE NAME OF YOUR TILEMAP LAYER IN THE ROOM");
tiles = layer_tilemap_get_id(layerID);
then, you just replace any oBlock or collision object in the code with the tiles variable. Seems to work fairly well from my testing.
Hello, I can see your comment is the latest one. I am absolute beginner would you kindly to write what is the best thing to do to start learning also practicing and more ? Thank you for your help.
im your 600th sub looking forward to watching your videos
Yoooo! Thanks for this, I nearly gave up on GameMaker 😅 But you saved it for me. I did all the coding and got my kids to playtest. We made a precision platformer level with some tricky jumps based on the buffer settings. Also setup a google sheet so that they can draw a level for us to play.
I've been really struggling learning to use code and this one spot right here 6:47 is a great example of why it's been so difficult. It's not a dig at the quality of the tutorial, but just how one thing can be so so different. Setting up a var statement for the keyright-keyleft and then using it in the next line below. I know it seems like a minor thing, but unless that var statement is used over and over again, why do that? That's the kind of details that are just throwing me for a huge loop, the way so many set up variables and name everything so different just to achieve the same thing makes it really hard to learn and understand what's going on. I do really enjoy your videos and have learned a lot, but it's very fascinating to me and makes learning very difficult
I stepped away from GMS for a while after the moved to GMS2 (I thought, I'd give it chance to grow) And WoW it has !! Anyway just found your Ch and love the detailed explanation of everything.. I not watched the rest of this series - but wonder if you could do a video on ways to make,handle and explain how to generate big levels etc.. maybe have a save and load for levels that could be added to a game at a later date etc -DLC. I've never seen a GMS tutorial doing it... Many thanks !
Hello, I really liked the Lessons, it would be nice if you wrote additional lessons, Interested in throwing an apple, Climbing the stairs, squatting, clinging to the corner of the wall when jumping, springboard, doors and keys, Teleportation at the level of teleportation between levels, Connect a non-generous joystick from Ps5, backlighting from the torch, and at least five different types of enemies, enemies who chase the main character and attack, shoot, fly, kamikaze for more variety switching between cameras from far to closer in levels with bosses and several variants of bosses, Interested in the Uproof weapons and skills I'm writing 2D Platformer on Game Maker Studio 2 LTS game about knights, dragons, goblins and so on and very little good information, liked the lessons of 2023 where it is written without abbreviations,Thanks!
That was really well put together! Thank you so much!!
Object: MainPlayer Event: Step at line 21 : got '' expected '}' i added a curly at the end of the code as written by the end of (time stamp 13:00) and the character only moves slightly after the key is unpressed , so( press key = no movement )(unpress key = movement of one space )
I'm glad I found this gold
when it came to " vsp = clamp(vsp,-max_vsp,max_vsp); " it gave me an error and i couldnt find what it wants me to do
Instructions unclear:at line 14 (hsp += _dir*accel) i get a runtime error called: "variable not set before reading it". And i don't know how to fix it,also a nother problem at line 55 (var _onepixel = sign(vsp). It's a warning that "_onepixel" is already declared,how do i fix the 2 problems?
I'm at 12:20 and I ran the code, but the "max_hsp = 5;" code only applied when I stopped pressing the arrow keys. Can somebody suggest a fix?
Edit: I was also coding the collision, and the game just crashed when I touch the walls. Again, can somebody suggest a fix?
I fixed this, you have to put a ; at the end of 2 lines but yeah. Hope this helps
Thanks, bruvna.@@BlenduhGuy
@@BlenduhGuy I also have the crash problem, but where exactly do I need to put a ;?
In front of the decal in create@@Kronk144
you need to hit 100k or more than
thank you for your tutorial!
I followed your tutorial and my player goes half pixel in the floor, could you please help with this? thank you so much
Yes! I recommend waiting a few days when I upload the first video of my "updated" platformer tutorial (2024 version).
are you the notch of 2D?...not mad tbh..good job explaining✌🏻
Thank you for this tutorial
after applying the run and jump animation, my sprite getting stuck on a wall when moving to left where my sprite is really close to it
nvm, fixed by changing origin values of sprite
how? como? im learning too. same issue.
@@ozaiassanttos8211 @4:05, the origin should be centered, you'll need to adjust manually based on your sprite
very good!
How Do You have 500 subs bro You Deserve More
Thanks! It is because I only upload once per year (in the summer) when I update my tutorials.
@@SkyLaRell You definitely should upload more! , because the way you explain stuff is literally out of he box.
OMG THANK YOU!!!
nice to see some good tutorials that don't involve a sick person in a dress.
No idea what this means. I occasionally wear dresses!! They are comfortable, fashionable, and fun!
I had an issue with:
"if (hsp != 0) image_xscale = sigh(hsp);"
Which (If not moving) will detect if hsp is negative or positive and give back a 1 or -1
This made my sprite sqash down to half of it's x value
I guessed this was since my sprite was 64 x 64 and not 32 x 32 and was right
to fix this i wrote:
"if (hsp != 0) {
if (hsp > 0) image_xscale = 2;
if (hsp < 0) image_xscale = -2;
} else {
image_xscale = image_xscale
}"
if anyone else had this issue let me know
or if theres a better way to fix this
or if this helped
If you would rather use A and D to walk and Space to jump here you go!
key_left = keyboard_check(ord("A"));
key_right = keyboard_check(ord("D"));
key_jump = keyboard_check_pressed(vk_space);
key_jump_held = keyboard_check(vk_space);
27:40
6:58
I find your comments insulting about people who want to use the VS as "losers". Some people just don't enjoy coding and don't have that type of mind., your art "sucks" but that doesn't stop you from using it... I find it sad that you feel "syntax coding " is a big boy skill. ... Thanks for the bs comments.
Yeah, I think you are right! Thanks for bringing this up. I'll definitely remember that all tools are just that: tools. Your comment is very kindly worded and clear.
Thanks. I certainly appreciate you taking the time to even make this course, I just mention this because I struggle to grasp the concepts of coding but really want to learn it. Again, thanks for making this course.
you look and sound a bit like Adam Sandler
ok so this appears
ERROR in
action number 1
of Step Event0
for object obj_roxy_idle:
Collision test being called with handle that isn't a tilemap, instance or object 16777217
at gml_Object_obj_roxy_idle_Step_0 (line 23) - if (place_meeting(x+hsp,y,spr_o_Block)) {
############################################################################################
gml_Object_obj_roxy_idle_Step_0 (line 23)
im at doing the player object thingy help