Light The Hedgehog Posted May 24, 2014 Report Share Posted May 24, 2014 You know how in the classic's and advance series, Tails' tails would kinda follow his movement/speed/direction when jumping? I'm trying to emulate that but don't know how. In the draw I made it's "rot" (rotation) dependent on his Gravity(Vertical Movement) and Speed(Horizontal Movement) but the closet I got it was all backwards and upside down. I will try to recreate the code as I've already deleted it from the code: // Step or Draw event (neither changed anything) point = point_distance(x, y, Speed, Gravity) // or = point_distance(Speed, Gravity, x, y,) I tried negatives and stuff 2.. draw_sprite_ext(spr_tails,Frame,1,1,point,c_white,1) // or something like that. I'm doing this w/o looking at game maker I can't find a fix or tutorial at all. Link to comment Share on other sites More sharing options...
thevaleev Posted May 25, 2014 Report Share Posted May 25, 2014 (edited) I would be like to move this thread to "Fan Game Assistance", no? Try to use this code: // Draw event point = point_direction(xprevious, yprevious, x, y); draw_sprite_ext(spr_tails, frame, x, y, 1, 1, point, c_white, 1) Edited May 26, 2014 by thevaleev 1 Link to comment Share on other sites More sharing options...
Light The Hedgehog Posted May 26, 2014 Author Report Share Posted May 26, 2014 Thank you so much! I will credit you in the game! Thanks so much again! Link to comment Share on other sites More sharing options...
GSF Posted May 27, 2014 Report Share Posted May 27, 2014 I would be like to move this thread to "Fan Game Assistance", no? So I just read the description for the subforum this thread was in... Get help with or contribute to the development of the Game Maker development here!Development of the development... the hell? insert xzibit joke here In any case... moved to Assistance~ Link to comment Share on other sites More sharing options...
Recommended Posts