Exemplo n.º 1
0
func (self *Stage1) Initialize() {
	peer.LogDebug("[IN]")

	peer.SetDesiredScreenSize(1080/2, 1920/2)
	peer.GetTouchPeer().AddTouchListener(self)

	// initialize sprites
	self.initSprite()

	peer.LogDebug("[OUT]")
}
Exemplo n.º 2
0
func (self *Title) Initialize() {
	peer.LogDebug("[IN]")

	peer.SetDesiredScreenSize(960, 540)
	peer.GetTouchPeer().AddTouchListener(self)

	// initialize sprites
	self.initialize()

	peer.LogDebug("[OUT]")
}