Skip to content

kerm1t/zweidee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zweidee

lean 2d framebuffer for game prototyping

  • A framebuffer provides a setpixel method. The framebuffer is applied as a texture on an OpenGL Quad of screen (window) size.
  • A drawlib adds rudimentary functions to draw, i.e. bresenham, bresenham_circle
  • A game class declares virtual function for init, doit, left, right and fire.

resolution and ratio are controlled by

  • framebuffer size
  • screen resolution

Examples included:

game optimized for framebuffer res.screen
comanche
frogger IOS 200 x 320 800 x 600
galaga 64 x 64 e.g. 512 x 512
pitstop

About

2d framebuffer for game prototyping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published