sfml

module
v0.0.0-...-63a8a9f Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: Unlicense

README

sfml

go.dev reference

The sfml project implements window creation, event handling and image drawing using SFML version 2.5.

Examples

tiny

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

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

Screenshot - tiny

fonts

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

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

Screenshot - fonts

many

The many command demonstrates how to create and handle more than one window at once.

go install -v github.com/mewspring/sfml/examples/many@master
off-screen

The off-screen command demonstrates how to perform hardware accelerated off-screen rendering.

go install -v github.com/mewspring/sfml/examples/off-screen@master
soft

The soft command demonstrates how to combine software and hardware rendering.

go install -v github.com/mewspring/sfml/examples/soft@master

Directories

Path Synopsis
examples
fonts
fonts demonstrates how to render text using TTF fonts.
fonts demonstrates how to render text using TTF fonts.
many
many demonstrates how to create and handle more than one window at once.
many demonstrates how to create and handle more than one window at once.
off-screen
off-screen demonstrates how to perform hardware accelerated off-screen rendering.
off-screen demonstrates how to perform hardware accelerated off-screen rendering.
soft
soft demonstrates how to combine software and hardware rendering.
soft demonstrates how to combine software and hardware rendering.
tiny
tiny demonstrates how to render images onto the window using the Draw and DrawRect methods.
tiny demonstrates how to render images onto the window using the Draw and DrawRect methods.
Package font handles graphical text entries with customizable font size, style and color.
Package font handles graphical text entries with customizable font size, style and color.
Package texture handles hardware accelerated image drawing.
Package texture handles hardware accelerated image drawing.
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