Pages: 1
It's because the colour of the edges and in between the paper is white,simply go to the paint editor and make the white transparent
Just tested it and it worked !
Hope it helps.
Offline
Zarule6 wrote:
It's because the colour of the edges and in between the paper is white,simply go to the paint editor and make the white transparent
Just tested it and it worked !
Hope it helps.
It does work but as soon as it touches it, it hides for like 0.1 sec and reappears... Allowing users to gain really insane high scores just by touching the paper sprite... Have a look yourself... You'll understand what I mean...
http://scratch.mit.edu/projects/rsakoor/2755912
Offline
at the paper sprite do the following
when I receive [plybutnnclciked v] forever if <touching (prince v)?> set [show_hide v] to (1) // make a new variable to hold count of the show_hide loop) change [score v] by (1)now for the script aboth it
when gf clicked set [show_hide v] to (0) hide forever if <(playstate)=(1)> show end if <(playstate)=(0)> hide end if <(show_hide)=(1)> hide stop script(just edit the already made scripts in your paper sprite )
Offline
Zarule6 wrote:
at the paper sprite do the following
when I receive [plybutnnclciked v] forever if <touching (prince v)?> set [show_hide v] to (1) // make a new variable to hold count of the show_hide loop) change [score v] by (1)now for the script aboth itwhen gf clicked set [show_hide v] to (0) hide forever if <(playstate)=(1)> show end if <(playstate)=(0)> hide end if <(show_hide)=(1)> hide stop script(just edit the already made scripts in your paper sprite )
Thanks- I tried it, it worked...
Offline
I copied this for my second litter sprite... And guess what, if I touch one of the litter pieces, both vanish (whichever one I touch from the 2)...
Sorry, for constantly bothering you, You see I'm a hopeless scratcher... Lol
Offline
Zarule6 wrote:
at the paper sprite do the following
when I receive [plybutnnclciked v] forever if <touching (prince v)?> set [show_hide v] to (1) // make a new variable to hold count of the show_hide loop) change [score v] by (1)now for the script aboth itwhen gf clicked set [show_hide v] to (0) hide forever if <(playstate)=(1)> show end if <(playstate)=(0)> hide end if <(show_hide)=(1)> hide stop script(just edit the already made scripts in your paper sprite )
For my can sprite, I set (show_hide)=0)>, Guess what that did, it appeared when I touched my paper sprite (I am ok with that happening) and when touching the can sprite, it shows constantly (it supposedly be hiding after 1 touch) and score goes mad with it... Lol..
Have a look http://scratch.mit.edu/projects/rsakoor/2762117 and read the project notes at the side... Thanks...
Last edited by rsakoor (2012-09-04 09:26:35)
Offline
I've manged to sort the first problem out from the 3 listed in the notes
http://scratch.mit.edu/projects/rsakoor/2763491 - This link is the game that has sorted its paper, can, crisp packet and bottle sprite out... Now, they do hide once Prince has touched them... Lol... But other 2 problems remain...
Offline
Offline
above once is enough. No need to bump the post again and again. If you really want to, please post in the show and tell section.
Last edited by KrIsMa (2012-09-28 18:54:55)
Offline
This is the script:
when gf clicked forever if <touching [sprite wanting to be touched v]?> hide
Last edited by legobob23o (2012-09-29 09:35:55)
Offline
when gf clicked if <touching [Sprite 2 v]?> hide end
Last edited by maxamillion321 (2012-09-29 09:57:51)
Offline
maxamillion321 wrote:
when gf clicked if <touching [Sprite 2 v]?> hide end
legobob23o wrote:
This is the script:
when gf clicked forever if <touching [sprite wanting to be touched v]?> hide
They all dont work, you forgot the forever loop.
Offline
Pages: 1