Skip to content

This project handles window creation, event handling and image drawing using raylib.

License

Notifications You must be signed in to change notification settings

mewspring/raylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This project handles window creation, event handling and image drawing using raylib.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages