Quote:
|
Originally Posted by greeno
Hello, I am making a gravity room for my guild house and I was wondering why my script makes people go through objects.... basically I have it make the playery subtract one every .05 seconds, and if the up arrow is pushed, then they go up, but for some reason it makes them go through tiles... I remember doing this with an older version of graal and it worked fine. Did stefan/unixmad change that in a later release?
And I would like to know if anyone can help me
this is my code....
// NPC made by Stipo Swift -Leader- (Turtles)
if (created) {
falling = true;
}
while (falling==true)
{
playery = playery + 1;
sleep .05;
if (keydown(A))
{
playery = playery - 2;
if (playery > 60)
{
playery = playery - 2;
}
}
}
any suggestions? 
|
have you got the gravity script with you? i may be able to help you solve it. i experiment with stuff like that. i made the tiles not be able to walk through once. could u tell me script i may be able to help.