- Show a
Window
- React to close event
- Show a
RenderWindow
- Unicode window title
- React to close and keyboard events
- Use a
Texture
and aSprite
- Move, scale, rotate, draw
Pong example from SFML
Sound
andSoundBuffer
RectangleShape
andCircleShape
Text
andFont
Clock
- Keyboard querying
- Math
- Setup antialiasing
- Object-oriented
- Custom drawables
RenderStates
- Keyboard events
Sound Capture example from SFML
- Record sound
- Play sound
- Save sound
VertexArray
drawPrimitives
ConvexShape
- Custom
Shape
- Basic OpenGL
Parts of the Shader example from SFML
- Fragment and vertex shaders
- Load from file
- Set arguments
- Apply
- Keyboard events,
TextEntered
- Unicode (Rune) string
- pong.nim was adapted from SFML's Pong example
- sound_capture.nim was adapted from SFML's Sound Capture example
- shader.nim was adapted from SFML's Shader example
- resources: sansation.ttf, ball.wav, background.jpg, pixelate.frag, wave.vert, blur.frag were taken from SFML's repository
- All the other files in this examples folder may be used without any limitations.