01-09-2023, 10:12 AM
(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.
I've been writing (and rewriting) this for 2 months now. There is still one known bug I need to track down. Sometimes the ghosts trapped in the ghost house will stop bobbing up and down. It doesn't affect game play and very rarely happens (which is why I'm having trouble tracking it down). I'll eventually find the bug and post an update, but in the meantime I need to take a break from it.
The ZIP file contains all the files needed (23 of them). The game creates a file when first executed called "pm.sav" that is two lines long and contains the options settings and high score.
Have fun! Waaka Waaka Waaka ...
What a beautifully implemented version of Pacman in terms of the game itself and the actual underlying code. I wish I'd taken the time to look through something like this before making my first QB64pe project last week! Option _Explicit alone would have been a godsend! I've been declaring variables I needed on a non-local scope as shared at root level - I hadn't realised you only need to add shared locally in subs that required access. That's a much neater approach. I'll have a proper look through before embarking on my next project. Thanks for taking the time to make the code so well documented!