Lancelotbronner / swift-raylib-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Raylib Examples

As always contributions are welcome, feel free to send new examples or translate missing ones from raylib or raylib games!

Table of Contents

🧱 Core

🔺 Shapes

🖼 Textures

👾 Classics

🧱 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: Classic Games

Classic games 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

About


Languages

Language:Swift 100.0%