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

#1 2011-04-26 01:05:48

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

wind sucking help!!!!

So I'm creating a new game and theres this Green Sucker thing that suckes the ball up right( its kinda like a pong game so the ball goes up and down left and right!!), and i've got the animations for the sucker and i need to get it to suck the ball up, i know how to make it go to the next level, but its just the sucking part please!


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#2 2011-04-28 03:36:01

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

Bump! Please i need help!


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#3 2011-04-28 03:58:41

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Alright.  Heres a code which should work

Code:

When flag pressed
forever if <(distance to [vortex])=10)>
Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]

Hope this helps!
If you need more help, just say so!


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#4 2011-04-28 04:17:48

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

ssss wrote:

Alright.  Heres a code which should work

Code:

When flag pressed
forever if <(distance to [vortex])=10)>
Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]

Hope this helps!
If you need more help, just say so!

Hmm, Didnt Work, Do i put that on the ball and is Vortex my sucker? (my Sprite is called Sucker) Umm The Sucker also has animation, does this effect it?


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#5 2011-04-28 04:21:43

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Matty3414 wrote:

ssss wrote:

Alright.  Heres a code which should work

Code:

When flag pressed
forever if <(distance to [vortex])=10)>
Glide [1] secs to x:[X position of Vortex] Y:[Y position of vortex]

Hope this helps!
If you need more help, just say so!

Hmm, Didnt Work, Do i put that on the ball and is Vortex my sucker? (my Sprite is called Sucker) Umm The Sucker also has animation, does this effect it?

If you could upload the project that would help  wink

And yes, vortex is your 'Sucker' sprite!  Maybe change the if <(distance to [vortex]=10) to <if (distance to [vortex] = 20> or <distance to [vortex] <20)


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#6 2011-04-28 04:24:08

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

Yay the '<distance to [vortex] <20)' Worked Thx so much for all the times u helped me! Now just to make it better!


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#7 2011-04-28 04:27:00

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Matty3414 wrote:

Yay the '<distance to [vortex] <20)' Worked Thx so much for all the times u helped me! Now just to make it better!

your welcome  wink 
If you need me any more, I'm happy to help!


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#8 2011-04-28 04:47:42

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

Ahh  My game is just really stuffing up now, anyway i'm trying something differnt!  wink  It'll be fun!


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#9 2011-04-28 04:55:24

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Matty3414 wrote:

Ahh  My game is just really stuffing up now, anyway i'm trying something differnt!  wink  It'll be fun!

Whats wrong this time?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#10 2011-04-28 05:09:19

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

Nevermind, i didn't like the idea, the ball didn't like the wind animation and only went on the green part, But nevermind


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#11 2011-04-28 05:16:01

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Matty3414 wrote:

Nevermind, i didn't like the idea, the ball didn't like the wind animation and only went on the green part, But nevermind

Can you upload so i can try and fix?


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#12 2011-04-28 05:28:17

Matty3414
Scratcher
Registered: 2011-04-09
Posts: 100+

Re: wind sucking help!!!!

if you want, it'll be on my profile


http://i.imgur.com/i87ba.pngDesigner - Photoshop, C4D

Offline

 

#13 2011-04-28 05:30:20

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: wind sucking help!!!!

Thanks.  If i fix, i will upload for you.   wink


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

Board footer