rilian's Profile
Yosh. I'm a new member, I want to try making my own computer game at some point.
Hi,
I am writing a script that freezes a character on the screen when you touch an object. The character is moving back and forth using a goto loop, a move and a move_stop command. This script is attached to the moving sprite.
I've attached a script to a static object that should freeze the moving sprite when I touch it. I have set the touch value to 0 so it doesn't continually run the touch command while I am executing the contents. I can make the moving sprite say something, but I can't get it to stop moving, even when I use the freeze(&moving_sprite); command.
Is there any way to use a freeze command in a separate script to get the moving sprite to break out of its move loop? I could just kill the sprite and generate a new one on the spot and re-attach the script to that new sprite after the dialogue, but it is a very inefficient way of doing things. I can post my code later today hopefully if someone wants to take a look. Thanks!
I am writing a script that freezes a character on the screen when you touch an object. The character is moving back and forth using a goto loop, a move and a move_stop command. This script is attached to the moving sprite.
I've attached a script to a static object that should freeze the moving sprite when I touch it. I have set the touch value to 0 so it doesn't continually run the touch command while I am executing the contents. I can make the moving sprite say something, but I can't get it to stop moving, even when I use the freeze(&moving_sprite); command.
Is there any way to use a freeze command in a separate script to get the moving sprite to break out of its move loop? I could just kill the sprite and generate a new one on the spot and re-attach the script to that new sprite after the dialogue, but it is a very inefficient way of doing things. I can post my code later today hopefully if someone wants to take a look. Thanks!
rilian has released 1 file
Title | Category | Avg | Updated |
---|---|---|---|
Red Spider Graphics | Development, Graphics | 7.0 | July 29th, 2010 |
rilian has written 1 review
Title | File | Type | Score | Date |
---|---|---|---|---|
Buildings/Houses graphics by IPD | Buildings/Houses Graphics | Normal | 9.5 | January 9th, 2011 |
rilian has taken 2 screenshots
Screenshot | File | Date |
---|---|---|
Buildings/Houses Graphics | January 9th, 2011 | |
Buildings/Houses Graphics | January 9th, 2011 |