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

#1 2010-08-04 12:25:13

cooljj100
Scratcher
Registered: 2009-10-10
Posts: 55

Need help about sensing

ok im making a project and i need someone to help me with it. This is what i want the two sprites to do: sprite one draws black all over the screen. Sprite two repeats setting oil to 1 until the black has been covered up. then sets oil to 0
what is happening is wierd. it skips the repeat until and jus sets oil to 0
Here are the 2 sprites in a project
here is the link.


Summertime is almost here!
My Stuff

Offline

 

#2 2010-08-04 18:21:40

cooljj100
Scratcher
Registered: 2009-10-10
Posts: 55

Re: Need help about sensing

BUMP! XD come on.... its been on all day  sad


Summertime is almost here!
My Stuff

Offline

 

#3 2010-08-04 19:01:10

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Need help about sensing

sprite1 doesn't draw.  right now it has only the text costume and no pen blocks

sprite2 is drawing but only for 10 repeats

the variable oil currently does nothing?


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#4 2010-08-04 20:56:04

cooljj100
Scratcher
Registered: 2009-10-10
Posts: 55

Re: Need help about sensing

Locomule wrote:

sprite1 doesn't draw.  right now it has only the text costume and no pen blocks

sprite2 is drawing but only for 10 repeats

the variable oil currently does nothing?

yes i know its part of a big project i don't want to reveal i just want some help on the problem.


Summertime is almost here!
My Stuff

Offline

 

#5 2010-08-04 21:18:16

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Need help about sensing

I'm trying to help, sorry.
You said "sprite one draws black all over the screen" but currently, it doesn't have any draw commands at all.

Then you said "Sprite two repeats setting oil to 1 until the black has been covered up. then sets oil to 0" but sprite 1 sets oil, not sprite 2. Sprite 2 draws?

Did you have them backwards? And I hate to say it but without understanding the project, I may not be able to provide much help.


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#6 2010-08-05 11:30:09

cooljj100
Scratcher
Registered: 2009-10-10
Posts: 55

Re: Need help about sensing

yes that is whats happening i want oil to stay at 1 until there is no black.


Summertime is almost here!
My Stuff

Offline

 

#7 2010-08-05 19:42:27

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: Need help about sensing

I think I'm with you right now, I'll give you the best explanation I can.  wink

So... You've currently got 1 major problem. Both the spill and the cleanup start on one broadcast.

You've got a rather--messed up project... Can you me what you want the sprites to do clearly?  smile


-End Transmission-

Offline

 

Board footer