QB64 Pac-Man Clone
#28
(01-06-2023, 02:46 AM)TerryRitchie Wrote:
(01-06-2023, 02:10 AM)madscijr Wrote:
(12-26-2022, 08:10 PM)TerryRitchie Wrote: Finally! A working version I can share. This version is as about as close as you can get to the original without using MAME and ROM images.
...
Have fun! Waaka Waaka Waaka ...

This is really nice. Thank you. 

I know you have worked hard on this, and it's excellent. Now I'm going to try and push for just a little more. The obvious would be Ms. Pac Man, but I think there is something better - add an editor and a couple of options to be able to MAKE Ms. Pac Man from inside the game, as well as create different mazes, edit the Pac sprites and edibles, play with the rules a little bit, change colors timers and speeds, play simultaneous multiplayer (cooperative or competitive?), maybe even a simple editor and primitive language to program the ghosts' logic or fruit's path through the maze. 

That's asking for a lot. Maybe just a way to edit mazes to start with, would give this game a longevity and add a new level of fun that the original never had. 

But anyway, great job, as always! You did it with Berzerk, you did it with Asteroids. What about Tempest (with level editor!), Gravitar, and Defender / Stargate?? ?

Yes, I agree, a level editor would be cool. However, games that do support level editors are built with that functionality in mind before a line of code is even written. Unfortunately I didn't design the game with an editor in mind. It would take much more than a simple modification I'm afraid. I would need to rewrite the entire maze handling routine to accommodate it. I suppose a generic maze generator and handler could be designed that would allow graphics of all the various pac-man iterations to be plugged into (or evern custom graphics). But then there's the issue with movement too. Pac-man looks simple enough at the surface but underneath pac-man has a very sophisticated movement algorithm. You can literally slide pac-man around corners at 7 different points at intersections. The original programmers of pac-man were quite ingenious with its design as I found out while emulating it.

Wow, I always thought the game had good feel, but I never knew how it was implemented. 

I'm not intimately acquainted with the code like you, but when I think about it, it seems that any maze is just a combination of the same limited set of turns and intersections. There are only so many directions Pac Man can go, so even with 7 different points each, any maze can probably be broken down into the same root "tileset", no?
Reply


Messages In This Thread
QB64 Pac-Man Clone - by TerryRitchie - 12-26-2022, 08:10 PM
RE: QB64 Pac-Man Clone - by james2464 - 12-26-2022, 08:33 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-26-2022, 08:47 PM
RE: QB64 Pac-Man Clone - by Jack - 12-26-2022, 10:09 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-26-2022, 10:46 PM
RE: QB64 Pac-Man Clone - by PhilOfPerth - 12-27-2022, 06:42 AM
RE: QB64 Pac-Man Clone - by Dimster - 12-27-2022, 05:21 PM
RE: QB64 Pac-Man Clone - by Dimster - 12-27-2022, 05:37 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-27-2022, 08:31 PM
RE: QB64 Pac-Man Clone - by Dimster - 12-27-2022, 08:37 PM
RE: QB64 Pac-Man Clone - by Jack - 12-27-2022, 09:17 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-28-2022, 02:42 PM
RE: QB64 Pac-Man Clone - by mnrvovrfc - 12-30-2022, 07:21 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-30-2022, 05:10 PM
RE: QB64 Pac-Man Clone - by LEM - 12-30-2022, 07:02 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 12-30-2022, 05:13 PM
RE: QB64 Pac-Man Clone - by Pwillard - 01-05-2023, 03:43 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-05-2023, 04:16 PM
RE: QB64 Pac-Man Clone - by Dav - 01-05-2023, 11:31 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-06-2023, 12:25 AM
RE: QB64 Pac-Man Clone - by Dav - 01-06-2023, 01:52 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-06-2023, 03:02 AM
RE: QB64 Pac-Man Clone - by madscijr - 01-06-2023, 02:10 AM
RE: QB64 Pac-Man Clone - by mnrvovrfc - 01-06-2023, 02:38 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-06-2023, 02:58 AM
RE: QB64 Pac-Man Clone - by madscijr - 01-06-2023, 03:54 AM
RE: QB64 Pac-Man Clone - by madscijr - 01-06-2023, 03:28 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-06-2023, 02:46 AM
RE: QB64 Pac-Man Clone - by madscijr - 01-06-2023, 03:46 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-06-2023, 05:44 AM
RE: QB64 Pac-Man Clone - by madscijr - 01-06-2023, 03:03 PM
RE: QB64 Pac-Man Clone - by TempodiBasic - 01-08-2023, 07:01 PM
RE: QB64 Pac-Man Clone - by RokCoder - 01-09-2023, 10:12 AM
RE: QB64 Pac-Man Clone - by TerryRitchie - 01-09-2023, 06:55 PM
RE: QB64 Pac-Man Clone - by RedAfro-LIVE - 02-03-2023, 07:49 PM
RE: QB64 Pac-Man Clone - by mnrvovrfc - 02-03-2023, 10:08 PM
RE: QB64 Pac-Man Clone - by RedAfro-LIVE - 02-06-2023, 01:47 PM
RE: QB64 Pac-Man Clone - by SMcNeill - 02-06-2023, 03:19 PM
RE: QB64 Pac-Man Clone - by mnrvovrfc - 02-06-2023, 07:57 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 02-06-2023, 05:41 PM
RE: QB64 Pac-Man Clone - by RedAfro-LIVE - 02-06-2023, 06:20 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 02-06-2023, 07:55 PM
RE: QB64 Pac-Man Clone - by madscijr - 02-07-2023, 09:52 PM
RE: QB64 Pac-Man Clone - by TerryRitchie - 02-08-2023, 01:43 AM
RE: QB64 Pac-Man Clone - by madscijr - 02-08-2023, 12:54 PM
RE: QB64 Pac-Man Clone - by bplus - 02-03-2023, 08:17 PM
RE: QB64 Pac-Man Clone - by RedAfro-LIVE - 02-06-2023, 02:41 PM
RE: QB64 Pac-Man Clone - by bplus - 02-06-2023, 05:00 PM
RE: QB64 Pac-Man Clone - by bplus - 02-06-2023, 07:50 PM
RE: QB64 Pac-Man Clone - by bplus - 02-06-2023, 08:22 PM



Users browsing this thread: 21 Guest(s)