Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
Ready for fun!

Ray raysan5

😀
Ready for fun!
View GitHub Profile
@raysan5
raysan5 / raylib_six_years_of_fun.md
Last active Jul 8, 2022
raylib: 6 years of fun
View raylib_six_years_of_fun.md

raylib_6years_of_fun

raylib: 6 years of fun

raylib has been in development for more than six years now, it has been an adventure! I decided to resume how it was my personal experience working in this free and open source project for such a long time. Just note that the following article explains raylib from a personal point of view, independently of the technical aspects and focusing on the personal adventure; for technical details on raylib evolution, just check raylib history and raylib changelog.

raylib inceptum

Summer 2012 was ending, I had been working hard on my brand new startup emegeme for about 9 months, developing videogames. I was trying to find my blue-ocean, so, I developed and published two games for Windows Phone platform using the ama

View game_porting_adventures.md

FLIPS_choose_game

Game Porting Adventures

This article details my adventures and disadventures while porting my +9 years old XNA games, originally developed for Windows Phone, to multiple other frameworks (SharpDX, PSM, MonoGame...), for PSVita, Android and Desktop (Windows, Linux, macOS) platforms.

The article is divided in 3 parts:

@raysan5
raysan5 / raylib_api_usage_analysis.md
Last active Aug 18, 2022
raylib API usage analysis
View raylib_api_usage_analysis.md

raylib_api_usage_analysis

raylib API usage analysis

How is raylib API used out there? What are the most popular function calls? And the less used ones? What new API calls made an impact? Which ones get completely ignored by the users?

raylib has grown in the last years from 80 API functions to 475 API functions. Did the users adapted to that amount of improvements? Did the new features fit their needs?

I was looking for some answer so I decided to do a quick market analysis of raylib API usage, actually it was a nice weekend project. I decided to analyse some public GitHub projects using raylib.

@raysan5
raysan5 / raylib_in_numbers.md
Last active Aug 18, 2022
raylib in numbers
View raylib_in_numbers.md

raylib_in_numbers_title

raylib in numbers

raylib recently hit version 3.5, it's been more than 7.5 years since I started working in this project and for the last 2 years I've been compiling some numbers about the project evolution.

All of the graphs presented show an increasing popularity and usage of the project. It's interesting to see that during the first 5 years of development, raylib was not specially popular, it was used mostly by me to teach videogames development to my students, actually, that was the origin of the library, but in the last two years project exposure has grown exponentially.

Let's check the numbers!

@raysan5
raysan5 / rguiicons_making_of_diary.md
Last active Sep 8, 2022
rGuiIcons Making Of Diary
View rguiicons_making_of_diary.md

rGuiIcons Making Of Diary

In this post I'm explaining the creation process for my latest tool rGuiIcons. It took me 7 days from tool design to release and I'm listing here how I lived it.

NOTE: I'm adding some details of my life during those days to better illustrate the time management and development, I think it could be interesting for the readers to see the big picture of it.

Introduction

Earlier this year, by January-February, I decided to add a new feature to raygui, my immediate-mode gui library, I added icons support. I was in the process of developing some tools and I realized that custom icons could really make a difference and make the tools look way better.

@raysan5
raysan5 / raylib_vs_sdl.md
Last active Nov 26, 2022
raylib vs SDL - A libraries comparison
View raylib_vs_sdl.md

raylib_vs_sdl

In the last years I've been asked multiple times about the comparison between raylib and SDL libraries. Unfortunately, my experience with SDL until recently was quite limited so I couldn't provide a good comparison between both. In the last two years I've learned about SDL and I feel that now I can provide a good comparison between both.

Hope it helps future users to better understand this two libraries internals and functionality.

Table of Content

@raysan5
raysan5 / open_source_and_videogames.md
Last active Nov 29, 2022
Open Source and Videogames - Resources
View open_source_and_videogames.md

open_source_and_videogames

Open Source and Videogames - Resources

This git include a list of programs, tools, engines and libraries free and open source intended to make videogames.

NOTE: This gist is a support material for the talk "Open Source and Videogames" given by me, Ramon Santamaria, on October 26th 2021 in Canòdrom, Barcelona. All the materials listed here were explained in detail in a +2 hours talk.

Contents

@raysan5
raysan5 / custom_game_engines_small_study.md
Last active Nov 30, 2022
A small state-of-the-art study on custom engines
View custom_game_engines_small_study.md

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d