Skip to content
/ sfml Public

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

License

Notifications You must be signed in to change notification settings

mewspring/sfml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages