Code: Select all
image bg_cockpit = "bg_cockpit.png"
define i = Character('Instructor', color="#64F0F0")
init python:
class myDisplay(renpy.Displayable):
def __init__(self, **kwargs):
renpy.Displayable.__init__(self, **kwargs)
def render(self, width, height, st, at):
render = renpy.Render(400, 400)
canvas = render.canvas()
canvas.line("64F0F0", (339, 0), (339, 366), 3)
canvas.line("64F0F0", (1, 0), (1, 366), 3)
return render
screen hud:
add myDisplay():
xalign 0.5
yalign 0.5
# The game starts here.
label start:
show bg_cockpit:
zoom 1.0 xalign 0.5 yalign 0.5
i "Ok, lets ease to the left"
show bg_cockpit:
ease 3.0 rotate 25 xalign 0.4 yalign 0.2 zoom 1.5
show screen hud:
ease 3.0 rotate 20
i "Good, now lets level off a bit..."
return
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game\script.rpy", line 34: Line is indented, but the preceding show screen statement statement does not expect a block. Please check this line's indentation.
ease 3.0 rotate 20
^
Ren'Py Version: Ren'Py 6.14.1.366