o
odinpkg.dev
packages / app / 2d_game_framework

2d_game_framework

ec9a055app

No description provided.

No license · updated 1 year ago

Odin 2D Game Framework

A 2D "game" framework written in Odin, leveraging DirectX 11 for rendering and Win32 for window management. It is designed to be a simple starting point for my future projects.

Currently you can only draw coloured rects to the screen. This is done through a big ass vertex buffer and single shader.

Features

  • Build step to export aseprite layers (directly calls aseprite to do export) and pack them into an atlas
  • 2D rendering using DirectX 11
  • Native Window using Win32 API
  • Entirely self contained API because I wanted to avoid splitting up the game from the rendering/platform

TODO

  • Metal/Mac support

Thanks To

  • Ginger Bill for Odin
  • Karl for rectangle code because I am lazy
  • Randy for the big brain starting point
  • Cody Duncan