Lego Toy


was8bit 2020-09-12 07:10 (Edited)

PAUSE toggles between placing legos and removing legos

ARROWS moves cursor

When placing legos...
(A) places legos
(B) changes lego color

Can remove ANY lego
Can only place a lego on TOP of an existing lego

Lego Toy.nx | Open in app
2020-09-12 07:26
Lego Toy.nx | Open in app
2020-09-12 07:10

G-9 2020-09-13 07:30

Like minecraft, you can glitch gravity:)

was8bit 2020-09-13 08:17

Um... well... oh, there are only two rules ;)

...this one literally only took me 5 min. to make... ANYONE is welcome and encouraged to take this and remix anything they want :) just call it a REMIX and your name in the code :D

was8bit 2020-09-13 08:21 (Edited)

Just remember, that each block that has an empty space above it (or any empty space on the very bottom) must add those little nubs, as the code should ONLY place a lego onto a square that has nubs..

For gravity, i would break it down into vertical colums and process each column seperately.... a bottom piece would keep falling until it would eventually stop on a nub... i would do the check with FOR Y = 15 TO 0 STEP -1 ...

AND remember BG 1 = lego layer, BG 0 is reserved for CURSOR only

Log in to reply.