Skip to content

KimJorgensen/sdl_handmade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Note: This repository has moved to the private Handmade Hero repository and is no longer actively maintained. You will need to pre-order the game to get access.

SDL Handmade

This is an implementation of a SDL platform layer for Handmade Hero, based on David Gow's excellent SDL port Handmade Penguin.

The following notable changes has been made to Handmade Penguin:

  • Updated to work with Casey's latest source code (at least for now)
  • Added looped live code editing and multithreading support
  • Uses SDL_QueueAudio instead of a ring buffer
  • Restructured sdl_handmade to make it easy to compare to win32_handmade

Build process

You will need the Handmade Hero source code for the platform-independent game code and the game assets. Pre-order the game to get these.

Copy the Handmade Hero source files into sdl_handmade/code/ and copy the Handmade Hero test assets into sdl_handmade/data/.

Compile it with ./build.sh and run it with ./handmade.sh.

Things to do

  • Clean-up audio code
  • Correct mouse X/Y input according to image offset and stretching
  • Support 32 bit build

Licensing/Copyright/Author

Casey Muratori is the author of Handmade Hero, and this code is built by observation of his Win32 layer. That isn’t freely distributable.

The sdl platform layer was written by David Gow and modified by Kim Jørgensen, and is freely distributable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages