Commit f9c1a536 authored by cobaltcore's avatar cobaltcore
Browse files

Add alien particle section

parent 156f4c0e
# Animation
Student Transfer extends the animation templates provided by Ren'Py with some custom animations, which are documented here.
## Alien Remote Particles
In the game we sometimes use fancy blinkenlights to signify use of the remote, specifically the mind-related functions. If you, too, want to harness this power, it can be at your fingertips by using code like the example below.
=== "Syntax"
```python
show expression alien_particles(400, 190, 190, mind_scale) as particles:
xpos placement_of(<character>).xpos
ypos 0.27
alien_particles_fadeinout()
"Fancy blinkenlights!"
hide particles
```
=== "Example"
```python
show john a_0 at center
john "Pretty self-centered."
show expression alien_particles(400, 190, 190, mind_scale) as particles:
xpos placement_of(john).xpos
ypos 0.27
alien_particles_fadeinout()
john "Fancy blinkenlights!"
hide particles
```
## Transitions with Custom Delays
The default transitions do not allow one to easily change their respective durations. Most prominently this occurs when hiding a character, i.e. `hide john with easeoutright`. In this case, the transition will always take 0.5 seconds to execute.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment