Skip to content

A flappy bird clone with a bunch of stuff generated/run on the GPU directly

License

Notifications You must be signed in to change notification settings

iansimonson/flappy_gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy GPU

This is just a clone of flappy bird but with mesh shaders for generating the geometry.

It's basically a mesh shader and texture array example in vulkan

NOTE: this requires a few tweaks to vendor:vulkan for some of the Flags64 attributes but it's essentially copy/paste with a larger type

There's no scoreboard/menu because I still need to look up how to do font rendering.

In the future if I come back to this the plan is to move the update logic completely to a compute shader and just send a push constant of time difference to the gpu as a clock and then any restart/etc. is just a shared memory boolean the compute shader can write to on gameover

About

A flappy bird clone with a bunch of stuff generated/run on the GPU directly

Resources

License

Stars

Watchers

Forks