Functions - GameMaker: Studio - Move Functions

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

you are my fav teacher on game maker studio youtube .you explain each function in such a clear way i really hope you keep teaching on youtube thanks again. not sure if you have tought this yet or not (didnt see it on your channel) but i would love to see teaching on bbox collision and also ini base64 . thanks again.

memine
Автор

also shaun, heartbeast, yakmoon and others are great teachers as well on youtube.

memine
Автор

wow, really useful stuff. do you work with yoyo?

jairoacosta
Автор

Can you pls explain how it works with move_towards_point to make the ball stop at the position i clicked? I don't manage it to work and it's frustratingT_T

Blasulz
Автор

These are great videos and much appreciated! If I wanted to move an object (say, an obj_player) to the center of another object (say, obj_ladder) what would be the best approach? I tried combined with move_to_point(LadderDistance, y, .3) and it didnt seem to work (where LadderDistance is a variable that holds the value).

MOZONEandGlambot
Автор

Please help me,  
I've been learning GML for a while now, but I can't make my game do something:

1- What code do I right to make my player move as soon as the game starts? He's in a room (side view) as soon as the game starts, he moves (to the right) and he doesn't stop. The player can only direct his character to the right or left. 
2-When he comes into contact with a certain object, he bounces upwards?
2-When he falls off a platform, he can't move right or left, he just goes down. When he goes up, he can move the player right or left?

I appreciate all the help I can get! BTW I subd to both your channels:)

EmanuelSilva
Автор

Hey there! Do you have any idea how to left click on a moving object
(say an enemy) and then have your player move towards it? like diablo
does for its attacking system. im not to concerned about the attacking
bit i just need to be able to move to another moving object. ive been
trying for five days now and i cant figure it out :(

So far ive managed to get it so if you hold the mouse button down over an object the
player will move to it, but i want to be able to just click once...here is the code i have so far

///Attaking Engine

if position_meeting(mouse_x, mouse_y, obj_enemy) and
(mouse_check_button(mb_left)) {

if point_distance(x, y, obj_enemy.x, obj_enemy.y) > 20
action_potential_step(obj_enemy.x, obj_enemy.y, 3, 0)}

else speed = 0;


Please any help would be great and i would be extreamly grateful. Thanks

Rickenization