class VNInterp::Interpreter

Defined in:

vn_interpreter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(window : SF::RenderWindow) #

[View source]

Instance Method Detail

def auto(duration : Float32) #

[View source]
def hide(pic : String, transition : VNInterp::Transition) #

[View source]
def move(pic : String, dx : Float32, dy : Float32, duration : Float32, curve : VNInterp::Curve) #

[View source]
def play(res : String, audio : String, volume : Float32, loop? : Bool = false) #

[View source]
def say(content : Array(String)) #

[View source]
def scale(pic : String, scaleX : Float32, scaleY : Float32, duration : Float32, curve : VNInterp::Curve) #

[View source]
def show(res : String, pic : String, posX : Float32, poxY : Float32, anchorX : Float32, anchorY : Float32, scaleX : Float32, scaleY : Float32, transition : VNInterp::Transition, superposition : VNInterp::SuperPosition) #

[View source]
def stop(audio : String, duration : Float32) #

[View source]
def volume(audio : String, new_volume : Float32, duration : Float32) #

[View source]
def wait(duration : Float32) #

[View source]