Artifical Motion Blur > 2D

Fake Motion Blur

This demonstrates how to create the illusion of motion blur using by drawing a second overlying image with offset and opacity.To complete this example you will need to download the sprite sheet here. Features change in blur fade (opacity) and blur distance. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Tile Loading & Grid Editor > 2D

Tile Sheet Loading & Grid Editor

This demonstrates how to extract images from a tile sheet and use in a grid based editor to create maps and level layouts. To complete this example you will need to download the tile sheet here. Features tile sheet loading, grid placement, color selection and clear grid. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Simple Exploding Blocks > 2D

Simple way to explode blocks

This is an easy way to create an illusion of blocks exploding using a slices of structs that contain fade, color, rectangles and movement direction. Pressing SPACE key will create a slice of smaller blocks with random directions that fade away. Once the timer ends then it will reset and create more blocks. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Simple Animated Character > 2D

Animated Sprite Character

This demonstrates a simple animated sprite character as you would use in a 2D platformer game. To complete this example you will need to download the sprite sheet here. UP key to change zoom, DOWN key to change color, RIGHT key to increase speed and LEFT key to decrease speed. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Pixel Noise (Screen Artifacts) > 2D

Simulated pixel noise / screen artifacts

Simulates pixel noise, or old movie-type screen artifacts, with color and size change. To complete this example you will need to download the Go gopher image here. UP arrow key to change pixel noise color, DOWN arrow key to change background color and RIGHT/LEFT arrow keys to increase/decrease pixel noise size . View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Snowflakes Falling > 2D

Snowflakes falling

Draws textures (images) of snowflakes falling at random speeds with random rotations and sizes. To complete this example you will need to download the snowflakes image texture here. SPACE key to turn color on/off and TAB key to turn blur effect on/off. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Room Tiles > 2D

Random room with image texture tiles

Demonstrates simple tiling of a rectangle with image texture tiles for floors and walls. The tiles can be resized in code and random colors are used for the floors and walls. To complete this example you will need to download the room tiles image texture here. UP arrow key to change zoom and SPACE key to create a new room. View on Github

Orbiting > 2D

Orbiting

This demonstrates the use of mathematics to create circles that orbit a center point. Press space key to change direction and speed. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Moving Polygon Triangles > 2D

Moving polygon triangles

This demonstrates the use of rl.DrawPoly for creating a line of moving triangles, direction can be changed using the W A S D keys. This represents a much easier approach for drawing triangles that change direction than using rl.DrawTriangle and should be considered as the method of choice in some cases. View on Github

Before you start
I am a self taught Go programmer and do it as a hobby, the code below is my own interpretation of how to do something, probably not the only way or the best way. This is intended as a resource to learn some basic Raylib and Go game dev skills. If you want to use any of the code anywhere else, feel free to do so.

Starfield is Space Exploration Summarised

Starfield - A very concise version of space

2024/11/04 - Whilst this review is, for the most part, still pretty accurate, I replayed Starfield recently following a few updates. The addition of FSR means that the graphics can now be maxxed out more easily and the vehicle for travelling on planets makes exploring much more fun. Starfield remains a good game, however not the great game that I was expecting. Definitely worth playing, even more so being basically free on Xbox Game Pass, with many hours of gameplay, though it could have been a lot better.