LUNAPARK81

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

LUNAPARK81

Post by dr beep »

I think it is time to claim the record for the smallest "Theme park simulator".

Jonathan Cauldwell set quite an achievement with "Amusementpark 4K".
https://jonathan-cauldwell.itch.io/amusement-park-4k

Now I will make a simulator in just 1K called "LUNAPARK 81".

So far the startscreen is built as well all ideas are written down.
Now it is time to start coding....
lunapark81.png
lunapark81.png (16.07 KiB) Viewed 1620 times
User avatar
kokkiklhs
Posts: 103
Joined: Sat Jan 10, 2015 12:09 pm

Re: LUNAPARK81

Post by kokkiklhs »

I wonder if a big teddy bear prize can be squeezed within this 1k... :lol:
...but with your magic coding skills, anything is possible!!!
8-)
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

kokkiklhs wrote: Sun Jun 04, 2023 6:32 pm I wonder if a big teddy bear prize can be squeezed within this 1k... :lol:
...but with your magic coding skills, anything is possible!!!
8-)
No,
only:

L = Laughing mirror
S = See-saw
M = Maze
B = Bumpercars
R = Rollercoaster
F = Ferriswheel
W = Wildwatertrack
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

At this moment:

Screen decompresses to fill 1K to the most.
Timeloop is ready. You play 5 minutes (or any other time, will find out later).
Check is made if program runs 60 or 50 hz.
End of gameloop with hiscore is added.

Scoring can be displayed.
Movement loops are copied over sysvar but not yet called.

517-32 bytes remaining (32 bytes for stack calculated)
User avatar
kokkiklhs
Posts: 103
Joined: Sat Jan 10, 2015 12:09 pm

Re: LUNAPARK81

Post by kokkiklhs »

Incredible!!! :shock:
All these in just 1k?
If Sir Clive -God rest his soul- knew that back in the days, he'd have produced the first Zeddies with only 512 bytes RAM, to obtain an even better market price!!! :lol:

Well, I'll first go for the bumpercars, it's my absolute favorite!!
:mrgreen:
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

kokkiklhs wrote: Sun Jun 04, 2023 7:28 pm Incredible!!! :shock:
All these in just 1k?
If Sir Clive -God rest his soul- knew that back in the days, he'd have produced the first Zeddies with only 512 bytes RAM, to obtain an even better market price!!! :lol:

Well, I'll first go for the bumpercars, it's my absolute favorite!!
:mrgreen:
Bumpercars can't be placed immediately. You need to earn enough money to place them.
User avatar
kokkiklhs
Posts: 103
Joined: Sat Jan 10, 2015 12:09 pm

Re: LUNAPARK81

Post by kokkiklhs »

dr beep wrote: Sun Jun 04, 2023 7:38 pm Bumpercars can't be placed immediately. You need to earn enough money to place them.
Damn, I knew it wouldn't be that easy!!! :lol:
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

Player controls now added, next placing items.

420-32 bytes free
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

Player can now built a park.

Next to do:
add visitors and revenues

Bytes free:
337-32
lunapark81-2.png
Here you see a path with the ride LAUGHING MIRRORS
dr beep
Posts: 2060
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: LUNAPARK81

Post by dr beep »

Visitors are shown and erased (needed to move them)

Only thing to do is moving of visitors which is moving but also doing the ride.
When doing the ride money must be added

Around 180 bytes left for coding
(250 free but 70 needed by visitor data and stack)
Post Reply