mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 09:52:03 +01:00
Change the background color
This commit is contained in:
parent
2ea00ec8a9
commit
894dd71d35
@ -129,7 +129,7 @@ func (game *Game) Draw(g graphics.Canvas) {
|
|||||||
|
|
||||||
whole := game.drawInfo.renderTargets["whole"]
|
whole := game.drawInfo.renderTargets["whole"]
|
||||||
g.SetOffscreen(whole)
|
g.SetOffscreen(whole)
|
||||||
g.Fill(0x40, 0x60, 0xb0)
|
g.Fill(0x70, 0x90, 0xe0)
|
||||||
game.drawTexture(g, game.drawInfo.textureGeo, matrix.IdentityColor())
|
game.drawTexture(g, game.drawInfo.textureGeo, matrix.IdentityColor())
|
||||||
game.drawText(g, game.drawInfo.inputStr, 6, 6, &color.RGBA{0x0, 0x0, 0x0, 0x80})
|
game.drawText(g, game.drawInfo.inputStr, 6, 6, &color.RGBA{0x0, 0x0, 0x0, 0x80})
|
||||||
game.drawText(g, game.drawInfo.inputStr, 5, 5, color.White)
|
game.drawText(g, game.drawInfo.inputStr, 5, 5, color.White)
|
||||||
|
Loading…
Reference in New Issue
Block a user