Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Tails' tails. Classic/Advance


Recommended Posts

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

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 by thevaleev
  • Like 1
Link to comment
Share on other sites

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...