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

#1 2010-06-07 21:21:04

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Pacman

I am making (along with like five other things  tongue ) an exact replica of Pacman on scratch. This will include the personality of the AI's and the 256th level 'bug.' I'll probably need help getting this to work right. If you want to help just reply (obviously)

People helping
-Subh
-MasterOfDeception
-mooseofawesomeness

Last edited by ScratchReallyROCKS (2010-06-09 20:24:48)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#2 2010-06-08 03:23:35

Subh
Scratcher
Registered: 2010-05-25
Posts: 100+

Re: Pacman

Take me in !!!!!!!!!!!!!!! BTW, I'M MAKING A SUDOKU SOLVER. CAN ANYONE HELP?

smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile  smile
tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue  tongue
wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink  wink

Last edited by Subh (2010-06-08 03:24:16)


http://wiki.scratch.mit.edu/skins/scratch/logo.png     I'M IN Scratch Wiki .... ARE YOU ????

Offline

 

#3 2010-06-08 06:56:55

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

Okay, youre helping  tongue   smile   smile   tongue


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#4 2010-06-08 07:00:05

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Pacman

just lettin you know it will be very hard, including the bug to e exact like google was!

Offline

 

#5 2010-06-08 18:23:34

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

I know, but I like ambitious projects. Oh, and do you want to help?

Last edited by ScratchReallyROCKS (2010-06-08 18:24:07)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#6 2010-06-08 18:26:08

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Pacman

well im goin on a holiday tomorrow, thanks anyway! I might see after!

Offline

 

#7 2010-06-08 18:50:06

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

dav09 wrote:

well im goin on a holiday tomorrow, thanks anyway! I might see after!

Okay, see ya tomorrow!  smile


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#8 2010-06-09 14:37:20

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

What's the 256th level bug?


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#9 2010-06-09 16:34:34

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

What's the 256th level bug?

Good question! When you get to the 256 level of Pacman, the right side of the screen becomes a jumble of seemingly random letters and symbols. The reason for this is that the 8 bit level counter can only reach 255, so when you get to 256, it corrupts the program and makes it impossible to continue. Here's a picture:

http://wpcontent.answers.com/wikipedia/en/f/f0/Split_Screen_in_Pac_Man.gif


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#10 2010-06-09 16:38:53

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

XD

I might be able to help


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#11 2010-06-09 16:44:26

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

XD

I might be able to help

Cool! I'll need a lot of it. (Not really but you know what I mean)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#12 2010-06-09 17:05:49

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

Sorry, I don't have any good graphics, but I can create the dots system, pacman movement and mabey part of the AI's.


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#13 2010-06-09 17:10:43

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

Sorry, I don't have any good graphics, but I can create the dots system, pacman movement and mabey part of the AI's.

Well, Pacman didn't have good graphics anyway, but I already made Pacman and the dot system, so you can work on the AI, sound good?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#14 2010-06-09 17:14:10

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

ScratchReallyROCKS wrote:

MasterOfDeception wrote:

Sorry, I don't have any good graphics, but I can create the dots system, pacman movement and mabey part of the AI's.

Well, Pacman didn't have good graphics anyway, but I already made Pacman and the dot system, so you can work on the AI, sound good?

I'll try, might take a bit, but I think I can get it.

Last edited by MasterOfDeception (2010-06-09 17:20:11)


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#15 2010-06-09 17:23:17

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

ScratchReallyROCKS wrote:

MasterOfDeception wrote:

Sorry, I don't have any good graphics, but I can create the dots system, pacman movement and mabey part of the AI's.

Well, Pacman didn't have good graphics anyway, but I already made Pacman and the dot system, so you can work on the AI, sound good?

I'll try, might take a bit, but I think I can get it.

I've got time.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#16 2010-06-09 17:32:09

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

Good, working on it now...


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#17 2010-06-09 18:05:29

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

I got a base here but it's not working, can you find out why. Srry got to get off now, be on later.


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#18 2010-06-09 19:51:09

mooseofawesomeness
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: Pacman

how does anyone even get to level 256? i cant beat level 3. anyway, on topic, i may help. what should i do?


I am urhungry's alternate account with a cooler username. Your argument is invalid.

Offline

 

#19 2010-06-09 20:05:52

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

mooseofawesomeness wrote:

how does anyone even get to level 256? i cant beat level 3. anyway, on topic, i may help. what should i do?

I can't get past level 1!! As for your other question, you can do whatever you want. you could work on the AI with MasterOfDeception...


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#20 2010-06-10 14:26:31

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

ScratchReallyROCKS wrote:

mooseofawesomeness wrote:

how does anyone even get to level 256? i cant beat level 3. anyway, on topic, i may help. what should i do?

I can't get past level 1!! As for your other question, you can do whatever you want. you could work on the AI with MasterOfDeception...

Yes, help, I am going to redesign the glitchy part of the script now but I could use help.


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#21 2010-06-10 14:39:17

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

Heres the next version http://scratch.mit.edu/projects/MasterO … on/1112547 but it is still a bit glitchy HALP!!

I think I will look up the pacman ai program to try and get it.

Shouldent this be moved to the colaboration forums?

Last edited by MasterOfDeception (2010-06-10 15:25:22)


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#22 2010-06-10 17:22:42

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

Heres the next version http://scratch.mit.edu/projects/MasterO … on/1112547 but it is still a bit glitchy HALP!!

I think I will look up the pacman ai program to try and get it.

Shouldent this be moved to the colaboration forums? I don't think so, It is pretty advanced)

How I was thinking of doing it was to use 2 lists, and Pacman would record it's last 30 x and y positions in them, then, if the ghost's x and y positions matched the list's x and y positions, they would follow by setting their x and y to the next in the lists. Reply if I wasn't clear enough.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#23 2010-06-10 19:52:41

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

Good idea, but what does it do if the player's position is not on the list, beacuse if you use a random number it tends to go in a circle and how do you make it not try to move into a wall when it is not homing in. Also, the player would not be able to "outsmart" the ai like in normal pacman.


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

#24 2010-06-10 20:07:21

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Pacman

MasterOfDeception wrote:

Good idea, but what does it do if the player's position is not on the list, beacuse if you use a random number it tends to go in a circle and how do you make it not try to move into a wall when it is not homing in. Also, the player would not be able to "outsmart" the ai like in normal pacman.

I don't get what the first one means, but for the second one, yes you would be able to outsmart it by making a lot of turns, I think.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#25 2010-06-11 11:57:46

MasterOfDeception
Scratcher
Registered: 2009-12-29
Posts: 100+

Re: Pacman

I mean what if the xy on the list were (1,1) (1,6) (6,6) and the ghosts xy were (5,7). and no, you would not be able to "outsmart" it beacuse when you move, a new number is recorded and the ghost goes up on the list.

Also, how would you program that, and SRR, can you put your movement program up so I can use that (I have my own but I want to program with the one that will be in the game).

Last edited by MasterOfDeception (2010-06-11 12:19:08)


"My Language Arts teacher beat Chuck Norris up." -12three

Offline

 

Board footer