Coding Adventure - Making a Backrooms Game in Python - Exploring Ray Casting

preview_player
Показать описание
I use python for 3D graphics! We explore creating mazes and ray casting to enable a player to walk through the maze with a 3D render. This is used to simulate a backrooms game. Overall this video is a fun way to explore maze generation and ray casting with python. The visualisation makes use of the amazing Pygame library and all files associated with this project are available on GitHub.

Thank you so much for watching! See you in the next one :)

#pythonprogramming #gamedev #graphics

Links you might like
--------------------------------

Music:
A Quiet Thought - Wayne Jones
Wishful Thinking - Dan Lebowitz
Puerto Rico Me Llama - Jimmy Fontanez
Longer Distance - TrackTribe
Checkmate - Nathan Moore
You Are My Rainbow - Unicorn Heads
Cig Swaag - Jingle Punks

Chapters:
00:00 Introduction
00:12 Maze Algorithm
02:53 Maze Generation
04:18 Ray Casting
06:26 Particles and Walls
09:04 User Input
09:40 3D Rendering
11:11 Fun!
Рекомендации по теме
Комментарии
Автор

So much talent and effort with so little subscribers? +1 sub, I'm looking forward to see more cool stuff!

juansnyders
Автор

This calm and comprehensive style of programming video is the type of stuff I love, great video!

PegaFox
Автор

Excellent video! Your channel is very underrated!

Bunnybobscodes
Автор

You deserve more subscribers, that was such a nice video, I hope I can see more videos like this explaining each step of complex problems making them easy and encrouraging to try and solve on your own. You get a sub from me mate, love and hope to see more like this content!

RedstoneHair
Автор

Great job. I'm anxious to see the next Episodes.

robinsonrocha
Автор

Hello, I really liked this video. Very well explained.
You inspired me to recreate it in C# with SDL2 and it worked! However, I don't really like the curvy walls and haven't found a good way to fix it, do you have any ideas?

nico_qwer
Автор

Hey 👋 i have one question how do you export the maze's coordinates from the maze builder ? 4:11

alpersonne
Автор

I think you use too good formula for this simple task
Your raycast works on all sorts of surfaces, but you only use square grid with walls
With that, you can check if your ray goes on the edge of current tile, checks if there a wall and continues to go further if there's no wall

Sorry for bad explanation, but you should get the idea

timofey
Автор

I made some similar code for generating a maze, but I'd want to ask how do I get the solution to the maze, or make a traditional maze with an entrance at the top where the algorithm starts and the lower right as an exit? Can you link me your sources I'd be glad

RedstoneHair
Автор

You need to correct the fisheye effect and the warping on the edges.

nebylet