The Daily Click ::. Forums ::. Klik Coding Help ::. Creating a Pacman clone...
 

Post Reply  Post Oekaki 
 

Posted By Message

T-Bone



Registered
  19/05/2003
Points
  5
13th June, 2003 at 03:34:10 -

OK, so here's whats happening; I'm creating a game using Click & Create, it's a point-and-click adventure game (a mix between the old sierra/lucas arts games. In this game, there's going to be a scene where you'll be able to play an arcade game. after much thought, I figure said game will be pacman, but I can't figure out how get it down. for instance, how do you make pacman go until he hits a wall once you've hit a direction? and how do you make him only able to turn if there's an opening in the wall? I've seen pacman clones such as pacman DX (a perfect remake of the original) and pacman worlds (another great pacman game), but I haven't the foggiest idea how they were done. so I was wondering if A) someone could explain to me how this is done, or B) someone could send me an open source version of a pacman game that I could tinker with. any help would be greatly appreciated.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
13th June, 2003 at 03:38:20 -

Use custom grid movement.

If player pressed "up" - Set alterable value a to (gridsize here)

Player.alt a >0 - player. y = player.y - 1, subtract 1 from player.alt a

Then you modify that for the opposing directions, and add in detectors.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click