Skip to content

dodobyte/ray-casting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ray casting algorithm in Go and SDL2

This is a bare minimum Ray casting implementation in Go.

img

Ray casting code is only ~50 lines of code. Rest of the code is for loading map, initializing SDL etc.

There is basic input handling and no collision detection. Map is a simple text file.

You can create a Wolfenstein 3D like game with ray casting. You should add features like simple texture mapping, a pair of hands holding gun, some enemy sprites and so on.

Here is a great tutorial about ray casting.

About

Ray casting algorithm in Go and SDL2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages