NaaLaa

Full Version: Loopz
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Saw this old video by Pat the NES Punk (comedy show) yesterday evening:



I had never heard of that game before and still haven't tried it. But now I'm working on an n7 version:



I'll post the game in a day or two when I'm done Smile
Attached is the game, it's quite difficult Big Grin

[Image: loopz.jpg]


Edit

These are the instructions from the source code:

' 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!



Edit:  Fixed the bug that kevin found
Excellent - thanks Marcus. Just tried it once so far, and it certainly is not easy (as my score shows), which is good Smile.

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.
(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 Smile.

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 Smile
My first attempt is only 218 ... lol

[Image: bq7rS.jpg]
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!
(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 Sad

Klax on NES
I like
  • Klax  Big Grin
  • Marble Madness
  • RC Pro- Am

Thanks  Cool
All good suggestions, thank you both!
(04-13-2026, 05:37 PM)kevin Wrote: [ -> ]
(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 Sad

Klax on NES

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?
Pages: 1 2