Rishav Sharan
06/09/2020, 8:00 AMNico
06/09/2020, 10:00 AMDeactivated User
06/09/2020, 10:03 AMRishav Sharan
06/09/2020, 11:24 AMobject MyModule : Module() {
// define the opening scene
override val mainScene: KClass<out Scene> = MenuScene::class
// define the game configs
override val title: String = "My Test Game"
override val icon: String = "icon.png"
// override val size: SizeInt = SizeInt(800, 600)
override val fullscreen: Boolean = true
and
class MenuScene() : Scene() {
suspend override fun Container.sceneInit() {
// set a background color
views.clearColor = Colors.BLACK
views.gameWindow.fullscreen = true
let me know if I am doing something wrong. Else I will add in a bug in GHNico
06/09/2020, 12:22 PMDeactivated User
06/09/2020, 12:24 PMRishav Sharan
06/09/2020, 12:27 PMNico
06/09/2020, 12:28 PMDeactivated User
06/09/2020, 3:02 PM