Vadim Grigoruk

Results 248 comments of 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 ``` ![screen17](https://user-images.githubusercontent.com/1101448/166872003-bf8c8af8-1647-4327-8d72-c839ae309ace.gif)

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`.

> 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?

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...