This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-19 08:39:19

Thehero
Scratcher
Registered: 2010-02-15
Posts: 93

Ballarama (my game) please help!!!!

Well, I am making this toy that includes shadows. The shadow is really hard to make, cause i want it to get smaller when the ball goes up and it bigger when the ball goes down. I did this   
<when green flag clicked>
<forever>
<set size to( <abs( y postition of sprite1 )%>   


I tried to fix it but it does not work, please help.

Offline

 

#2 2010-09-19 08:50:13

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Ballarama (my game) please help!!!!

Do something like y position/ -2 + my y position


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#3 2010-09-19 08:55:19

Thehero
Scratcher
Registered: 2010-02-15
Posts: 93

Re: Ballarama (my game) please help!!!!

You almost did it, but you made it in reverse.

Offline

 

#4 2010-09-19 10:51:23

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Ballarama (my game) please help!!!!

Instead of abs, do "0 - (y position of sprite 1)"
Also after that you may need to do some tweaking with division to make it look better.

Offline

 

#5 2010-09-19 12:37:49

Thehero
Scratcher
Registered: 2010-02-15
Posts: 93

Re: Ballarama (my game) please help!!!!

thank you!!!!!! that will be all!!!!

Offline

 

Board footer