-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.go
33 lines (30 loc) · 837 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package main
import (
"github.com/Noofbiz/SpaceCamp/savedata"
"github.com/Noofbiz/SpaceCamp/scenes"
"github.com/EngoEngine/engo"
)
func main() {
savedata.CurrentSave.Load()
title := scenes.TitleScene{}
engo.RegisterScene(&title)
// options scene
// credits scene
engo.RegisterScene(&scenes.NewGameScene{})
engo.RegisterScene(&scenes.ShopScene{})
// pre-takeoff ship scene
engo.RegisterScene(&scenes.TakeOffScene{})
// loss scene
// aftermath ship scene
engo.Run(engo.RunOptions{
Title: "To INFINITY!!!",
Width: 640, //512, //16
Height: 360, //288, //9
ScaleOnResize: true,
FPSLimit: 60,
ApplicationMajorVersion: 0,
ApplicationMinorVersion: 1,
ApplicationRevisionVersion: 0,
// }, &title)
}, &title)
}