D
DayCamp
Guest
Hello all. I am currently following a Udemy course for Gamemaker 2 called "How to make a Tile Based Platform" and am hoping someone can further breakdown the meaning of the code I have written. Although I understand the basic logic of many Gamemaker perimeters, I am still new and learning.
In the player object, I have a Create Event and a Step event (both below). I understand what is happening with lines 10 through 13 of the Step Event, but lines 16 through 28 is where things get confusing for me. Line 16 in particular, I am struggling to grasp the logic of "hsp += (right - left) * walk_spd;". Let me know if additional details are needed.
In the player object, I have a Create Event and a Step event (both below). I understand what is happening with lines 10 through 13 of the Step Event, but lines 16 through 28 is where things get confusing for me. Line 16 in particular, I am struggling to grasp the logic of "hsp += (right - left) * walk_spd;". Let me know if additional details are needed.