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) } }