Sylveon 2024-11-18 20:08
I keep trying to get 2x2 pixel cells with scrolling the backgrounds and it doesn’t work for some reason
nathanielbabiak 2024-11-19 00:52
One of my wolf3d uploads does this. But, and I'll warn you now, pixel graphics in this console are incredibly complicated. You would be well-served to try some background (BG) and sprite graphics first
Sylveon 2024-11-19 01:26
But I want it to be Full Screen :3
Sylveon 2024-11-19 01:27
And all the colors in Lowres NX’s pallets
SP4CEBAR 2024-11-19 10:57
Could you share your code, that would allow us to help you fix the issues you described?
SP4CEBAR 2024-11-19 11:11
You may want to look into data-copying raster effects and the very performant 4x4 pixel cell trick
Sylveon 2024-11-19 13:23 (Edited)
So I definitely know it’s possible :3
was8bit 2024-11-19 14:25
Full screen pixels is not directly possible... also all possible colors at the same time is also not directly possible...
"Lowres" stands for Low Resolution, and the concept is that lowresNx is a simulation of an old styled hand held game player, with limited abilities... therefore, the challenge is to design a game for the virtual player that has these limitations....
You get 254 8x8 graphic blocks, 8 sets of colors where only one set can be used for each one graphic, limited background space, limited sound effects, limited code, and limited data storage
SUBs, TOOLS to directly access data files, and PERSIST memory are very useful ... you also have direct access to the virtual computer settings, TRACE to see variables in real time, MCELL which creates a virtual working background, and soo many more things that are quite fun to use ;)
was8bit 2024-11-19 14:27 (Edited)
There are existing programs that use "tricks" to simulate full screen control at pixel level..... i have experimented with lots of different ways to do things... feel free to look at anything i have posted, and experiment..
https://lowresnx.inutilis.com/topic.php?id=186
https://lowresnx.inutilis.com/topic.php?id=645
https://lowresnx.inutilis.com/topic.php?id=854
https://lowresnx.inutilis.com/topic.php?id=1206
https://lowresnx.inutilis.com/topic.php?id=1073
https://lowresnx.inutilis.com/topic.php?id=1038
https://lowresnx.inutilis.com/topic.php?id=1465
https://lowresnx.inutilis.com/topic.php?id=1715
https://lowresnx.inutilis.com/topic.php?id=1705
https://lowresnx.inutilis.com/topic.php?id=1581
https://lowresnx.inutilis.com/topic.php?id=1893
https://lowresnx.inutilis.com/topic.php?id=2409
https://lowresnx.inutilis.com/topic.php?id=3221
was8bit 2024-11-19 15:22 (Edited)
I have added a limited beginner setup for pixel reading / drawing
https://lowresnx.inutilis.com/topic.php?id=3492
... somewhere i have also used this approach for editing and creating sprite game tiles on the fly, using 2x2 sprites that created game tiles that had 4 different colored numbers in each corner, and then you could move the tiles to match with other tiles...
Each number data was stored as data sets... there is a command that instructs lowres where to get the data by adding a label right above each data set...
was8bit 2024-11-19 15:28
The array lets you read a cell and then you can add code that analyzes the different pixel colors in that cell...
was8bit 2024-11-19 15:33 (Edited)
You can also create a sprite that only uses a 2x2 space in its upper left corner, and it will function as a 2x2 pixel shape...
There is then a "trick" of copying all surrounding cells into sprites, and use those sprites to check for contact with your small sprite, then removing the test sprites once have checked for contact with them
Sylveon 2024-11-19 15:47
Ok I’ll try that :3
Sylveon 2024-11-19 15:48
Thank you (I’m trying to make a 3d object viewer) :3
Sylveon 2024-11-19 21:29
So how does that program that I uploaded work?
SP4CEBAR 2024-11-20 10:23
Last year, a few of us made some Utah teapot renderers:
We decided to render them as point clouds as they look orderly on our low-resolution console.
SP4CEBAR 2024-11-20 10:44 (Edited)
The program you uploaded uses raster effects. ON RASTER CALL RAST
calls the RAST
subprogram for all 128 raster lines of the screen from top to bottom for every frame drawn. This allows the graphics to be modified for each line right before they are shown, which is commonly used to circumvent NX's graphics limitations. There's one catch: it costs performance (up to about 40% CPU), and you only get a limited number of cycles (slightly more than 40) per raster call, if the subprogram exceeds this, the raster will be drawn as a black line.
SP4CEBAR 2024-11-20 10:47
Also, ChatGPT knows NX quite well by now, so you could also learn from there
Sylveon 2024-11-20 21:05
Cool :3