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

#1 2011-05-10 08:05:25

jonathanitb
Scratcher
Registered: 2011-05-04
Posts: 4

Delete on Touch

Hi Guys

For my school project I am doing a version of pacman (I am aware they all got taken down a while ago!)

How can I make it so when the sprite touches one of the blocks, it dissapears and the score number (is it called a variable?) goes up 1


Thanks,

Jonathan (jonathanitb)

Offline

 

#2 2011-05-10 10:27:47

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: Delete on Touch

Script for one of the dots:

[blocks]
<when green flag clicked>
<forever if><touching[ Pacman
<hide>
<change{ score }by( 1
[/blocks]

Offline

 

Board footer