Tic-80: Scanline position for border and screen not aligned

Created on 10 Aug 2017  路  2Comments  路  Source: nesbox/TIC-80

When you use scanline to change palette for border and screen part, positions are not aligned. Border is stretched vertically.

image

cartridge: https://tic.computer/play?cart=167
uncomment line 14

(saving cover fails too for this code)

bug

Most helpful comment

I removed border texture, so, now TIC renders screen and border to one texture

bars

fixed it here a4826af

closing

All 2 comments

yes, this is how it works
screen and border have two independent textures with the same height 136px
screen always keeps 240:136 aspect ratio, when the border stretches depending on the window size

I removed border texture, so, now TIC renders screen and border to one texture

bars

fixed it here a4826af

closing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BuoYancYdabl picture BuoYancYdabl  路  5Comments

BraininaBowl picture BraininaBowl  路  3Comments

ambyra picture ambyra  路  3Comments

frsgrn picture frsgrn  路  5Comments

novemberisms picture novemberisms  路  5Comments