Home

Awesome

Additional raylib examples from third-party developers. Rewritten for the Pascal language.

Ergo

https://github.com/brihernandez/Ergo Fly a little ship

Fly a little ship around in a raylib project. The main purpose of this project has to figure out how to handle arbitrary rotations, since the built in rotation functions don't make this easy.

Scrolling and image resize

Scrolling

An example of animation and scrolling of a texture

Toon Shader

https://bedroomcoders.co.uk/cell-shader-revisited/ Toon Shader

I think Cell Shaders give a great style to games, often allowing you to utilise low poly models that end up looking great. I was going to also look at maybe altering the way that the out lining shader works slightly, but on balance I like the way it looks, so I left it as is too.

Block Game

https://github.com/raysan5/raylib-intro-course blockGame

Implements a Blocks game similar to the well-known Arkanoid (Taito, 1986).

Pong

Pong

Classic pong game

RPG Camera 2D

RPG Camera 2D

I Small example uses camera 2d in rpg style

Snake

Snake

Classic snake game

Morphing Example

Morphing Example

An example of the transformation of one object into another.

Example of mouse drag panning for 2D camera

drag panning for 2D camera

Example of mouse drag panning for 2D camera

World space panning

World space panning

Example of world space panning

FPS shoot bullet

FPS shoot bullet

FPS shoot bullet 3d example

FPS 50x50 Cube ground

Cube ground

FPS 50x50 Cube ground 3d example

FPS camera in cubebox

camera in cubebox

FPS camera in cubebox 3d example

Using Timers in Raylib

camera in cubebox

https://www.youtube.com/watch?v=vGlvTWUctTQ

A quick overview of how to create and use timers in raylib

Oriented bounding box collisions

https://github.com/jtainer/collider camera in cubebox

This is implementation of oriented bounding box collision detection and resolution.

Camera in lcl

camera in LCL

my experement uses raylib in lcl