コード例 #1
0
def init():
    if not settings.noaudio:
        buttons.append(Button((40, 40, 220, 70), "Play sound"))
        media.getsound("sound")


#	buttons.append(Button((40, 120, 220, 70), "Play video"))
    buttons.append(Button((40, 120, 220, 70), "Toggle fullscreen"))
コード例 #2
0
ファイル: play.py プロジェクト: cosmologicon/pyjam
def init():
	if not settings.noaudio:
		buttons.append(Button((40, 40, 220, 70), "Play sound"))
		media.getsound("sound")
#	buttons.append(Button((40, 120, 220, 70), "Play video"))
	buttons.append(Button((40, 120, 220, 70), "Toggle fullscreen"))
コード例 #3
0
def init():
    buttons.append(Button((40, 40, 220, 70), "Play sound"))
    #	buttons.append(Button((40, 120, 220, 70), "Play video"))
    buttons.append(Button((40, 120, 220, 70), "Toggle fullscreen"))
    media.getsound("sound")
コード例 #4
0
ファイル: play.py プロジェクト: mrjocantaro/pyjam
def init():
	buttons.append(Button((40, 40, 220, 70), "Play sound"))
#	buttons.append(Button((40, 120, 220, 70), "Play video"))
	buttons.append(Button((40, 120, 220, 70), "Toggle fullscreen"))
	media.getsound("sound")