@Vile, you can very well make a game using either ui or scene module, hide extra bars etc. To me ui module works better, but scene does have more game-like mechanics (e.g. better out-of-the-box support for animations).
As an example of combining the two worlds:
import scene
import ui
import sound
class MyScene (scene.Scene):
def setup(self):
self.ship = scene.SpriteNode('spc:PlayerShip1Orange')
self.ship.position = self.size / 2
self.add_child(self.ship)
btn = ui.Button(
title='Make sound',
tint_color='white',
background_color='blue',
action=self.make_sound
)
frm = btn.frame
bnds = self.view.bounds
btn.frame = frm.inset(-8,-8)
btn.frame = (
bnds.width - btn.width - 8,
bnds.height - btn.height - 8,
btn.width,
btn.height
)
btn.flex = 'RTBL'
self.view.add_subview(btn)
def make_sound(self, sender):
sound.play_effect('arcade:Laser_1')
scene.run(MyScene())