Discuss Scratch

grapp
New Scratcher
5 posts

drawing lines from 1 sprite to another

I have a balloon that is tied to some thing. the are both constantly moving. I was wondering how you would get a constant smooth line alway connecting the two sprites like in this game.
this is my current srcipt.
whenclickedforevergotoballoonpendowngotoother spritepenupwait0.01secsclear
grapp
New Scratcher
5 posts

drawing lines from 1 sprite to another

sorry i forgot that new scratcher's aren't allowed to post links not from scratch. this game http://www.ferryhalim.com/orisinal/g3/high.htm
turkey3
Scratcher
1000+ posts

drawing lines from 1 sprite to another

whenclickedforeverdrawdefinedrawrun without screen refresh select in edit menu cleargotoballoonpendowngotoother spritepenup
The problem was you were clearing AFTER you drew it instead of before.

Last edited by turkey3 (June 8, 2014 01:09:50)

grapp
New Scratcher
5 posts

drawing lines from 1 sprite to another

turkey3 wrote:

whenclickedforeverdrawdefinedrawrun without screen refresh select in edit menu cleargotoballoonpendowngotoother spritepenup
The problem was you were clearing AFTER you drew it instead of before.
thanks a million works perfectly
572_6
Scratcher
1 post

drawing lines from 1 sprite to another

whenclickedforevercleargoto thing1pendowngoto thing2penupclear

Last edited by 572_6 (July 16, 2020 02:52:18)

MiaTheMia
Scratcher
1000+ posts

drawing lines from 1 sprite to another

whenclickedclearforeverpendowngotoother spritepenup
DSPRODAB88
Scratcher
1 post

drawing lines from 1 sprite to another

MiaTheMia wrote:

whenclickedclearforeverpendowngotoother spritepenup
its not working for me for some reason
gterly
Scratcher
27 posts

drawing lines from 1 sprite to another

movestepswhenbackdropswitchestowhenIreceivewhenIreceive
im just saying just saying random things
mchen2010
Scratcher
39 posts

drawing lines from 1 sprite to another

Sorry, but please don’t necropost. Start your own thread! Happy coding.

Powered by DjangoBB