From 12eccc3faee510357937899c0cfaba54b287cb5d Mon Sep 17 00:00:00 2001 From: Tracreed Date: Sat, 23 Dec 2017 22:25:41 +0100 Subject: [PATCH] did stuff --- ebiten/vn/main.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ebiten/vn/main.go b/ebiten/vn/main.go index 86cee4d..5f08489 100644 --- a/ebiten/vn/main.go +++ b/ebiten/vn/main.go @@ -44,12 +44,12 @@ var ( s = character{`Sylvie`, color.RGBA{200, 255, 200, 255}} d = character{``, color.RGBA{0, 255, 0, 0}} messages = []dialogue{ - {d, `playSong ../../Resources/Hisoku.mp3`}, + {d, `playSong ../../resources/Hisoku.mp3`}, {s, `Hi there! How was class?`}, {m, `Good...`}, - {d, `I can't bring myself to admit that it all went in one ear and out the other.`}, + {d, "I can't bring myself to admit that it all\n went in one ear and out the other."}, {s, `Are you going home now? Wanna walk back with me?`}, - {d, `playSong ../../Resources/Departures.mp3`}, + {d, `playSong ../../resources/Departures.mp3`}, {m, `Sure!`}, } mplusNormalFont font.Face @@ -81,7 +81,7 @@ func playSong(path string) { func init() { - f, err := ebitenutil.OpenFile("../../Resources/mplus-1p-regular.ttf") + f, err := ebitenutil.OpenFile("../../resources/mplus-1p-regular.ttf") check(err) defer f.Close() @@ -145,9 +145,9 @@ func update(screen *ebiten.Image) error { func main() { var err error - bg, _, err = ebitenutil.NewImageFromFile("../../Resources/bg.jpg", ebiten.FilterNearest) + bg, _, err = ebitenutil.NewImageFromFile("../../resources/bg.jpg", ebiten.FilterNearest) check(err) - if err := ebiten.Run(update, screenWidth, screenHeight, 1, "Font (Ebiten Demo)"); err != nil { + if err := ebiten.Run(update, screenWidth, screenHeight, 1, "Visual novel (Testing ebiten)"); err != nil { log.Fatal(err) } }