/usr/share/doc/renpy/html/thequestion.html is in renpy-doc 6.17.6-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Script of The Question — Ren'Py Documentation</title>
<link rel="stylesheet" href="_static/screen.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" media="print" />
<!--[if lt IE 8]>
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" media="screen, projection"/>
<![endif]-->
<link rel="stylesheet" href="_static/renpydoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '6.18.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Ren'Py Documentation" href="index.html" />
<link rel="next" title="NVL-mode script for The Question" href="thequestion_nvl.html" />
<link rel="prev" title="Documentation and Translation Credits" href="credits.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="thequestion_nvl.html" title="NVL-mode script for The Question"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="credits.html" title="Documentation and Translation Credits"
accesskey="P">previous</a> |</li>
<li> <img src="_static/logo.png" width=19 height=21 align=center>
<li> <a href="http://www.renpy.org/">Ren'Py Home</a> |
<li><a href="index.html">Ren'Py Documentation</a></li>
</ul>
</div>
<div class="container">
<div class="span4">
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Script of The Question</a><ul>
<li><a class="reference internal" href="#script-rpy">script.rpy</a></li>
<li><a class="reference internal" href="#options-rpy">options.rpy</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="credits.html"
title="previous chapter">Documentation and Translation Credits</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="thequestion_nvl.html"
title="next chapter">NVL-mode script for The Question</a></p>
<h4>Search</h4>
<div id="cse-search-form" style="width: 100%;"></div>
<div class="copydata">
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
<br>
</div>
</div>
</div>
</div>
<div class="document span20 last">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="script-of-the-question">
<span id="thequestion"></span><h1>Script of The Question<a class="headerlink" href="#script-of-the-question" title="Permalink to this headline">¶</a></h1>
<p>The script is divided over two files.</p>
<ul class="simple">
<li><a class="reference internal" href="#script-rpy">script.rpy</a> contains the main body of the game.</li>
<li><a class="reference internal" href="#options-rpy">options.rpy</a> contains options which customize the display of parts
of the game.</li>
</ul>
<div class="section" id="script-rpy">
<h2>script.rpy<a class="headerlink" href="#script-rpy" title="Permalink to this headline">¶</a></h2>
<div class="highlight-renpy"><div class="highlight"><pre><span class="c"># Declare images used by this game.</span>
<span class="k">image</span> <span class="n">bg</span> <span class="n">lecturehall</span> <span class="o">=</span> <span class="s">"lecturehall.jpg"</span>
<span class="k">image</span> <span class="n">bg</span> <span class="n">uni</span> <span class="o">=</span> <span class="s">"uni.jpg"</span>
<span class="k">image</span> <span class="n">bg</span> <span class="n">meadow</span> <span class="o">=</span> <span class="s">"meadow.jpg"</span>
<span class="k">image</span> <span class="n">bg</span> <span class="n">club</span> <span class="o">=</span> <span class="s">"club.jpg"</span>
<span class="k">image</span> <span class="n">sylvie</span> <span class="n">normal</span> <span class="o">=</span> <span class="s">"sylvie_normal.png"</span>
<span class="k">image</span> <span class="n">sylvie</span> <span class="n">giggle</span> <span class="o">=</span> <span class="s">"sylvie_giggle.png"</span>
<span class="k">image</span> <span class="n">sylvie</span> <span class="n">smile</span> <span class="o">=</span> <span class="s">"sylvie_smile.png"</span>
<span class="k">image</span> <span class="n">sylvie</span> <span class="n">surprised</span> <span class="o">=</span> <span class="s">"sylvie_surprised.png"</span>
<span class="k">image</span> <span class="n">sylvie2</span> <span class="n">normal</span> <span class="o">=</span> <span class="s">"sylvie2_normal.png"</span>
<span class="k">image</span> <span class="n">sylvie2</span> <span class="n">giggle</span> <span class="o">=</span> <span class="s">"sylvie2_giggle.png"</span>
<span class="k">image</span> <span class="n">sylvie2</span> <span class="n">smile</span> <span class="o">=</span> <span class="s">"sylvie2_smile.png"</span>
<span class="k">image</span> <span class="n">sylvie2</span> <span class="n">surprised</span> <span class="o">=</span> <span class="s">"sylvie2_surprised.png"</span>
<span class="c"># Define characters used by this game.</span>
<span class="k">define</span> <span class="n">s</span> <span class="o">=</span> <span class="n">Character</span><span class="p">(</span><span class="s">'Sylvie'</span><span class="p">,</span> <span class="na">color</span><span class="o">=</span><span class="s">"#c8ffc8"</span><span class="p">)</span>
<span class="k">define</span> <span class="n">m</span> <span class="o">=</span> <span class="n">Character</span><span class="p">(</span><span class="s">'Me'</span><span class="p">,</span> <span class="na">color</span><span class="o">=</span><span class="s">"#c8c8ff"</span><span class="p">)</span>
<span class="c"># The game starts here.</span>
<span class="k">label</span> <span class="n">start</span><span class="p">:</span>
<span class="k">$</span> <span class="n">bl_game</span> <span class="o">=</span> <span class="bp">False</span>
<span class="k">play</span> <span class="n">music</span> <span class="s">"illurock.ogg"</span>
<span class="k">scene</span> <span class="n">bg</span> <span class="n">lecturehall</span>
<span class="k">with</span> <span class="n">fade</span>
<span class="s">"Well, professor Eileen's lecture was interesting."</span>
<span class="s">"But to be honest, I couldn't concentrate on it very much."</span>
<span class="s">"I had a lot of other thoughts on my mind."</span>
<span class="s">"And they all ended up with a question."</span>
<span class="s">"A question, I've been meaning to ask someone."</span>
<span class="k">scene</span> <span class="n">bg</span> <span class="n">uni</span>
<span class="k">with</span> <span class="n">fade</span>
<span class="s">"When we came out of the university, I saw her."</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">normal</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"She was a wonderful person."</span>
<span class="s">"I've known her ever since we were children."</span>
<span class="s">"And she's always been a good friend."</span>
<span class="s">"But..."</span>
<span class="s">"Recently..."</span>
<span class="s">"I think..."</span>
<span class="s">"... that I wanted more."</span>
<span class="s">"More just talking... more than just walking home together when our classes ended."</span>
<span class="s">"And I decided..."</span>
<span class="k">menu</span><span class="p">:</span>
<span class="s">"... to ask her right away."</span><span class="p">:</span>
<span class="k">jump</span> <span class="n">rightaway</span>
<span class="s">"... to ask her later."</span><span class="p">:</span>
<span class="k">jump</span> <span class="n">later</span>
<span class="k">label</span> <span class="n">rightaway</span><span class="p">:</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">smile</span>
<span class="n">s</span> <span class="s">"Oh, hi, do we walk home together?"</span>
<span class="n">m</span> <span class="s">"Yes..."</span>
<span class="s">"I said and my voice was already shaking."</span>
<span class="k">scene</span> <span class="n">bg</span> <span class="n">meadow</span>
<span class="k">with</span> <span class="n">fade</span>
<span class="s">"We reached the meadows just outside our hometown."</span>
<span class="s">"Autumn was so beautiful here."</span>
<span class="s">"When we were children, we often played here."</span>
<span class="n">m</span> <span class="s">"Hey... ummm..."</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">smile</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"She turned to me and smiled."</span>
<span class="s">"I'll ask her..."</span>
<span class="n">m</span> <span class="s">"Ummm... will you..."</span>
<span class="n">m</span> <span class="s">"Will you be my artist for a visual novel?"</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">surprised</span>
<span class="s">"Silence."</span>
<span class="s">"She is shocked. And then..."</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">smile</span>
<span class="n">s</span> <span class="s">"Sure, but what is a </span><span class="se">\"</span><span class="s">visual novel?</span><span class="se">\"</span><span class="s">"</span>
<span class="k">menu</span><span class="p">:</span>
<span class="s">"It's a story with pictures."</span><span class="p">:</span>
<span class="k">jump</span> <span class="n">vn</span>
<span class="s">"It's a hentai game."</span><span class="p">:</span>
<span class="k">jump</span> <span class="n">hentai</span>
<span class="k">label</span> <span class="n">vn</span><span class="p">:</span>
<span class="n">m</span> <span class="s">"It's a story with pictures and music."</span>
<span class="n">m</span> <span class="s">"And you'll be able to make choices that influence the outcome of the story."</span>
<span class="n">s</span> <span class="s">"So it's like those choose-your-adventure books?"</span>
<span class="n">m</span> <span class="s">"Exactly! I plan on making a small romantic story."</span>
<span class="n">m</span> <span class="s">"And I figured you could help me... since I know how you like to draw."</span>
<span class="k">show</span> <span class="n">sylvie</span> <span class="n">normal</span>
<span class="n">s</span> <span class="s">"Well, I can try. I hope I don't disappoint you."</span>
<span class="n">m</span> <span class="s">"You can't disappoint me, you know that."</span>
<span class="k">jump</span> <span class="n">marry</span>
<span class="k">label</span> <span class="n">hentai</span><span class="p">:</span>
<span class="k">$</span> <span class="n">bl_game</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">m</span> <span class="s">"Why it's a game with lots of sex."</span>
<span class="n">s</span> <span class="s">"You mean, like a boy's love game?"</span>
<span class="n">s</span> <span class="s">"I've always wanted to make one of those."</span>
<span class="n">s</span> <span class="s">"I'll get right on it!"</span>
<span class="k">hide</span> <span class="n">sylvie</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"..."</span>
<span class="n">m</span> <span class="s">"That wasn't what I meant!"</span>
<span class="k">jump</span> <span class="n">marry</span>
<span class="k">label</span> <span class="n">marry</span><span class="p">:</span>
<span class="k">scene</span> <span class="n">black</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"--- years later ---"</span>
<span class="k">scene</span> <span class="n">bg</span> <span class="n">club</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"And so, we became a visual novel creating team."</span>
<span class="s">"We made games and had a lot of fun making them."</span>
<span class="k">if</span> <span class="n">bl_game</span><span class="p">:</span>
<span class="s">"Well, apart from that Boy's Love game she insisted on making."</span>
<span class="s">"And one day..."</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">normal</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="n">s</span> <span class="s">"Hey..."</span>
<span class="n">m</span> <span class="s">"Yes?"</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">giggle</span>
<span class="n">s</span> <span class="s">"Marry me!"</span>
<span class="n">m</span> <span class="s">"What???"</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">surprised</span>
<span class="n">s</span> <span class="s">"Well, don't you love me?"</span>
<span class="n">m</span> <span class="s">"I do, actually."</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">smile</span>
<span class="n">s</span> <span class="s">"See? We've been making romantic visual novels, spending time together, helping each other...."</span>
<span class="n">s</span> <span class="s">"... and when you give love to others, love will come to you."</span>
<span class="n">m</span> <span class="s">"Hmmm, that's a nice thought."</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">giggle</span>
<span class="n">s</span> <span class="s">"I just made that up."</span>
<span class="n">m</span> <span class="s">"But it's good."</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">normal</span>
<span class="n">s</span> <span class="s">"I know. So, will you marry me?"</span>
<span class="n">m</span> <span class="s">"Ummm, of course I will. I've actually been meaning to ask you, but since you brought it up..."</span>
<span class="n">s</span> <span class="s">"I know, but you are so indecisive, that I thought I'd take the initiative. "</span>
<span class="n">m</span> <span class="s">"I guess... It's all all about asking the right question... at the right time."</span>
<span class="k">show</span> <span class="n">sylvie2</span> <span class="n">giggle</span>
<span class="n">s</span> <span class="s">"It is. But now, stop being theoretical, and give me a kiss!"</span>
<span class="k">scene</span> <span class="n">black</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"And we got married shortly after that."</span>
<span class="s">"In fact, we made many more visual novels."</span>
<span class="s">"And together, we lived happily ever after."</span>
<span class="s">".:. Good Ending."</span>
<span class="k">return</span>
<span class="k">label</span> <span class="n">later</span><span class="p">:</span>
<span class="k">scene</span> <span class="n">black</span>
<span class="k">with</span> <span class="n">dissolve</span>
<span class="s">"And so I decided to ask her later."</span>
<span class="s">"But I was indecisive."</span>
<span class="s">"I couldn't ask her that day, and I couldn't ask her later."</span>
<span class="s">"I guess I will never know now."</span>
<span class="s">".:. Bad Ending."</span>
<span class="k">return</span>
</pre></div>
</div>
</div>
<div class="section" id="options-rpy">
<h2>options.rpy<a class="headerlink" href="#options-rpy" title="Permalink to this headline">¶</a></h2>
<div class="highlight-renpy"><div class="highlight"><pre><span class="c">## This file contains some of the options that can be changed to customize</span>
<span class="c">## your Ren'Py game. It only contains the most common options... there</span>
<span class="c">## is quite a bit more customization you can do.</span>
<span class="c">##</span>
<span class="c">## Lines beginning with two '#' marks are comments, and you shouldn't</span>
<span class="c">## uncomment them. Lines beginning with a single '#' mark are</span>
<span class="c">## commented-out code, and you may want to uncomment them when</span>
<span class="c">## appropriate.</span>
<span class="k">init</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span>
<span class="k">python</span> <span class="k">hide</span><span class="p">:</span>
<span class="c">## Should we enable the use of developer tools? This should be</span>
<span class="c">## set to False before the game is released, so the user can't</span>
<span class="c">## cheat using developer tools.</span>
<span class="n">config</span><span class="o">.</span><span class="n">developer</span> <span class="o">=</span> <span class="bp">True</span>
<span class="c">## These control the width and height of the screen.</span>
<span class="n">config</span><span class="o">.</span><span class="n">screen_width</span> <span class="o">=</span> <span class="mi">800</span>
<span class="n">config</span><span class="o">.</span><span class="n">screen_height</span> <span class="o">=</span> <span class="mi">600</span>
<span class="c">## This controls the title of the window, when Ren'Py is</span>
<span class="c">## running in a window.</span>
<span class="n">config</span><span class="o">.</span><span class="n">window_title</span> <span class="o">=</span> <span class="s">u"The Question"</span>
<span class="c">## We then want to call a theme function. themes.roundrect is</span>
<span class="c">## a theme that features the use of rounded rectangles. It's</span>
<span class="c">## the only theme we currently support.</span>
<span class="c">##</span>
<span class="c">## The theme function takes a number of parameters that can</span>
<span class="c">## customize the color scheme.</span>
<span class="n">theme</span><span class="o">.</span><span class="n">roundrect</span><span class="p">(</span>
<span class="c">## The color of an idle widget face.</span>
<span class="n">widget</span> <span class="o">=</span> <span class="s">"#F8AD00"</span><span class="p">,</span>
<span class="c">## The color of a focused widget face.</span>
<span class="n">widget_hover</span> <span class="o">=</span> <span class="s">"#E97F00"</span><span class="p">,</span>
<span class="c">## The color of the text in a widget.</span>
<span class="n">widget_text</span> <span class="o">=</span> <span class="s">"#581A00"</span><span class="p">,</span>
<span class="c">## The color of the text in a selected widget. (For</span>
<span class="c">## example, the current value of a preference.)</span>
<span class="n">widget_selected</span> <span class="o">=</span> <span class="s">"#58A1FF"</span><span class="p">,</span>
<span class="c">## The color of a disabled widget face.</span>
<span class="n">disabled</span> <span class="o">=</span> <span class="s">"#404040"</span><span class="p">,</span>
<span class="c">## The color of disabled widget text.</span>
<span class="n">disabled_text</span> <span class="o">=</span> <span class="s">"#FFC89A"</span><span class="p">,</span>
<span class="c">## The color of informational labels.</span>
<span class="k">label</span> <span class="o">=</span> <span class="s">"#ffffff"</span><span class="p">,</span>
<span class="c">## The color of a frame containing widgets.</span>
<span class="k">frame</span> <span class="o">=</span> <span class="s">"#95850F"</span><span class="p">,</span>
<span class="c">## If this is True, in-game menus are placed in the center</span>
<span class="c">## the screen. If False, they are placed inside a window</span>
<span class="c">## at the bottom of the screen.</span>
<span class="n">button_menu</span> <span class="o">=</span> <span class="bp">True</span><span class="p">,</span>
<span class="c">## The background of the main menu. This can be a color</span>
<span class="c">## beginning with '#', or an image filename. The latter</span>
<span class="c">## should take up the full height and width of the screen.</span>
<span class="n">mm_root</span> <span class="o">=</span> <span class="s">"menu.jpg"</span><span class="p">,</span>
<span class="c">## The background of the game menu. This can be a color</span>
<span class="c">## beginning with '#', or an image filename. The latter</span>
<span class="c">## should take up the full height and width of the screen.</span>
<span class="n">gm_root</span> <span class="o">=</span> <span class="s">"menu2.jpg"</span><span class="p">,</span>
<span class="c">## And we're done with the theme. The theme will customize</span>
<span class="c">## various styles, so if we want to change them, we should</span>
<span class="c">## do so below.</span>
<span class="p">)</span>
<span class="c">## These settings let you customize the window containing the</span>
<span class="c">## dialogue and narration, by replacing it with an image.</span>
<span class="c">## The background of the window. In a Frame, the two numbers</span>
<span class="c">## are the size of the left/right and top/bottom borders,</span>
<span class="c">## respectively.</span>
<span class="c"># style.window.background = Frame("frame.png", 12, 12)</span>
<span class="c">## Margin is space surrounding the window, where the background</span>
<span class="c">## is not drawn.</span>
<span class="c"># style.window.left_margin = 6</span>
<span class="c"># style.window.right_margin = 6</span>
<span class="c"># style.window.top_margin = 6</span>
<span class="c"># style.window.bottom_margin = 6</span>
<span class="c">## Padding is space inside the window, where the background is</span>
<span class="c">## drawn.</span>
<span class="c"># style.window.left_padding = 6</span>
<span class="c"># style.window.right_padding = 6</span>
<span class="c"># style.window.top_padding = 6</span>
<span class="c"># style.window.bottom_padding = 6</span>
<span class="c">## This is the minimum height of the window, including the margins</span>
<span class="c">## and padding.</span>
<span class="c"># style.window.yminimum = 250</span>
<span class="c">## This lets you change the placement of the main menu.</span>
<span class="c">## The way placement works is that we find an anchor point</span>
<span class="c">## inside a displayable, and a position (pos) point on the</span>
<span class="c">## screen. We then place the displayable so the two points are</span>
<span class="c">## at the same place.</span>
<span class="c">## An anchor/pos can be given as an integer or a floating point</span>
<span class="c">## number. If an integer, the number is interpreted as a number</span>
<span class="c">## of pixels from the upper-left corner. If a floating point,</span>
<span class="c">## the number is interpreted as a fraction of the size of the</span>
<span class="c">## displayable or screen.</span>
<span class="c"># style.mm_menu_frame.xpos = 0.5</span>
<span class="c"># style.mm_menu_frame.xanchor = 0.5</span>
<span class="c"># style.mm_menu_frame.ypos = 0.75</span>
<span class="c"># style.mm_menu_frame.yanchor = 0.5</span>
<span class="c">## These let you customize the default font used for text in Ren'Py.</span>
<span class="c">## The file containing the default font.</span>
<span class="c"># style.default.font = "DejaVuSans.ttf"</span>
<span class="c">## The default size of text.</span>
<span class="c"># style.default.size = 22</span>
<span class="c">## Note that these only change the size of some of the text. Other</span>
<span class="c">## buttons have their own styles.</span>
<span class="c">## These settings let you change some of the sounds that are used by</span>
<span class="c">## Ren'Py.</span>
<span class="c">## Set this to False if the game does not have any sound effects.</span>
<span class="n">config</span><span class="o">.</span><span class="n">has_sound</span> <span class="o">=</span> <span class="bp">True</span>
<span class="c">## Set this to False if the game does not have any music.</span>
<span class="n">config</span><span class="o">.</span><span class="n">has_music</span> <span class="o">=</span> <span class="bp">True</span>
<span class="c">## Set this to False if the game does not have voicing.</span>
<span class="n">config</span><span class="o">.</span><span class="n">has_voice</span> <span class="o">=</span> <span class="bp">True</span>
<span class="c">## Sounds that are used when button and imagemaps are clicked.</span>
<span class="c"># style.button.activate_sound = "click.wav"</span>
<span class="c"># style.imagemap.activate_sound = "click.wav"</span>
<span class="c">## Sounds that are used when entering and exiting the game menu.</span>
<span class="c"># config.enter_sound = "click.wav"</span>
<span class="c"># config.exit_sound = "click.wav"</span>
<span class="c">## A sample sound that can be played to check the sound volume.</span>
<span class="c"># config.sample_sound = "click.wav"</span>
<span class="c">## Music that is played while the user is at the main menu.</span>
<span class="c"># config.main_menu_music = "main_menu_theme.ogg"</span>
<span class="c">## Miscellaneous customizations</span>
<span class="c">## These let you change the transitions that are used when entering</span>
<span class="c">## and exiting the game menu.</span>
<span class="n">config</span><span class="o">.</span><span class="n">enter_transition</span> <span class="o">=</span> <span class="n">dissolve</span>
<span class="n">config</span><span class="o">.</span><span class="n">exit_transition</span> <span class="o">=</span> <span class="n">dissolve</span>
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="thequestion_nvl.html" title="NVL-mode script for The Question"
>next</a> |</li>
<li class="right" >
<a href="credits.html" title="Documentation and Translation Credits"
>previous</a> |</li>
<li> <img src="_static/logo.png" width=19 height=21 align=center>
<li> <a href="http://www.renpy.org/">Ren'Py Home</a> |
<li><a href="index.html">Ren'Py Documentation</a></li>
</ul>
</div>
</body>
</html>
|