Sign in

    selene-canvas

    Game Engine
    Download zip
    Author
    Version
    0.10.2
    License
    Apache-2.0
    Last updated
    last year
    Downloads
    102

    #A Selene Backend with Canvas2D/JavaScript

    Audio

    type Audio

    Audio::new

    fn Audio::new(path : String) -> Audio

    Audio::pause

    fn Audio::pause(self : Audio) -> Unit

    Audio::play

    fn Audio::play(self : Audio) -> Unit

    Audio::set_loop

    fn Audio::set_loop(self : Audio, loop_ : Bool) -> Unit

    Audio::set_volume

    fn Audio::set_volume(self : Audio, volume : Double) -> Unit

    CanvasBackend

    type CanvasBackend

    CanvasBackend::new

    set_viewport_height

    fn set_viewport_height(elem :
    HTMLCanvasElement
    , height : Double) -> Unit

    set_viewport_width

    fn set_viewport_width(elem :
    HTMLCanvasElement
    , width : Double) -> Unit

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io