16 bit sprites in lowres

7

jpospTynker 2025-06-27 18:53 (Edited)

So, I don’t really know how to code games, but I made this 16 bit sprite, based of Mario bros 3 and Mario world prototype. I will maybe use this to make a unofficial pink plumber guy. I only know how to use sprites variable print and gamepad right now.

16 Bit Sprites.nx | Open in app
2025-06-27 20:05
16 Bit Sprites.nx | Open in app
2025-06-27 18:53

was8bit 2025-06-28 00:11 (Edited)

Welcome :)

I added a SUB ... they are useful for adding more power to your code ;)

Variables inside a SUB will not interfere with any variables outside the SUB... but passed variables can be changed by the code inside the SUB

If you notice, variables from all 3 characters use the same SUB to help move the characters...

The exception is if you add GLOBAL when defining variables, so for example, a stored map or a counter so the SUB can access the map or track how many times it is used, or if a variable is universally needed for your entire program....

... i remixed your code as a demo for SUB


was8bit 2025-06-28 00:28 (Edited)

This remix adds simple animation...


jpospTynker 2025-06-28 01:04

Wow! just wanted to say that XC and YC mean X Camera and Y camera. I’m sorry for not putting that in the code.


jpospTynker 2025-06-28 01:06

Otherwise, Nice advice!


was8bit 2025-06-28 02:05

:)

You are welcome to scroll thru all my stuff i have posted and ask any questions :)

... the artsy ones are good to experiment with...

... and you also free to remix anything mine, just leave my was8bit in the code if post it :)


was8bit 2025-06-28 02:12 (Edited)

You might find this one interesting....

https://lowresnx.inutilis.com/topic.php?id=3645


was8bit 2025-06-30 06:55 (Edited)

Hey, thanks :)

... i made this version for you to play with...

Select "open in app", then touch the left right corner and select SAVE

Experiment by going to last graphic page and edit and change the text on the top line, and save your changes...

... then run the program again... be creative with your "brushes" ;)



Text Bright Remix.nx | Open in app
2025-06-30 06:55

Log in to reply.