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

#1 2009-05-27 18:00:46

Jske
Scratcher
Registered: 2009-05-27
Posts: 1

How to make a button?

How do you make a play or back button or a button at all?

Offline

 

#2 2009-05-27 19:21:30

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: How to make a button?

try drawing one in the paint sprite editor


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#3 2009-05-27 19:26:56

B-Reyn428
Scratcher
Registered: 2007-09-08
Posts: 55

Re: How to make a button?

Create a sprite and paint it how you want it to look. Then say:

<when[ button ]clicked>
<broadcast[ start
<hide>

("Button" is the name of the sprite, and "start" is the name of the broadcast)

Then with another sprite just say:

<when green flag clicked>
<hide>

<when I receive[ start
<show>


And below the "show" script just include anything else you want it to do.


http://img233.imageshack.us/img233/7682/mybannerblinkyd0675d390.gif
http://scratch.mit.edu/projects/B-Reyn428/673836

Offline

 

#4 2009-05-27 20:30:50

technoman
Scratcher
Registered: 2008-07-24
Posts: 500+

Re: How to make a button?

If you have Gimp just click file then create then button and then round button and set the specifications of it and click create.

Offline

 

#5 2009-05-28 14:47:53

BoltBait
Scratcher
Registered: 2009-03-09
Posts: 1000+

Re: How to make a button?

Jske wrote:

How do you make a play or back button or a button at all?

Check out this project:

http://scratch.mit.edu/projects/BoltBait/472525

It has some really nice looking buttons and code to make them work.


Animated sigs must be banned!
http://boltbait.com/j.pnghttp://boltbait.com/s.pnghttp://boltbait.com/d.pnghttp://boltbait.com/a.pnghttp://boltbait.com/p.png

Offline

 

Board footer