/raylib-py-flat

Flattens the `raylibpy` modules for easier import

Primary LanguageNixBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Raylib-py Flat

Wraps Raylib-py and flattens the modules to a single import.

Installation

pip install raylib-py-flat

Dependencies

Demo

import raylib as rl

def main():
    rl.init_window(800, 450, "raylib [core] example - basic window")
    rl.set_target_fps(60)

    while not rl.window_should_close():
        rl.begin_drawing()
        rl.clear_background(rl.RAYWHITE)
        rl.draw_text("Congrats! You created your first window!", 190, 200, 20, rl.LIGHTGRAY)
        rl.end_drawing()

    rl.close_window()

if __name__ == '__main__':
    main()