Skip to content

aganm/sdl-weekend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

  • libm
  • SDL2
  • OpenMP

Build instructions

To compile and run tests and launch a program:

./launch.sh <name> or ./launch.sh <number>

For example, to launch the program titled '1_shooter', type:

./launch.sh 1_shooter or ./launch.sh 1

OpenMP performance bug

It was reported to me that OpenMP caused performance issues on gcc 9. If you happen to be using this compiler and have performance issues, try using clang instead.

1_shooter: Game instructions

  • WASD keys to move
  • Left Click to shoot pistol
  • Right Click to shoot shotgun
  • Space Bar to spawn more monsters
  • Z to switch between 2D and 3D rendering (experimental, not functional)

2_batching: Benchmark instructions

  • WASD keys to move the rectangles
  • Left Shift to move faster
  • Space Bar to spawn more rectangles
  • Left Click on a rectangle to spawn particles on this rectangle
  • Tab to toggle between batching on and off

3_microui: GUI instructions

  • Mouse Buttons to do stuff

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages