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

#1 2008-09-17 01:02:42

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Clicking on items in the list?

say if you wana choose something on a list, like click it then make something happen  <mouse down?> <touching[ then i try to make it touch a part of a list but that doesnt work, there isnt even a way to make the list clickable, how can i? =o

Last edited by Flait7 (2008-09-17 01:04:22)


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#2 2008-09-17 01:46:57

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Clicking on items in the list?

Hi Flait7,

you can use lists watchers to monitor the items in a list, i.e. to see them in Scratch. You can also use list watchers in Scratch edit mode to directly write entries into lists. However, list editing is only possible in edit mode, not in presentation mode (fullscreen).

If you want a Scratch project to display a "clickable" list, like a menu, you'll have to do some programming. One way that I have seen this being done with static lists is the intrument-menu in SonicPopsDad's project: http://scratch.mit.edu/projects/SonicPopsDad/241511

Why don't you have a look at that and try to remix it!


Jens Mönig

Offline

 

#3 2008-09-17 06:56:14

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Clicking on items in the list?

Here is a technique I came up with that uses the List Watcher as the list display but a separate arrow sprite as the selector.  It should work in Presentation Mode but it will not work online currently.  It should work online once the Java Player is updated to display List Watchers.

It is not as elegant a solution as SonicPopsDad's but it is easier to adapt to other projects.  I hope you find it useful.

[link removed by Paddle2See]

Update:  A new verision of the Java player was released online.  My technique did not work online as the scrolling behavior in Java does not seem to be identical to Scratch.  Sorry.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer