- 18 hours on-demand video content
- Lifetime access
- Live meetup
- Downloadable resources and exercises
- Certificate on completion
- Access on mobile and desktop
- Secure checkout via Credit Card or PayPal
- 14-day money back guarantee
- Last updated August 2023
$59.99
ENROLL NOW FREE PREVIEWThis course will teach you how to create a complete raycasting engine from scratch. We'll use an algorithm similar to the one used in Wolfenstein 3D. The final project will be coded using both JavaScript and C. It will implement player movement, 2D map view, 3D wall projection, textured walls, sprites, and other optimization techniques.
This course will be divided in two important parts:
1. The first part of the course uses JavaScript to cover the theory and the math behind the raycasting algorithm. JavaScript is a simple high-level scripting language that helps us not get too distracted with implementation details.
2. The second part of the course uses the C programming language to implement a compiled version of our raycaster, including textured walls and sprites. We'll also use C to discuss important optimization and performance aspects of our code.
You'll need a web browser that can run JavaScript and a small C compiler. All these tools are cross-platform, so you can follow along with either Windows, macOS, or Linux!
The Wolfenstein 3D raycasting algorithm we'll learn is heavily based on trigonometry, so make sure you have pen and paper ready for the lectures. I will make sure we review and understand every formula we find along the way!
This course has no prerequisites. We'll cover all the math and the code as we go along, so even beginners with no prior experience are welcome to join!
Other raycasting tutorials out there are either too long or overwhelmingly complex. This course tries to be as beginner-friendly as possible.
We never skip any of the math or any other implementation detail. Everything is always taught from scratch, and you get to see the code evolving line by line in front of your eyes!
Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com.
Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.
73% of our students come back for another course
We don't offer discounts on our courses. Ever.
"Deffinetly One of the Best Reasources Out There for Learning the Techniques of a Raycasting World! I as a highschool student was able to track and follow the majority of the course and content. Prior to this course my only experience with C or really programming at all was some minimal tinkering, making a calculator ect, and some youtube tutorials. Is this course what your looking for though? I would say if your goal is more so to learn and grow more in your own skills of programming, absolutly. But I would note that if your main goal is to make a game, you should know you won't finish the course with a completed game. However certaintly a bulk of the hard work is out of the way, the biggest other thing to tackle would be implementing ai which you can shoot at and be shot by. The end of the course does begin to get more breif when implementing sprites, though to be fair you are using techniques similar to what you've already learned. All in all a great source for learning, my rating is on the border between 4 and 5 stars but the five star rating system doesn't allow for that level of fidelity."
"Well done. Great course. I'm learning much."
"A+ Great course - teaches you the WHY and makes you think about what you are actually building. Very good explanations on the trigonometry used to build the engine."
"Great course! This course is really excellent. It covers the concept of Raycasting (based on Wolfenstein 3D techniques) from scratch. Gustavo is an excellent teacher who explains everything in detail, paying particular attention to the difficult points. I recommend this course to anyone who wants to learn how raycasting works, it's really worth it."