GameMaker: Studio

GameMaker: Studio

Statistiche:
Rotated Paths
Have the following code:
direction=point_direction(x,y,mouse_x,mouse_y);
image_angle=direction;
misslepath=sidewinderr
path_rotate(misslepath, direction);
path_start(misslepath, 7, 2, false);

which seems straight forward, direction from where it spawns to mouse, rotate path to that direction follow that path.
Instead for results I have a path that keeps rotating as I click the same point and it doesn't seem to follow the direction at all, not seeing a lot of discussions on the web on this so hoping someone knows a source with samples or explain what gives.
Ultima modifica da Jawlswyno; 10 feb 2013, ore 20:52
< >
Visualizzazione di 1-1 commenti su 1
Solved it with path_orientation, seems I had multiple problems that was masked as one. Still would like some samples of path_rotate if someone knows of any.
Ultima modifica da Jawlswyno; 10 feb 2013, ore 21:25
< >
Visualizzazione di 1-1 commenti su 1
Per pagina: 1530 50

Data di pubblicazione: 10 feb 2013, ore 20:48
Messaggi: 1