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

#1 2012-01-30 22:11:29

fruitmanninja
Scratcher
Registered: 2012-01-25
Posts: 500+

Pac-Man help

So, I'm doing a Pac-Man game and I was wondering how you get all the dots (the food) all over the screen, but I know how to, however, I don't know how to get it all in one sprite. All my dots are a single sprite causing LOTS of sprites and I don't want that.

Offline

 

#2 2012-01-30 22:28:42

puppetadventurer
Scratcher
Registered: 2011-02-20
Posts: 1000+

Re: Pac-Man help

You could have them stamped at the start of the game and Pac-Man could be leaving a pen trail the color of the background behind him.


3

Offline

 

#3 2012-01-30 22:35:34

fruitmanninja
Scratcher
Registered: 2012-01-25
Posts: 500+

Re: Pac-Man help

puppetadventurer wrote:

You could have them stamped at the start of the game and Pac-Man could be leaving a pen trail the color of the background behind him.

Yes, but how do they disappear?

Offline

 

#4 2012-01-30 22:40:54

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Pac-Man help

by leaving a pen trail of the background color, the pen will cover up and blend in with the background.

Offline

 

#5 2012-01-30 23:33:01

fruitmanninja
Scratcher
Registered: 2012-01-25
Posts: 500+

Re: Pac-Man help

kayybee wrote:

by leaving a pen trail of the background color, the pen will cover up and blend in with the background.

How will they disappear?

Offline

 

#6 2012-01-30 23:39:28

MrMonk999
Scratcher
Registered: 2011-12-17
Posts: 500+

Re: Pac-Man help

They are white and they are being painted over with black as pacman moves over them


http://i.imgur.com/CAMJe.png

Offline

 

#7 2012-01-31 10:56:29

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: Pac-Man help

fruitmanninja wrote:

kayybee wrote:

by leaving a pen trail of the background color, the pen will cover up and blend in with the background.

How will they disappear?

They will disappear because stamps can be hidden by later stamps and pen trails.
They are still there, but will not appear because the trail covers up the dot.

Last edited by rdococ (2012-01-31 10:57:53)

Offline

 

#8 2012-01-31 12:34:50

fruitmanninja
Scratcher
Registered: 2012-01-25
Posts: 500+

Re: Pac-Man help

Oh, now I get it! I didn't before...  tongue

Offline

 

Board footer