Result: 2P backdrop is red on the left and cyan on the right #13

Merged
Yonokid merged 2 commits from GanYiZhong/YataiDONNijiiro:result-2p-colors into main 2026-09-09 17:15:10 +02:00
2 changed files with 6 additions and 2 deletions

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 KiB

After

Width:  |  Height:  |  Size: 392 KiB

+6 -2
View File
@@ -61,8 +61,11 @@ function ResultBgLayers.new(player_num)
if self.two_player then
-- The arcade 2P backdrop (main_mc "2p" -> bg_2p, MC 10) is two static sky halves with no
-- clouds and no Fuji, so it stays a single baked plate.
self.t_bg = tex.load_texture("result/background/background_2p")
-- clouds and no Fuji, so it stays a single baked plate: the red half (shape 3, placed
-- mirrored) on the left and the cyan half (shape 1) on the right. The header band is
-- the same one the 1P layers draw, so it is drawn here too instead of being baked in.
self.t_bg = tex.load_texture("result/background/background_2p")
self.t_header = tex.load_texture("result/background/bg_header")
return self
end
@@ -172,6 +175,7 @@ function ResultBgLayers:draw(fade, clear)
if self.two_player then
if self.t_bg then tex.draw_texture(self.t_bg, { fade = fade }) end
if self.t_header then tex.draw_texture(self.t_header, { fade = fade }) end
return
end