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
|
<html><head><title>Revolve - Ren'Py Visual Novel Engine</title><link href="../../shared.css" rel="stylesheet"><link href="../../monobook.css" rel="stylesheet"><link href="../../common.css" rel="stylesheet"><link href="../../monobook2.css" rel="stylesheet"><link href="../../docs.css" rel="stylesheet" /></link></link></link></link></head><body><div id="bodyContent">
<p class="docnav"><a href="../../index.html">documentation index</a> ◦ <a href="../Reference_Manual.html">reference manual</a> ◦ <a href="../Function_Index.html">function index</a></p><p><a id="Revolve" name="Revolve"></a></p>
<h1><span class="mw-headline">Revolve</span></h1>
<p><span id="Revolve" /></p>
<table>
<tr>
<td valign="top">Function:</td>
<td valign="top"><b><strong class="selflink">Revolve</strong></b></td>
<td valign="top">(start, end, time, around=(0.5, 0.5), cor=(0.5, 0.5), **kwargs):</td>
</tr>
</table>
<div class="renpy-doc">
<p>Used to revolve it's child around a point in its parent. <i>around</i> is the point in the parent that we are revolving around, while <i>cor</i> is the center of revolution for the child. <i>start</i> is the start revolution, and <i>end</i> is the end revolution, both in degrees clockwise.</p>
<p>Other keyword arguments are as for <a href="../../reference/functions/Motion.html" title="renpy/doc/reference/functions/Motion">Motion</a>.</p>
</div>
<p><a id="Example" name="Example"></a></p>
<h2><span class="mw-headline">Example</span></h2>
<pre>
<span class="kwa">show</span> circle <span class="kwa">at</span> <span class="kwd">Position</span><span class="sym">(</span>xpos<span class="sym">=</span><span class="num">200</span><span class="sym">,</span> ypos<span class="sym">=</span><span class="num">150</span><span class="sym">),</span> <span class="kwd">Revolve</span><span class="sym">(</span><span class="num">0</span><span class="sym">,</span> <span class="num">360</span><span class="sym">,</span> <span class="num">2</span><span class="sym">)</span>
</pre>
<p><br /></p>
<div class="visualClear" />
<hr /><p class="docnav"><a href="../../index.html">documentation index</a> ◦ <a href="../Reference_Manual.html">reference manual</a> ◦ <a href="../Function_Index.html">function index</a></p></div>
</body></html>
|