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

#1 2012-10-24 14:54:09

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Help With Making something appear PLEASE!!

Hi I really need help with making something appear. I have a 4 different mushrooms and a store, I click on buy pet, and it comes up with my options A. Purple Mushroom, B. Pink Mushroom, C. Green Mushroom, D. Yellow Mushroom. For example I select (A) and then close the store the mushroom is not there! Please can someone advise me on how I would get my mushroom to appear on the main screen once someone selected it!!!

Offline

 

#2 2012-10-24 15:10:27

Zarule6
New Scratcher
Registered: 2012-08-02
Posts: 36

Re: Help With Making something appear PLEASE!!

hmmm you can use an broadcast for example

when [spriteA] clicked   //the sprite from the shop menu 
broadcast [Purple_mush v]
Sprite 8   //any other sprite with the same costume as the sprite selected
when I receive [Purple_mush v]
 show 
 go to x:(0)y:(0) 

hope this helps !  smile

Offline

 

#3 2012-10-24 15:37:45

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Re: Help With Making something appear PLEASE!!

Hello!! Yes, that does help where would I put the recieve brodcast which Sprite If I wanted my mushroom to appear on the Main screen of my game?

Offline

 

#4 2012-10-24 15:45:39

dave1998
New Scratcher
Registered: 2011-04-27
Posts: 56

Re: Help With Making something appear PLEASE!!

AppsRus wrote:

Hello!! Yes, that does help where would I put the recieve brodcast which Sprite If I wanted my mushroom to appear on the Main screen of my game?

You'd have four different broadcasts.
Youd put purple broadcast with the purple mushroom sprite and etc.
Hope this helps!
big_smile

Offline

 

#5 2012-10-24 15:50:01

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Re: Help With Making something appear PLEASE!!

Yes Thank you , i have done that and It works It now won't seen to disappear at the start of the game? any advise.. Sorry to keep asking  tongue

Offline

 

#6 2012-10-24 16:09:52

Willpower
Scratcher
Registered: 2012-01-26
Posts: 1000+

Re: Help With Making something appear PLEASE!!

AppsRus wrote:

Yes Thank you , i have done that and It works It now won't seen to disappear at the start of the game? any advise.. Sorry to keep asking  tongue

I suppose the easy option would be

when gf clicked
hide
And don't worry about asking everyone- that is what the community is for  big_smile


http://i49.tinypic.com/e84kdj.png

Offline

 

#7 2012-10-24 16:32:34

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Re: Help With Making something appear PLEASE!!

That doesn't work this is what I have got:
[scratchblocks]
when gf clicked
hide

when [purple] clicked
broadcast [purple]

when i receive [purple]
show

Offline

 

#8 2012-10-24 16:57:00

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Help With Making something appear PLEASE!!

AppsRus wrote:

That doesn't work this is what I have got:

when gf clicked 
hide

when [purple v] clicked
broadcast [purple v]

when i receive [purple v]
 show

Fixed. Anyway, is there any other code that the mushrooms have?


http://i46.tinypic.com/35ismmc.png

Offline

 

#9 2012-10-24 17:10:09

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Re: Help With Making something appear PLEASE!!

No, there is just the other part of my game, which doesn't link into to the mushrooms. basically all I want the mushrooms and the store to do is, when you click on the store and select say purple mushroom for it to appear? But without appearing before the users brought it? If you see what I mean?

Offline

 

Board footer