Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

challenges

> 开发工具
Open source

graphics programming challenges

195 stars0 likes2 views
WebsiteGitHub

About

graphics programming challenges

Graphics Programming

This repo contains some challenges about Graphics Programming. Challenges are organized in folders and include the solutions. They are intended to be used as tutorials to learn graphics programming for videogames development.

Some of those challenges are based on raylib, a simple and easy-to-use library to enjoy videogames programming.

Challenge 01. Blocks game

A blocks game where player has to break a wall of blocks controlling a ball with a paddle.

This game is developed using raylib library.

Learning outcomes:

  • raylib functionality and possibilities
  • Videogame life cycle (Init -> Update -> Draw -> DeInit)
  • Basic screens management with screens transition
  • Basic shapes drawing (circle, rectangle)
  • Inputs management (keyboard, mouse)
  • Collision detection and resolution
  • Textures loading and drawing
  • Fonts loading and text drawing
  • Sounds and music loading and playing

Challenge 02. Dungeon 2D game

A tile-based dungeon 2D game where player moves around a 2D dungeon finding keys and defeating monsters.

This game is developed using raylib rlgl low-level library module.

Learning outcomes:

  • rlgl functionality and possibilities
  • Window creation, configuration and management (GLFW3)
  • Context creation (OpenGL 3.3) and extensions loading (GLAD)
  • Inputs management (keyboard, mouse) (GLFW3)
  • Basic shaped drawing defining vertex data (immediate-mode)
  • Image loading (RAM), texture creation (VRAM) and drawing
  • Tilemap data loading from text file
  • Tilemap drawing and collision detection

Challenge 03. Maze 3D game

A cubes-based maze 3D game where player has to escape from a 3D labyrinth.

This game is developed using OpenGL graphics library.

Learning outcomes:

  • OpenGL 3.3 graphic pipeline functionality
  • Window creation, configuration and management (GLFW3)
  • Context creation (OpenGL 3.3) and extensions loading (GLAD)
  • Inputs management (keyboard, mouse, gamepad) (GLFW3)
  • Image loading (RAM), texture creation (VRAM) and drawing
  • Models loading, transform and drawing (3d meshes)
  • Level map data loading and vertex buffers generation (VBO)
  • Camera system creation and management (1st person)
  • Collision detection and resolution (AABB collisions)

License

All challenges lectures are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

All challenges code is licensed under an unmodified zlib/libpng license.

Check LICENSE for further details.

Copyright (c) 2017 Ramon Santamaria (@raysan5)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cblocksdungeonsmazeopengl

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具