pacman

user_icon darkmuse shared it 1 year, 3 months ago
776 views, 7 people love it, 1 tagger, 70 downloads, in 5 galleries, 2 remixes
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

gne gne 10 months, 4 weeks ago

I've added this project to the Gallery of Magical Quality***

(view all replies)
Comment Reply

gne gne 10 months, 4 weeks ago

Nice!

(view all replies)
Comment Reply

macintosh macintosh 12 months ago

put this in my gallery

(view all replies)
Comment Reply

Snowypeltie Snowypeltie 1 year ago

You don't lose lives

(view all replies)
Comment Reply

SAMtheMAN SAMtheMAN 1 year, 2 months ago

Nice!

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 2 months ago

Its worse than that at rotating them. Some sprites will "tear" as the are rotated so they no longer look much like the original. I'm sure all the bugs will be ironed out eventually though. I do like the product and think it has the makings of a fun little environment for people to play in.

(view all replies)
Comment Reply

Mayhem Mayhem 1 year, 2 months ago

"For some reason scratch cannot successfully rotate a symmetrical sprite through 90 or 180 degrees!" Are your sprites an odd or even number wide? Since sprites are centered around a specific pixel, a sprite that is (eg) exactly 20 wide will have have its rotational center offset horizontally and vertically from the actual center of the sprite by 1/2 a pixel. This leads to innacurate rotation. 1 solution is to make all your sprites (and coridors) an odd numer wide - 21 instead of 20, for example. Then the centre of the sprite can actually be its literal center.

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 2 months ago

Hmm. It appears that once the ghosts are running along a line with either x position or y position equal to zero they stop looking for junctions! I wonder if there is a bug in the "mod" code that makes '0 mod 30' not equal '0'?

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 2 months ago

Heh. That's the problem. Its the same sprite rotated whatever direction it is going. For some reason scratch cannot successfully rotate a symmetrical sprite through 90 or 180 degrees! Next version should be here soon though and then this conversation won't make any sense :)

(view all replies)
Comment Reply

Vanslar Vanslar 1 year, 2 months ago

you need one of the little dots for when the pac-man goes up

(view all replies)
Comment Reply

fsteenmeijer fsteenmeijer 1 year, 2 months ago

Looking forward for the next version!

(view all replies)
Comment Reply

Mayhem Mayhem 1 year, 3 months ago

In the short term you could try flood-filling the walls.

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 3 months ago

See what I mean about odd behaviour. In this version (2.0) you can see that pacman can go through walls when travelling up or right because the "feeler" is missing. It must be a defect in the aliasing/compression done when the project is "shared". I'll probably have to put much larger blocks of colour in to compensate for this. Maybe version 2.1, maybe version 3....

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 3 months ago

See what I mean about odd behaviour. In this version (2.0) you can see that pacman can go through walls when travelling up or right because the "feeler" is missing. It must be a defect in the aliasing/compression done when the project is "shared"

(view all replies)
Comment Reply

Mayhem Mayhem 1 year, 3 months ago

For the turn limiting, you could try adding "feelers" to the top and bottom of pacman.

(view all replies)
Comment Reply

Mayhem Mayhem 1 year, 3 months ago

Beautiful rendition of the original classic. [hr] With regard to adding dots, may I invite you to take a look at my own pacman game (Pacman Experiment V2)? I used dots drawn on the background that pacman actually paints over, rather than trying to make every dot a sprite which would have taken hours! [hr] I may have to take a look at your code as my own pacman is a bit of a pain when it comes to turning - needing to be really accurate on the junctions. Yours seems much smoother.

(view all replies)
Comment Reply

ChaseHill64 ChaseHill64 1 year, 3 months ago

it works just fine

(view all replies)
Comment Reply

darkmuse darkmuse 1 year, 3 months ago

Okay, after some odd behaviour with differences between running it in scratch and here in a browser I think the basics are now working.

(view all replies)
Comment Reply