New title backdrop.
This commit is contained in:
@@ -64,13 +64,14 @@ func (s *StartScreen) Update() error {
|
||||
|
||||
func (s *StartScreen) Draw(screen *ebiten.Image) {
|
||||
screen.Clear()
|
||||
text.Draw(screen, "survive", fonts.SurviveFont.ArcadeLarge, int(s.current.X), int(s.current.Y), color.White)
|
||||
screen.DrawImage(assets.ImageBank[assets.Title], nil)
|
||||
text.Draw(screen, "survive", fonts.SurviveFont.ArcadeLarge, int(s.current.X), int(s.current.Y), color.Black)
|
||||
|
||||
if s.targetreached {
|
||||
text.Draw(screen, "press start", fonts.SurviveFont.Arcade, 640/2-25, 300, color.White)
|
||||
if s.targetreached && (s.cycle/16)%4 < 2 {
|
||||
text.Draw(screen, "press start", fonts.SurviveFont.Arcade, 640/2-25, 300, color.Black)
|
||||
}
|
||||
|
||||
text.Draw(screen, "©bsoft games", fonts.SurviveFont.ArcadeSmall, 640/2+25, 180, color.White)
|
||||
text.Draw(screen, "©bsoft games", fonts.SurviveFont.ArcadeSmall, 640/2+25, 180, color.Black)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user