Hello everyone, first let me say I'm sorry for my english and if this question is stupid.
I've been struggling for a long time because one of my for loop doesn't loop at all. I have to say that it's my first time coding with renpy so yes my code may be ugly. Sorry about that.
so here's my code :
The qte_setup is in the attached file. I took this code on a tutorial I found. Although not everything is clear in my head, I don't think that the problem comes from this qte file. Is it a problem because of the renpy.call I use?
Thank for your help in advance.
I've been struggling for a long time because one of my for loop doesn't loop at all. I have to say that it's my first time coding with renpy so yes my code may be ugly. Sorry about that.
so here's my code :
Code:
python:
for i in range(1, 3):
renpy.say(m, "attacks!")
renpy.call("qte_setup", 0.5, 0.5, 0.01, renpy.random.choice(arr_keys), renpy.random.randint(1, 9) * 0.1, renpy.random.randint(1, 9) * 0.1)
if cont == 1:
renpy.say(m, "Hit!")
if(i == 1):
ennemy1.curHP -= h.atk
if(i == 2):
ennemy2.curHP -= h.atk
else:
renpy.say(m, "Miss...")
Thank for your help in advance.