I love that I can see your scripts without having to download the project. This is a nice example of using a sensor sprite. How do you use this technique. I use this concept for creating a line-of-sight in several projects. For collision detection, I'd be more likely to program it into the sprite itself using sensor blocks to get the distance and coordinates of the other sprite. Also, is there a reason that you change the variable instead of broadcasting a message?
Comments
You need to be logged in to post comments
Add a Comment
Thanks! this tought me a lot!
(view all replies)Comment Reply
and to make the sensors not slide up ans down you have two diffrent scripts
(view all replies)Comment Reply
i have an easier one
(view all replies)Comment Reply
Nice lesson.
(view all replies)Comment Reply
thank u! now i can make awsome games!
(view all replies)Comment Reply
I hope you don't mind that I put your project in a gallery of teaching examples for my students.
(view all replies)Comment Reply
where do you teach?
(view all replies)Comment Reply
in room 209
(view all replies)Comment Reply
this finally helps me to know what those blocks are when i click the stop bbutton that always show. it is a very useful tutorial.
(view all replies)Comment Reply
how do you make it so that the one bar says uptest of uptest or downtest of downtest or middletest of middletest?
(view all replies)Comment Reply
ahah you sensor don't work I jumped through the wall XD
(view all replies)Comment Reply
how do you make the script say middle test of middletest or uptest of uptest???
(view all replies)Comment Reply
thank-you.now my games can actually be good!!!
(view all replies)Comment Reply
I love that I can see your scripts without having to download the project. This is a nice example of using a sensor sprite. How do you use this technique. I use this concept for creating a line-of-sight in several projects. For collision detection, I'd be more likely to program it into the sprite itself using sensor blocks to get the distance and coordinates of the other sprite. Also, is there a reason that you change the variable instead of broadcasting a message?
(view all replies)Comment Reply
fantastic tutorial! It's going in my scratch lessons gallery
(view all replies)Comment Reply
Nice! It really works well!
(view all replies)Comment Reply