Pages: 1
Topic closed
My project needs to rebound like this:
On a right wall, It bounces down-left if direction is 45, up-left if direction is 135.
On a left wall, It bounces down-right if direction is -45, up-right if direction is -135.
I really need help. Please?
whenclicked
thinkscriptsfor3secsplease help for1minutessay your post here!
Last edited by lennon565 (2012-05-09 01:38:48)
Offline
somthing like this would work, make four or more sensors for each side of lazor. for the top one or whatever
should work, sorry if you dont understand. it might have to be move -_ steps, please be a bit more descriptive with your postswhenclicked
iftouching wallpoint in direction __move __ steps
Offline
use 2 sprites, left and right wall
have this script:
make the laser react accordinglywhenclicked
foreveriftouchinglaser?if=direction ▼oflaser45broadcastdownleft ▼if=direction ▼oflaser135broadcastupleft ▼whenclicked
foreveriftouchinglaser?if=direction ▼oflaser-45broadcastdownright ▼if=direction ▼oflaser-135broadcastupright ▼
Offline
zammer990 wrote:
use 2 sprites, left and right wall
have this script:make the laser react accordinglywhenclicked
foreveriftouchinglaser?if=direction ▼oflaser45broadcastdownleft ▼if=direction ▼oflaser135broadcastupleft ▼whenclicked
foreveriftouchinglaser?if=direction ▼oflaser-45broadcastdownright ▼if=direction ▼oflaser-135broadcastupright ▼
Fixed.
Offline
FINGIN wrote:
somthing like this would work, make four or more sensors for each side of lazor. for the top one or whatever
should work, sorry if you dont understand. it might have to be move -_ steps, please be a bit more descriptive with your postswhenclicked
iftouching wallpoint in direction __move __ steps
um, is that the troll face?
iftroll=positivedetroll website
Offline
laser314 wrote:
zammer990 wrote:
use 2 sprites, left and right wall
have this script:make the laser react accordinglywhenclicked
foreveriftouchinglaser ▼?if=direction ▼oflaser ▼45broadcastdownleft ▼if=direction ▼oflaser ▼135broadcastupleft ▼whenclicked
foreveriftouchinglaser ▼?if=direction ▼oflaser ▼-45broadcastdownright ▼if=direction ▼oflaser ▼-135broadcastupright ▼Fixed.
Fixed
Offline
Topic closed
Pages: 1