I need some for my newest game, Laserfield.
Offline
Be more specific please, so we can tell you exactly what you need.
Offline
when gf clicked go to [startpoint v] point in direction (start direction) forever clear pen down repeat until <<touching (reflective colour)?> or <touching (reflective colour)?>> move (10) steps end if <touching (reflective colour)?> point in direction ((direction) * (-1)) end if <touching (wall colour)?> stop scriptthat's a simple, one way beam script
Offline
do you want info like reactions to hitting lenses?
here are some:
+++-------()<()====)(>()---
() is Convex lens
)( is concave lens
+++ is laser emitter
------ is thin light beam
==== is thick light beam
< is beam getting wider
> is beam getting thinner
Last edited by Nathanator1416J (2012-07-14 12:19:42)
PEPPERTREE Productions (PtP)Offline
zammer990 wrote:
when gf clicked go to [startpoint v] point in direction (start direction) forever clear pen down repeat until <<touching (reflective colour)?> or <touching (reflective colour)?>> move (10) steps end if <touching (reflective colour)?> point in direction ((direction) * (-1)) end if <touching (wall colour)?> stop scriptthat's a simple, one way beam script
Not like this..
I want the laser to be like my project, pen experiment.
There are 2 handles to the laser beam, one on one side, and the other on the other side of the laser beam...
And there should be room for 4 handles...
Offline
Sorry, i want to help, but i have NO IDEA what your talking about
Offline
if <touching [Reflective Mirror v]?>
change x by (([sin v] of (direction)) * ((0) - (move speed)))
if <touching [Reflective Mirror v]?>
point in direction ((180) - (direction))
else
point in direction ((0) - (direction))
_
change x by (([sin v] of (direction)) * (move speed))
The change x by (([sin v] of (direction)) * (move speed))should be outside of the else condition, I just don't know how to do it with scratchblocks - it shouldn't be inside the if else.
"Offline
Prestige wrote:
if <touching [Reflective Mirror v]?> change x by (([sin v] of (direction)) * ((0) - (move speed))) if <touching [Reflective Mirror v]?> point in direction ((180) - (direction)) else point in direction ((0) - (direction)) end change x by (([sin v] of (direction)) * (move speed)) endThechange x by (([sin v] of (direction)) * (move speed))should be outside of the else condition, I just don't know how to do it with scratchblocks - it shouldn't be inside the if else.![]()
Did it for you.
Offline