Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

Game Maker codings anyone knows of?
#1
Code:
if ( hspeed> 0 && x < other.x )
{
  move_contact_all(direction,12);
  hspeed = 0;
}
if ( vspeed> 0 && y < other.y )
{
  move_contact_solid(direction,12);
  vspeed = 0;
}
if ( vspeed< 0 && y > other.y )
{
  move_contact_solid(direction,12);
  vspeed = 0;
}
if ( hspeed< 0 && x > other.x )
{
  move_contact_all(direction,12);
  hspeed = 0;
}


Messages In This Thread
Game Maker codings anyone knows of? - by ZeldaClassicEXPERT - 12-02-2009, 05:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)