-
Notifications
You must be signed in to change notification settings - Fork 1
/
script.rpy
41 lines (29 loc) · 1.01 KB
/
script.rpy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
init:
# Simple black background to show under the stars
define space = Solid((0, 0, 0, 255))
# Create the starfield displayables. Optional keyword arguments can tweak the default display.
$starfield = ProjectionStarfield(star_amount=128, depth=16, perspective=128.0, speed=5)
# Create another with an image used.
image star:
"Star Filled-48.png"
zoom 0.5
#linear 2.0 rotate 360
#repeat
$i_starfield = ProjectionStarfield(star_amount=128, depth=16, perspective=128.0, speed=5, image="star")
# Screens where the displayables are shown
screen starfield:
add space
add starfield
screen starfield_with_image:
add space
add i_starfield
# The game starts here.
label start:
show screen starfield
"Space."
"The final frontier."
"These are the voyages of the starship Enterprise."
hide screen starfield
show screen starfield_with_image
"It's continuing mission, to explore strange new worlds."
return