Lightweight libraries and frameworks for building 2D games with code-first workflows.
Simple, fast 2D game framework for Lua
Fast, free HTML5 game framework for browser games
Python library for writing games — great for learning
Open-source C# framework — spiritual successor to XNA
Simple C library for learning game programming
Fun, fast JavaScript game library for quick prototyping