' loopz.n7
' --------
' * Rotate held piece with right mouse button or mouse wheel
' * Left click to place piece on a free spot on the board
' * If a loop is formed it is eliminated and you score points
' * If the timer runs out before you place a piece, the held piece explodes and you lose a life
' * When a held piece explodes, it destroys all formed pieces that it touches on the board
The last point is quite important. When you're about to lose a life, hold the piece over as many different pieces on the board as possible, because they will all be destroyed by the explosion and free up space!
(04-12-2026, 01:29 PM)kevin Wrote: [ -> ]Excellent - thanks Marcus. Just tried it once so far, and it certainly is not easy (as my score shows), which is good .
I did get a runtime error at one stage, which read:
loopz.n7 :195: Runtime error :Index 7 not found(BC_MLOAD_R)
I've not been able to duplicate this error however. I think that the timer had just got to zero at the time.
Many thanks for sharing.
Ah thanks for reporting the error, an "index out of bounds". A quick look at the code tells me that it happens if part of the held piece is outside of the "board" when it explodes
(04-13-2026, 03:47 PM)Marcus Wrote: [ -> ]It was fun to make a small game. If you have any suggestions for other NES games you want to see cloned in naalaa, please let me know!
Can I put forward Klax as a suggestion to consider? I remember trying to code this ages ago, but it did not turn out well
(04-13-2026, 03:47 PM)Marcus Wrote: [ -> ]It was fun to make a small game. If you have any suggestions for other NES games you want to see cloned in naalaa, please let me know!
Can I put forward Klax as a suggestion to consider? I remember trying to code this ages ago, but it did not turn out well
I took a quick glance at the game. The logic seems fairly simple (reminds me a little of two games i made for amiga that are listed here: https://gamesdb.launchbox-app.com/publis...1-nc-gamez). Was it the 3d perspective that didn't work out when you tried?