diff --git a/game_objects/pong_constants.py b/game_objects/pong_constants.py index c86ac89..162ad51 100644 --- a/game_objects/pong_constants.py +++ b/game_objects/pong_constants.py @@ -7,7 +7,7 @@ Pandemic Pong global constants """ -DEVLOCAL = True # TODO: For client/server local development set to 'True'! For publication to 'False'! +DEVLOCAL = False # TODO: For client/server local development set to 'True'! For publication to 'False'! """Buttons in 'state'""" BTN_STATE_NONE = 0 # No Button pressed ... diff --git a/game_objects/pong_viewer.py b/game_objects/pong_viewer.py index 22be48c..0c38f08 100644 --- a/game_objects/pong_viewer.py +++ b/game_objects/pong_viewer.py @@ -15,6 +15,8 @@ from PyQt5.QtWidgets import * from PyQt5.QtCore import Qt, QTimer, pyqtSlot from PyQt5.QtGui import QPainter, QBrush, QPen, QFont, QFontMetrics +from playsound import playsound + import game_objects.pong_constants as pgc # Pong global constants import game_objects.pong_globalvars as pgv # Pong global variables from game_objects.pong_player import PongPlayer diff --git a/pandemic_pong.py b/pandemic_pong.py index 621a3b8..b01d587 100755 --- a/pandemic_pong.py +++ b/pandemic_pong.py @@ -32,9 +32,8 @@ if __name__ == '__main__': pgv.bIsLocal = True # by default player_index = 0 # Illegal, local player_server = "" - if pgc.DEVLOCAL == True: - debug_x = 0 # Debug window positions - debug_y = 0 + debug_x = 0 # Debug window positions + debug_y = 0 sMsg = "usage: ./pandemic_pong.py --[--sizeable|fullscreen] --[server | [viewer | player <1|2>] ]" if len(sys.argv) > 1: if sys.argv[1] == "--sizeable": # else=default=fullscreen assumed ...