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

#1 2009-03-09 17:13:22

FaLaDonkey
Scratcher
Registered: 2009-03-04
Posts: 2

Making a bullet glide to its target

I am working on a tower defense game, and am having trouble making the bullet glide to the target it is assigned. I used <go to[ but i would prefer the bullet to glide there. If anyone has ideas please post.

Offline

 

#2 2009-03-09 17:51:22

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: Making a bullet glide to its target

[/blocks]Try
<glide( # )secs to x sad  ([x position] of [target]) )y sad  ([y position] of [target][/blocks]


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2009-03-13 16:20:05

lolmonster1997
Scratcher
Registered: 2009-03-13
Posts: 2

Re: Making a bullet glide to its target

<when green flag clicked><point in direction( <move(10)steps>

Offline

 

#4 2009-03-15 10:56:02

aarbear
Scratcher
Registered: 2008-12-07
Posts: 100+

Re: Making a bullet glide to its target

repeat this a couple of times:

put [blocks]<point towards( [/blocks] and then put
[blocks]<move( 4 )steps>[/blocks]
                       smile

Last edited by aarbear (2009-03-29 16:31:41)


my smileys: http://www.thecrescentorder.com/images/smilies/abduct.gif http://www.thecrescentorder.com/forums/images/smilies/2/sportlich014.gif http://www.thecrescentorder.com/forums/images/smilies/1/wavey.gif http://www.thecrescentorder.com/forums/images/smilies/2/balloons.gif

Offline

 

#5 2009-03-29 07:14:50

tomgalaxyzoo
Scratcher
Registered: 2009-03-28
Posts: 100+

Re: Making a bullet glide to its target

i think aarbear and lolmonster1997 dont underestand the question...  No Offence!


<forever> Galaxy Zoo!
smile  smile  smile  smile  woof woof!  smile  sad  big_smile  yikes  wink  hmm  tongue  lol  mad  roll  cool

Offline

 

#6 2009-03-29 07:21:33

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Making a bullet glide to its target

tomgalaxyzoo wrote:

i think aarbear and lolmonster1997 dont underestand the question...  No Offence!

both the scripts would work nearly as well as bosox's though.

Offline

 

Board footer