Vadim Grigoruk
Vadim Grigoruk
Another solution is to use `tri()` together with `trib()` ``` lua function _tri(x0,y0,x1,y1,x2,y2,c) tri(x0,y0,x1,y1,x2,y2,c) trib(x0,y0,x1,y1,x2,y2,c) end ``` 
Maybe TIC-80 should be built with `-DBUILD_TOUCH_INPUT=ON` option for the Steam Deck.
It wont work like this scince we added vbank switching. In your example you clear the screen in the `vbank0` and try to get pixel color in `vbank1`.
yes, this would work if you switched to proper vbank
> I made that cart and now it's broken :( Unfortunately, sometimes we have to sacrifice backward compatibility as in this case, sience 1.0 you have to specify which [VBANK](https://github.com/nesbox/TIC-80/wiki/vbank)...
> Also, SCREEN OFFSET works the other way around now @fachi177 Does it work differently in both XY directions or just one?
#1901 duplicate?
May I ask what is your purpose for this?
To be honest, I don't like this idea with version access within script, sorry, this will clutter the cartridge code, and more elegant solutions could be found like you could...
I reproduced it, thanks