Work in Progress

Full screen pixels...through characters

6

Alice 2020-11-21 09:25 (Edited)

Done through characters representing every possible combination of 4 shade pixels. Will read an image from an array 64x64 and select the correct combination of characters to display it.

You could...
Full screen animation frame by frame is possible just by loading frames in an array.
Have a huge map to scroll around by offsetting the array info when you update.

D-PAD to move around the image.
Press Button B to QUIT

UPDATE: Reduced characters to 86...but still have all possible combinations...yep. And added some notes. Program is very short.

Pixel By Pixel.nx | Open in app
2020-11-22 08:00
Pixel By Pixel.nx | Open in app
2020-11-21 09:25

Timo 2020-11-21 17:21

Ah, my Tron game works with the same idea (but only one color) https://lowresnx.inutilis.com/topic.php?id=9


Alice 2020-11-22 07:32 (Edited)

Very nice...the cool thing is that you can customize the pixels, like in your Tron. They don’t have to be just one color. I’m going to trim down the “duplicate“ characters in mine to still have 4 shades, text, and hopefully some extra characters for game sprites.


Timo 2020-11-22 09:08

I was thinking... if you use ON RASTER CALL and change the cells in each line, you wouldn‘t need ALL pixel combinations, but only one line. Probably you could get a higher resolution then. Or have more free characters for sprites.


Alice 2020-11-22 11:28

Got something planned for that...thanks for the idea though. I do want all combinations...not negotiable...lol.


Alice 2020-11-22 11:28

There will be room for text and sprites.


Alice 2020-11-22 11:37

Because long strings are not an issue...that DATA can be rearranged to be on one DATA per frame instead of one DATA per line. Just manage with a MID(). Same with the array, you don’t need to have one address per character...just put them in one long string and manage with a MID(). That will give you one string per frame.

No guarantees about FPS...lol.


was8bit 2020-11-22 11:54

Wow, thats like magic!


Alice 2020-11-22 12:12

Not sure about the magic part...but it’s pretty neat how little code you need for that.


Alice 2020-11-22 12:14

I’ll be getting rid of half the characters about. They form combinations that can be formed with FLIPing. That will solve the character issue.


was8bit 2020-11-22 17:47

Its magic to me, in that i have no artistic skills... i stick with one cell sized drawings... with my better graphics are copied... my running man animation was stolen from atari football graphics

Also, even though i know now how your code works, i wouldnt have the patience to have written it...

... magic ;)


Alice 2020-11-22 22:13

Thanks...I honestly like text based games...lol.


was8bit 2020-11-23 05:04

My fav was a home made one totally text based, where every key on the keyboard was a command, and you seached the land, inside buildings, etc, and you TOTALLY had to remember everything... you would get feedback as to which direction youmwere facing, your current condition, your current inventory... that was all that was automatic... every other input required a command... you could command your five senses, do other different things (touch, hit, kick, etc, use something, etc) say yell etc, so many things you could do..

.. the wrong actions or series of actions, could cause youn to fail the game, or win the game... you even totally had to figure out how to win the game and what possible goal etc,,,

A friend had it, and one day the computer crashed... in the day of floppy disks this could (and did) forever ruin your game disk, so it got lost forever :( .... or maybe, like reverse tron, the game struck back and terminated itself from its player ;)


Alice 2020-11-23 05:38

...so you’ll like my game...lol. Building the mechanics now and everything is entity based...just add an entity with the data and the game picks it up and handles it. Everything is an entity...including doors, rooms, the player, enemies, consumables, etc. also has entities for events that happen based on criteria. Bit of a project.


Alice 2020-11-23 05:38

...oh...and each key has an action.


was8bit 2020-11-23 07:05

Ooooo... cooool :D


Alice 2020-11-23 07:34

CHARACTERS...only need 86 for all combinations...that leaves 170 characters...minus the text that uses 64...gives you 106 characters for other uses.

That should appease the naysayers...lol.


was8bit 2020-11-23 09:09

Very cool :)


was8bit 2020-11-23 11:04

Excellent!


Log in to reply.