Code: Select all
label start:
scene puzzles
image whole = "puzzleone.jpg"
python:
coorlistx = [200, 320, 440, 560]
coorlisty = [110, 317, 524]
piecelist = [[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]
for i in range(12):
x = renpy.random.randint(0, 200) + 200
y = renpy.random.randint(0, 480) + 600
piecelist[i] = [x,y]
movedpiece = 0
movedplace = [0, 0]
jump puzzle
label win:
scene puzzles
show whole
"you win"
menu:
"Play again?"
"yes":
jump start
"no":
return
The problem is that the image appears at them bottom of the screen. I wanted it to show at an specific position.
I tried instead of show "image whole", showing the image "puzzle". And it gave me the infinite loop error.
So what would be the correct form of defining the position for the image to appear? It keeps giving me error messages
I need it to show up at an speficic place "pos (_,_)", because of the background image.
Thanks.