tobiasvl / picolarium

:video_game::white_large_square::black_large_square: Picolarium, a puzzle game for PICO-8
https://tobiasvl.itch.io/picolarium/
7 stars 2 forks source link

Add the extra tile types #14

Open gingerbeardman opened 6 years ago

gingerbeardman commented 6 years ago

Add the extra tile types as found in Polarium Advance.

However this would not work with your DS passwords. You'd have to go with GBA passwords.

Passwords of custom made puzzles from Polarium DS would work in Polarium Advance. However, passwords of custom made puzzles from Polarium Advance would NOT work in Polarium DS.

https://jroatch.xyz/2011/blog/polarium-password-encoding

tobiasvl commented 6 years ago

Unfortunately, custom Polarium Advance levels would probably need too much cartdata storage to be feasible. The PICO-8 cartridge only has 256 bytes of space.

I now use 15 bytes to save the completion status of each level (1 bit per level, times 100 stock levels plus 20 custom levels), which makes room for 20 custom levels of 12 bytes each, which is the space needed for a DS level. (I can save one byte per custom level if I refrain from storing the checksum, which can be calculated on the fly when generating passwords instead.)

Each GBA level, however, will need more than 12 bytes. The actual size varies, as you can see from the page you linked to, which makes it harder because the number of puzzles a player could store would vary depending on how large the levels are and whether they use the extra tile types or not.

So this is the reason I settled on just using the classic Polarium DS features: The PICO-8 storage space simply isn't large enough to accomodate the GBA tiles and level representation. Suggestions to overcome this would be welcome, but I don't think it's feasible.

I have thought about making a "Picolarium Advance" though!

gingerbeardman commented 6 years ago

Understood!

I'm intrigued about your current study into Modal Logic. Can you use that to describe games? Have you played a game called Popils (on Sega Game Gear)?