百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

challenges

> 开发工具
开源

图形编程挑战

195 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

图形编程挑战

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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Cblocksdungeonsmazeopengl

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

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