I'm trying to make it so enemies can move, but they move with the scroll at the same time. Like, it moves a few grid spaces, but if you scroll a little, it'll adjust to that scroll and make sure it doesn't touch a black space. Hope that's not too confusing . Help?
Last edited by Sunrise-Moon (2010-07-10 13:28:34)
Offline
Look at how its done in this project
http://scratch.mit.edu/projects/archmage/635312
Offline
Make a variable for each of their x positions, and move that instead of their real X position. Then, put this script in:
Replace the "2" with whichever frame you want it to be in. So this would be in the second stage length.
You can do the same thing for Y but with 360 instead of 480, and different variables.
Offline
Oh, OK, thanks! By the way, what's with the views on this thread?
Last edited by Sunrise-Moon (2010-07-10 14:43:40)
Offline
Sunrise-Moon wrote:
coolstuff wrote:
Sunrise-Moon wrote:
What's with the views?
Sorry?
Huh?
What did your post mean? What views?
Ooh, I see. I posted a thread in the Troubleshooting forum about it - hopefully the Scratch Team will catch it.
Last edited by coolstuff (2010-07-10 14:43:26)
Offline
coolstuff wrote:
Sunrise-Moon wrote:
coolstuff wrote:
Sorry?Huh?
What did your post mean? What views?
Ooh, I see. I posted a thread in the Troubleshooting forum about it - hopefully the Scratch Team will catch it.
Ok
Offline