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

Angles with paths?


Recommended Posts

screenshot115_by_assassin_heatbeat-d7juz

I think I'm doing something wrong, probably the path itself?

Instead of paths, you should try using vspeed, hspeed, and gravity variables on the fish object. For the chompers in my game I use this method. I also use a little more simple method than valeev:

image_angle=direction;

Not sure if this is all the best method to use, but it sure works for me.

 

Using an alarm, you can reset the chompers position to where it started:

// For alarm[] event
x   =   xstart;
y   =   ystart;

Also if you want to add a little more detail you can try altering its depth too:

// Arching over bridge effect
if vspeed>0
{
depth=-700;
}
if vspeed<0
{
depth=1600;
}

This just gives the user the visual that the chomper is going under and over the bridge. You can replace the depth values to whatever you find suitable. :b

Link to comment
Share on other sites

  • Recently Browsing   0 members

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