Questions tagged [pacman]

Pacman is an arcade game developed by Namco and licensed for distribution in the United States by Midway, first released in Japan on May 22, 1980. For the package manager of the same name, use [pacman-package-manager] instead.

Pacman is an arcade game developed by Namco and licensed for distribution in the United States by Midway, first released in Japan on May 22, 1980.

Screenshot of play area

241 questions
-1
votes
1 answer

linux gnome online video play issue

I'm using arch linux with gnome. All the online video always show buffering but my network seems available(at least fast enough to browse stackoverflow).Actually when I get to a particular spot of the video,the frame can be shown successfully while…
alex
  • 1
  • 1
-1
votes
1 answer

How can my character decide on its own in which direction it can go?

I have to make my own Videogame in unity and I decided to redo the game Pacman, I am also very new to writing c# or coding in general. I am almost done with my project but the only thing I can`t finish is this script. It is for my ghosts in the game…
-1
votes
3 answers

Does anyone know the algorithm used for navigating a Pac-Man maze?

I need an algorithm for this pacman maze. Can anyone help?
Hiren
  • 7
  • 1
-1
votes
1 answer

How can I generate a new position only when it arrives there?

I created these functions: function generatePosition(){ var locX = Math.floor(Math.random() * 12) + 5; var locY = Math.floor(Math.random() * 10) + 3; console.log('MOVE 0 ' + locX + ' ' + locY ); // MOVE } …
Sara Briccoli
  • 141
  • 3
  • 11
-1
votes
1 answer

How do I get the color of each pixel of an animation/image object in java?

Working on a Pac-man game for my grade 12 computer science class. I have game.java file the runs the code through the main method, while I have a Play.java file that runs the actual game. This is what's inside the Play.java file: package…
Bert Hanz
  • 417
  • 1
  • 7
  • 16
-1
votes
4 answers

Pacman Ghost moving in android

I want to play game pacman. There is a problem exists in the moving of the pacman ghosts. How can i move the ghost. I use Random Method but it moves in the same direction up or down or left or right. I want actual theory behind pacman movement
Amit Thaper
  • 2,117
  • 4
  • 26
  • 49
-1
votes
1 answer

Reset button in a c# game

So, I'm making a game which is kind of similar to pac-man and I want to add a reset-button (resetting the game, NOT restarting the application). I've tried a lot of things but I still can't get it working. Any solutions? Thanks in advance, Henk …
henk_bae
  • 25
  • 7
-1
votes
1 answer

java pacman - loop iterates only once through array

I'm having a problem with the output of the program. I am able to generate the grid and make pacman reorient and move, but it only moves out of the first position, and then it stops orienting or moving. Something must be wrong with the way the…
Sjokun
  • 1
-1
votes
1 answer

Path of minimaxalpha beta

Well i have the pacman game with a global vector CharactersLocation with row, column of each character...( ex: character[0] is row of ghost1, character[1] is column of ghost1, character[2] the row of ghost2...and character[8] and character[9] are…
-1
votes
1 answer

BFS for pacman ghost

I've been several days with this problem. I've searched in this forum, and in google for a solution without any luck. My problem is I am not able to make a working BFS algorithm for managing the behaviour of a pacman ghost. I think I am ignoring…
-1
votes
1 answer

Javascript else always triggering

When I run the following code, for some reason it executes as if the else is always true, however when I take away the else statement, the if statements work fine, thus indicating that the if statements do work, I think, however I cannot set…
Fanghole
  • 33
  • 4
-1
votes
1 answer

Code, going through an array in javascript

'm trying to create a function that will continuously loop through an array and check if there are still elements with a certain value. If there are no more of these elements, then I would like the function to execute a certain action. I'm checking…
JuCho
  • 1
  • 2
-1
votes
1 answer

How to activate pac-man plug-in in Google Maps API

Is there any way to call the pac-man plug-in in Google Maps v3 API? Thanks! and happy April fool :p
Christina
  • 100
  • 9
-1
votes
1 answer

How to get Pac-Man like constant movement with inputs allowing turns inside lanes and auto turning on collision with a wall, using Raycasts ?

I have a grid based level with each grid sized 1x1 unit(default). How do I make my gameobject move through the lanes accelerating in a specific direction (Pacman) until an input is given to change its' direction, or if it collides with a deadend…
dhully
  • 1
  • 3
-1
votes
1 answer

Java Graphic2D Issue in creating Pacman

It's summer so I thought to teach myself a little bit more so I started to create a pacman game but I'm having an issue just in beginning. public class PacMan { /** * @param args the command line arguments */ public static void main(String[]…
AMATURE
  • 11
  • 6