summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-18 01:45:43 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-18 01:45:43 -0300
commit6966b0d86534654c010b32745c79d4fa02822fea (patch)
tree99fc3265305b6db5fb3fc302ddbb2c30b5fcf579 /game
parentfea0397c7aa82d28d2609882108efa72115e3c61 (diff)
downloadclient-6966b0d86534654c010b32745c79d4fa02822fea.tar.gz
client-6966b0d86534654c010b32745c79d4fa02822fea.tar.bz2
client-6966b0d86534654c010b32745c79d4fa02822fea.tar.xz
client-6966b0d86534654c010b32745c79d4fa02822fea.zip
Import Timer (might need edits).
Restore spinner
Diffstat (limited to 'game')
-rw-r--r--game/01_init.rpy1
-rw-r--r--game/misc.rpy27
2 files changed, 22 insertions, 6 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy
index ae80f11..ea71f99 100644
--- a/game/01_init.rpy
+++ b/game/01_init.rpy
@@ -21,6 +21,7 @@
init -3 python:
renpy.add_python_directory("python-extra")
import requests, zlib, base64, sys, copy, uuid, time, json, traceback
+ from threading import Timer
from ws4py.client.threadedclient import WebSocketClient
# set PYTHON_VERSION variable (should be 2713, 3605 could fail)
diff --git a/game/misc.rpy b/game/misc.rpy
index ec504da..f436d2a 100644
--- a/game/misc.rpy
+++ b/game/misc.rpy
@@ -234,10 +234,7 @@ label clear_cache:
$renpy.full_restart()
jump start
-image spinner = "gfx/spinner.png"
-
-init 5 python:
- """
+image spinner:
"gfx/spinner.png"
rotate 30.0
pause 0.05
@@ -275,6 +272,24 @@ init 5 python:
#rotate 360.0
pause 0.05
repeat
- """
- pass
+
+########################################################################################
+# This file is part of Spheres.
+# Copyright (C) 2019 Jesusalva
+
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+########################################################################################
+# Player data displays