raylib

module
v0.0.0-...-ebd977b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: Unlicense

README

raylib

go.dev reference

The raylib project implements window creation, event handling and image drawing using raylib version 4.5.

Dependencies

pacman -Sy raylib

Examples

input_events

The input_events command demonstrates how to create a window and handle input events using window.Open and Window.PollEvent.

go install -v github.com/mewspring/raylib/examples/input_events@master

Screenshot - input_events

tiny

The tiny command demonstrates how to render images onto the window using Window.Draw and Window.DrawRect. It also gives an example of a basic event loop.

go install -v github.com/mewspring/raylib/examples/tiny@master

Screenshot - tiny

fonts

The fonts command demonstrates how to render text using TTF fonts.

go install -v github.com/mewspring/raylib/examples/fonts@master

Screenshot - fonts

Directories

Path Synopsis
examples
fonts
The fonts example demonstrates how to render text using TTF fonts.
The fonts example demonstrates how to render text using TTF fonts.
input_events
The input_events example demonstrates how to create a new window and handle input events.
The input_events example demonstrates how to create a new window and handle input events.
tiny
The tiny example demonstrates how to render images onto the window using the Draw and DrawRect methods.
The tiny example demonstrates how to render images onto the window using the Draw and DrawRect methods.
Package window handles window creation, drawing and events.
Package window handles window creation, drawing and events.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL