Can you make it so when a sprite touches another sprite the other sprite will say something? Thanks for letting me know if you reply
Offline
plz help me sorry i'm just in a hurry to finish my project.
Offline
if <touching sprite X>
say <whatever>
Offline
Exactly that, only on the other sprite, the one that must say something.
Alternatively, when sprite A touches sprite B, make A broadcast "talk" (example), and sprite B has a script that gets executed on "talk".
when gf clicked forever if <touching [b]> Broadcast [talk] end end
When [talk] say [blah, blah, blah. -_-'']
Offline
[scratchblocks]
When gf clicked
if <touching [Joe v]
say [Hi JOE]
[/scrachblocks]
I hope this will help you finish.
Sincerely,
Photoguy77
Offline
when gf clicked forever if <touching [Sprite 2 v]?> broadcast [say something v]//broadcasts to another sprite end When I receive [say something v]//receives message, and performs syntax say [something]
Last edited by 7734f (2013-03-27 19:23:31)
Offline
nomcat6 wrote:
how do i make my game screen change colors?
For the stage scripts:
when gf clicked forever//or for however long you want using the 'repeat block' change [color v] effect by [10]//or how much you want it to change by wait [.1] secs//or wait however long you want endHope that helped!
Offline
ty guys =O
Offline
What about making say sprite 2 disappear when sprite 1 touched it tell me what you think?
Offline
Fiddlesticks414 wrote:
What about making say sprite 2 disappear when sprite 1 touched it tell me what you think?
For sprite 1's script:
when gf clicked forever if <touching [sprite 2 v]?> say [sprite two disappear] for (2) secs broadcast [disappear v] endFor sprite 2's scripts:
When I receive [disappear v] hideThere you go!
Offline