• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM [SOLVED] Path function is drawing instance every step.

P

Pepasone

Guest
I can't figure out why object is drawing a new sprite every step when following a path.

Here is a video:
 
Last edited by a moderator:
A

Aura

Guest
What do you mean by a "new sprite every step"? What are you trying to do? Please post your code.
 
P

Pepasone

Guest
What do you mean by a "new sprite every step"? What are you trying to do? Please post your code.
I posted a video to show what is doing. The only code I have is it sets the coordinates and then follows the path. The object is assigned a sprite, and there is no draw event inputted.

This is all the code.

CREATE EVENT:
/// Set Coordinates/Path/Sprite

// Coordinates
x = 64;
y = 64;

// Set the path
path_start(path_title, 1, path_action_restart, false);
 

RangerX

Member
Are you drawing the background color?
Because what I see there is clipping. Because there's nothing behind your letters there it will smear.
 
P

Pepasone

Guest
Are you drawing the background color?
Because what I see there is clipping. Because there's nothing behind your letters there it will smear.
Aye, it has been solved. Thanks!

I knew it was something easy haha!
 
Top