Page 1 of 3

PACMAN 1K

Posted: Sun Jan 29, 2023 7:04 pm
by dr beep
I think I can make a 1K PACMAN with the original screen.

So far coded:
- compressed screen to load in 1K.
- defining own keycontrols
- decompress screen to full size
- start of game
- reset score
- control of pacman

Still 245 bytes free for
- restart
- ghost move
- score (eating)
- hiscore
- levelup
- bonusitems

K-MAN will be part of the new game tape.
Kman.png

Re: PACMAN 1K

Posted: Sun Jan 29, 2023 7:40 pm
by Lardo Boffin
Blimey! :o

Re: PACMAN 1K

Posted: Sun Jan 29, 2023 8:10 pm
by Its1982again
Still playing 1k frogger and painter so looking forward to this!
dr beep is the Yoda of 1024 bytes.

Re: PACMAN 1K

Posted: Sun Jan 29, 2023 10:20 pm
by dr beep
To do:

move ghost, status ghost and dead.
114 bytes left for full sixe Pacman.

Re: PACMAN 1K

Posted: Mon Jan 30, 2023 1:26 pm
by dr beep
71 bytes left

to do:
status ghost
timer ghost chaseable
capture test
hiscore

I think I need to cut a few pixels from the full screen.

Re: PACMAN 1K

Posted: Mon Jan 30, 2023 7:11 pm
by dr beep
Yes, I need to take a bit of the screen for the final steps.

Re: PACMAN 1K

Posted: Mon Jan 30, 2023 8:12 pm
by dr beep
At this moment 2 lines deleted.

Only to do:
point for eating ghost and hiscore

No bonusitems

32 bytes left.

Re: PACMAN 1K

Posted: Tue Jan 31, 2023 7:59 am
by Whitey
Only just restarting my zx81 programming journey after a 40 year break. Doing all this in 1k blows my mind 🙌

Re: PACMAN 1K

Posted: Tue Jan 31, 2023 8:33 am
by XavSnap
:ugeek:

You can use the $403c to $407a memory block ?

Re: PACMAN 1K

Posted: Tue Jan 31, 2023 1:59 pm
by dr beep
XavSnap wrote: ↑Tue Jan 31, 2023 8:33 am :ugeek:

You can use the $403c to $407a memory block ?
yes, printerbuffer is free to use as is most of the systemvariables. I only avoid
dfile, lastk, frames, margin and cdflag