Code: Select all
define KO = Character ("KO_001")
default HLSW = 0,75
screen HLSW_screen():
frame:
align(1.0, 0.0)
text "HLSW: [HLSW]"
# FIRST LABEL
label start:
show screen HLSW_screen()
"HLSW"
$ HLSW = 0,75
scene bgblack
show ximage
"{size=+20}{b}Team TEXTOOOOO{/b}{/size}"
jump test_1
label test_1:
GSS "TEST 1"
jump test_2
label test_2:
GSS "TEST 2"
menu:
"TEST 1":
jump test_1
"FIRST TOURNAMENT":
jump first_tournament
"FIRST TOURNAMENT 2":
if HLSW < (0,10):
jump first_tournament
elif $ HLSW > (3,0):
return
else:
$ HLSW += 0,50
jump test_2
"FIRST TOURNAMENT 3":
$ HLSW += 1,0
jump test_2
"MENO TEST":
$ HLSW -= 0,25
jump test_2
Code: Select all
Code: Select all
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 51, in script
if HLSW < (0,10):
SyntaxError: invalid syntax (game/script.rpy, line 53)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 51, in script
if HLSW < (0,10):
File "C:\Users\Sabrin\Desktop\bad\renpy-7.1.3-sdk\renpy\ast.py", line 1762, in execute
if renpy.python.py_eval(condition):
File "C:\Users\Sabrin\Desktop\bad\renpy-7.1.3-sdk\renpy\python.py", line 1942, in py_eval
code = py_compile(code, 'eval')
File "C:\Users\Sabrin\Desktop\bad\renpy-7.1.3-sdk\renpy\python.py", line 674, in py_compile
raise e
SyntaxError: invalid syntax (game/script.rpy, line 53)
Windows-8-6.2.9200
Ren'Py 7.1.3.1092
THE TOURNAMENT TEST VERSION
Fri Dec 28 16:31:28 2018
Thanks to everyone