Log In  

Cart #blockrect-1 | 2021-12-04 | Code ▽ | Embed ▽ | No License
5

Here is Blockrect, my Pico-8 version of the Game Boy Advance game "It's Mister Pants" from 2004.

The basic idea of the game is to create rectangles which have to be 2 by 3 blocks or larger to clear them from the grid.

Blocks cannot be placed on top of blocks of the same color that are already on the grid, but they can be placed on top of blocks of any other color which causes the different blocks on the grid to disappear.

Features:

  • Normal mode

    • 250 puzzles
    • 2 unsolved puzzles unlocked at a time
    • cheat mode
    • restart level, give up via menu
  • Freestyle mode

Have fun!

P#101349 2021-12-03 18:18 ( Edited 2021-12-04 00:38)

The game doesn't start. "Booting cartridge..."
Something to do with version 0.2.4 @zep?

P#101352 2021-12-03 18:29

This is the problem why the cart is not loading in 0.2.4. It seems like the string termination is different between version 0.2.3 and 0.2.4.

@zep @dw817

This code sample stops in 0.2.3 and keeps running in 0.2.4

local p=1
local s="123465789"
repeat 
    print(p)                    
    local v = sub(s,p,p)    
    local numeric = (tonum(v) != nil)                
    if (numeric) then
        p+=1
    end
until (not numeric)
P#101389 2021-12-04 00:21

Uploaded version 1.1. It works now.

P#101391 2021-12-04 00:39

Thanks for pointing me here, @troske007.

Yeah that is pretty creepy. A string termination code may be quite critical in a lot of existing TWEETS out there. Maybe ZEP will say why he changed it from the latter ?

P#101411 2021-12-04 01:45

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 19:21:27 | 0.032s | Q:24