Tinycloud778 2020-03-04 01:48

I finally learned how to use Dimensions and arrays

Thibg.nx | Open in app
2020-03-04 01:48

UmbrageHill 2020-03-04 01:50


was8bit 2020-03-04 05:48

Very cool :)

... i was inspired, and made a tweaked version... can you figure out all my tweaks :)

Thibg (tweaked).nx | Open in app
2020-03-04 05:48

Tinycloud778 2020-03-05 01:11


was8bit 2020-03-05 01:17


Timo 2020-03-05 09:13 (Edited)

The colors look exactly like the original AmigaOS :)


was8bit 2020-03-05 15:57

BTW, your version is perfectly fine :) Inwas just showing you some other ways... there are other options too...

Usually, I like to use BG 1 for what we would consider the background part of the game.. also would add players and such to this layer too if I moved them by cell amounts like you did here and like i did with my pac man game..

Then i use BG 0 for adding data display like life levels, scores, etc, so they don't interfere with BG 1...

There is no one way to make a game... you can use all cells, or all sprites, or mix cells and sprites together... you can use backgrounds you have designed, or create backgrounds via code...

Your approach was just fine :) I would only suggest using DEGUB MODE to make sure you don't task NX too much... while the game is running, touch the top right corner and select ENABLE DEBUG MODE.. it will show it's task percentage in the top right corner... MAX means you are processing too much stuff in your DO LOOP or in your FOR NEXT loops...

was8bit 2020-03-05 16:03 (Edited)

Your version runs at 41%.. so as you add more code it might reach MAX... at MAX some of your game can start to behave irratically...

My version runs at 6%, simply because i only cooy the background once where you copy yours each DO LOOP cycle... nothing wrong with that, your version is currently fine ;)

... another neat thing you can do in DEBUG MODE is test a variable in real game time... use TRACE variablename, and in debug mode it will contantly show that variable value in real time... in normal game mode, NX ignores all TRACE commands :)

Tinycloud778 2020-03-07 17:16


was8bit 2020-03-07 18:07


Log in to reply.