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

#1 2009-05-10 11:26:21

jackched123
Scratcher
Registered: 2009-05-10
Posts: 1

help on pacman game

hello i'm stuck on my pacman game i need to find out how i can make the gold things for pacman to eat thanks

ok so i've figured that out now alls i need to know is how to do a pont system thing

Last edited by jackched123 (2009-05-10 13:02:05)

Offline

 

#2 2009-05-27 07:38:37

chapjef1
Scratcher
Registered: 2009-05-27
Posts: 3

Re: help on pacman game

how do i make it so pacman will not run through the side of the maze

Offline

 

#3 2009-05-27 07:40:52

chapjef1
Scratcher
Registered: 2009-05-27
Posts: 3

Re: help on pacman game

jackched123 wrote:

hello i'm stuck on my pacman game i need to find out how i can make the gold things for pacman to eat thanks

ok so i've figured that out now alls i need to know is how to do a pont system thing

to do the points all you have to do is go to variables type in score and then im sure your teacher could help you from there, if not write that here and i will tell you what to do

Offline

 

#4 2009-05-27 07:47:24

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: help on pacman game

chapjef1 wrote:

how do i make it so pacman will not run through the side of the maze

Posting your own thread and not hijacking another person's seems to work great.


@savi3000 | hcsmp.com

Offline

 

#5 2009-05-27 07:48:52

Mozaz
Scratcher
Registered: 2009-05-19
Posts: 500+

Re: help on pacman game

jackched123 wrote:

hello i'm stuck on my pacman game i need to find out how i can make the gold things for pacman to eat thanks

ok so i've figured that out now alls i need to know is how to do a pont system thing

You need to make a variable called 'Score'. Then make a script on the gold things saying:

<if><touching[ pacman ]
<change{ score }by( 1 )


http://i33.tinypic.com/15i5fmp.png

Offline

 

#6 2009-05-27 08:38:27

technoguyx
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: help on pacman game

Mozaz wrote:

jackched123 wrote:

hello i'm stuck on my pacman game i need to find out how i can make the gold things for pacman to eat thanks

ok so i've figured that out now alls i need to know is how to do a pont system thing

You need to make a variable called 'Score'. Then make a script on the gold things saying:

[blocks]<if><touching[ pacman ]
<change{ score }by( 1 )[/blocks]

It's better as:

[blocks]<if><touching[ pacman ]
<hide>
<change{ score }by( 1 )
<end>
[/blocks]

This way, it couldn't count a lot of points.


http://getgnulinux.org/links/en/linuxliberated_4_78x116.png

Offline

 

Board footer