Skip to content

Instantly share code, notes, and snippets.

@sjakaus
Created September 28, 2010 15:21
Show Gist options
  • Save sjakaus/601186 to your computer and use it in GitHub Desktop.
Save sjakaus/601186 to your computer and use it in GitHub Desktop.
if(collide("level",x+8,y+24))
{
trace("collision!");
y = oldy;
x = oldx;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment