lock palette for UI. add checkbox sprite
This commit is contained in:
		| @@ -16,6 +16,12 @@ function _init() | |||||||
|  -- enable mouse |  -- enable mouse | ||||||
|  poke(0x5f2d, 0x1) |  poke(0x5f2d, 0x1) | ||||||
|   |   | ||||||
|  |  -- lock bottom 16 rows to default palette | ||||||
|  |  pal({[0]=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}, 2) | ||||||
|  |  poke(0x5f5f, 0x10) | ||||||
|  |  poke(0x5f7e, 0xff) | ||||||
|  |  poke(0x5f7f, 0xff) | ||||||
|  |   | ||||||
|  -- reset mouse position |  -- reset mouse position | ||||||
|  last_segment = nil |  last_segment = nil | ||||||
|  segment = nil |  segment = nil | ||||||
| @@ -24,6 +30,9 @@ function _init() | |||||||
|   |   | ||||||
|  -- reset color |  -- reset color | ||||||
|  plane_mask = 0xff |  plane_mask = 0xff | ||||||
|  |   | ||||||
|  |  -- experimental additive palette 1 | ||||||
|  |  pal({[0]=0,136,3,4,1,141,13,5,6,8,139,10,140,14,12,7}, 1) | ||||||
| end | end | ||||||
|  |  | ||||||
| function _update60() | function _update60() | ||||||
| @@ -129,3 +138,11 @@ __gfx__ | |||||||
| 00700700557550005595500055a550005595500055b5500055b5500055b5500055b5500000000000000000000000000000000000000000000000000000000000 | 00700700557550005595500055a550005595500055b5500055b5500055b5500055b5500000000000000000000000000000000000000000000000000000000000 | ||||||
| 000000000057500000595000005a5000005a5000005b5000005b5000005a50000059500000000000000000000000000000000000000000000000000000000000 | 000000000057500000595000005a5000005a5000005b5000005b5000005a50000059500000000000000000000000000000000000000000000000000000000000 | ||||||
| 00000000005500000055000000550000005500000055000000550000005500000055000000000000000000000000000000000000000000000000000000000000 | 00000000005500000055000000550000005500000055000000550000005500000055000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000555555565555555600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165111111600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165117711600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165177771600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165177771600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165117711600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000511111165111111600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|  | 00000000666666666666666600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user