lancelotbronner/swift-raylib-examples
As always contributions are welcome, feel free to send new examples or translate missing ones from [raylib](https://github.com/raysan5/raylib/tree/master/examples) or [raylib games](https://github.com/raysan5/raylib-games/tree/master)!
Table of Contents
- ๐งฑ Core
- 2D Camera - 2D Camera Mouse Zoom - 2D Camera Platformer - 3D First Person - Basic Window - Drop Files - Input Keys - Input Mouse - Input Mouse Wheel - Letterboxed Window - Scissor Test
- ๐บ Shapes
- Basic Shapes - Bouncing Ball - Color Palette - Following Eyes
- ๐ผ Textures
- Atlas - Blend Modes - Image Generation - Logo Raylib - Sprite Animation
- ๐ฌ Text
- Fonts
- ๐ฆ Models
- ๐๏ธ Shaders
- ๐ Audio
- Module Playing - Music Stream - Raw Audio Streaming - Sound Loading - Sound Multi
- ๐พ Classics
- Arkanoid - Platformer - Snake
- ๐ฎ Games
๐งฑ Category: Core
Examples using raylib core platform functionality like window creation, inputs, drawing modes and system functionality.
Basic Window
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[A window with "Congrats, you created your first window" written in the middle]
Input Keys
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[A window with a ball and the text "Move the ball with the arrow keys"]
Input Mouse
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[A window with a ball and the text "Use the mouse to move the ball and change the color with the mouse buttons"]
Input Mouse Wheel
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[A window with a box and the text "Use mouse wheel to move up and down" along with another text giving the Y position of the cube"]
2D Camera
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
2D Camera Mouse Zoom
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
2D Camera Platformer
Written by ![C] [avyy], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Letterboxed Window
Written by ![C] [Anata], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Drop Files
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐บ Category: Shapes
Examples using raylib basic 2D drawing functionality like various shape drawing, colors and gradients.
Basic Shapes
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Bouncing Ball
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Color Palette
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Following Eyes
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐ผ Category: Textures
Examples using raylib image functionality like texture drawing, image manipulation and image generation.
Image Generation
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Logo Raylib
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Blend Modes
Written by ![C] [Karlo Licudine], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐ฌ Category: Text
Examples using raylib text functionality like loading fonts and rendering text.
Fonts
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐ Category: Audio
Module Playing
Written by ![C] [Ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Music Stream
Written by ![C] [Ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Raw Stream
Written by ![C] [Ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Sound Loading
Written by ![C] [Ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Sound Multi
Written by ![C] [Ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐พ Category: Classics
Classics implemented using raylib!
Arkanoid
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
Snake
Written by ![C] [ray], translated by ![Swift] [Lancelot]
[Screenshot of the example]
๐ฎ Category: Games
[ray]: https://github.com/raysan5 [lancelot]: https://github.com/Lancelotbronner [avyy]: https://github.com/avyy [Anata]: https://github.com/anatagawa [Karlo Licudine]: https://github.com/accidentalrebel
[C]: Assets/icons/c.png [Swift]: Assets/icons/swift.png
Package Metadata
Repository: lancelotbronner/swift-raylib-examples
Default branch: main
README: README.md