November 12, 2020

Make Your Own Raycaster Game



I’m happy to share my raycaster video with you! I hope you learn something, or find it interesting and stay tuned for more fun videos!

Install C and OpenGL

Minecraft GBA

Zelda GBA

If you make this, let me know and I’ll add your link here.
Roberto Abad Followed my tutorial! Check out his Raycaster!

Raycaster’s shown in this video
Synthes 3D
Wolfenstein 3D
8Bit Killer Gameplay
16 Bit Ray Caster
Swinger Engine
Dracula

Nguồn: https://pcr-proven-hiv-cure.com/

Xem thêm bài viết khác: https://pcr-proven-hiv-cure.com/game/

in Game
Related Posts

Veep vs. The Walking Dead: Smash the Buzzer – Hollywood Game Night (Episode Highlight)

July 13, 2020

July 13, 2020 9

The casts of Veep and The Walking Dead play Smash the Buzzer in Jane Lynch’s brand-new backyard ball pit. »...

Cool Gaming Setup Tech (LED Edition)

July 9, 2020

July 9, 2020 39

Fasthosts Techie Test competition is now closed! Learn more about Fasthosts here: Massive thank you to Fasthosts for sponsoring this...

10 Free Skills You Can Get Before You Leave Cierzo- OUTWARD QUICK TIP

July 15, 2020

July 15, 2020 9

These are all the skills that Burac the Gatekeeper offers to beginning players for free when they leave Cierzo for...

Remember When Board Game How to Play

July 6, 2020

July 6, 2020 2

Introduction and 3 Player Game Run-through (3 turns). This game is releasing in online form on Board Game Arena, a...

little panda teach you THE MAGIC WORDS,say hello,sorry,bye|BabyBus Kids Games

July 10, 2020

July 10, 2020

HELLO kids! Kiki, the little panda, is back! He and all his friends are here to help and play with...

Travis' Yee-Haw Game Ranch: Overcooked 2 | S2E7

July 10, 2020

July 10, 2020 29

Join our November fundraising drive with OSD to support active duty military, veterans, and family members. Donate now at: Realm...

Learn Python with CodeCademy: Battleship!

July 8, 2020

July 8, 2020 20

Brief video going over Python course Battleship from Codecademy. Fan funding goes towards buying the equipment necessary to deliver 4k...

PATRICK STAR CONTROLLER UNBOXING Playstation 2 SpongeBob SquarePants Gamepad Call of Duty Gameplay

July 13, 2020

July 13, 2020 42

Unboxing Patrick Star PS2 videogame control pad (Spongebob Squarepants series). Stress relieving and therefore perfect for online multiplayer games such...

WIELDING CAPTAIN AMERICA'S SHIELD AND THOR'S HAMMER – Blades and Sorcery VR Mods

July 13, 2020

July 13, 2020 29

WIELDING CAPTAIN AMERICA’S SHIELD AND THOR’S HAMMER – Blades and Sorcery VR Mods I’ve installed new mods on Blade &...

#Lego #Dimensions Complete Walkthrough 6 Hour – Game For Children

July 10, 2020

July 10, 2020 49

Full gameplay walkthrough of LEGO Dimensions for PlayStation 4, Xbox One, PlayStation 3, Wii U, Xbox 360. Below is a...

Play Game Earn ₹500 Paytm Cash Just 5 Minute

July 14, 2020

July 14, 2020 36

Play Game Earn ₹500 Paytm Cash Just 5 Minute Download & Singup Get ₹100 Singup Bonus ❤❤ ✔Download करते ही...

The John Maxwell Team Leadership Game

July 10, 2020

July 10, 2020

Janette Toral is an Independent Executive Director for The John Maxwell ( and can facilitate the Leadership Game. The John...

Laura Bailey's Yee-Haw Game Ranch: Saints Row IV | S1E6

July 12, 2020

July 12, 2020 34

Laura Bailey and Ashley Yee-Haw Johnson take over Travis Willingham’s Yee-Haw Game Ranch to rampage through some Saints Row IV...

SpongeBob Squarepants Controller Unboxing! Playstation 2 Gamepad

July 9, 2020

July 9, 2020 27

SpongeBob Squarepants game pad for Playstation 2 and with an adapter also to PS4, Xbox One & PC! One of...

Fighting Game (FGC) Notation: What the HELL IS IT? Let's FIND OUT!

July 13, 2020

July 13, 2020 3

Let’s Take Our Minds Off EVO2020 Getting Cancelled SHALL WE ? Fighting Game Community (FGC) notation is the terminology used...

Comments
  • I don't know anything about video games but it is really neat to see how the programming is done. Love your water sponsor 🤣

  • Do you plan to continue this series? I've successfully followed your video and wrote the code in QuickBASIC64 (QB64.org). Amazed at how simple raycasting is. I look forward to the next video in the series. More please … 🙂

  • around 12 minutes in he used dist in an equation in code, but putting the code in the way he said just gave an undefined error. not knowing c to well i dont know whats going on

  • you are better than university professors. You teach in an easy to understand method.
    My only suggestion would be is to have popup links to other videos at certain parts to explain certain things in more detail if people who are learning this want to have a better understanding of things such as the sin or cos or what a tangent is and ect.

  • The fish eye is caused by spacing rays by angle. I believe this is a more realistic way to distribute your rays. https://www.scratchapixel.com/lessons/3d-basic-rendering/ray-tracing-generating-camera-rays/generating-camera-rays

  • For those wondering why tan and inverse tan:

    Remember that tangent is really sin(x)/cos(x) so, inverse is cos(x)/sin(x).
    In other words, tan gives you the slope and inverse tan gives you the slope of the line mirrored around y=x.
    Now, notice that it's also negated.
    Here are the dragons:
    negating a slope flip a line vertically (mirror around x axis)
    inversing a slope flip a line along y=x. Also known as "transpose". (i.e. swapping x and y components)
    If you transpose a "F" in your head, you should see that it can bee seen as a clockwise rotation AND flipping the result vertically.
    So, if you flip it vertically again…only the clockwise rotation remains!

  • In 227 lines, in Visual basic: https://codes-sources.commentcamarche.net/source/view/23777/912155#browser
    But it's much slower since I really do cast a ray in a bitmap. Also, at that time, I didn't correct the fish eye effect.
    It was 16 years ago too 😀

  • at 9:29 none of the green lines are showing up for me. they dont seem to even draw. im guessing that its because draw rays 3d isnt getting called by any functions but idk

  • Wow, this video was awesome! I was still able to decipher most of the code into java and it still works and looks great!

  • could someone explain to me the part with the inverse tangent?
    till that point i understood it quite well.

  • Hi! Nice video! If you want more performance, remove the sqrt part from the dist function. You don't actually need the correct distance here, but only the comparison, and sqrt is pretty expensive.
    Cheers!

  • [Error] called object 'my' is not a function

    EDIT:
    alright, if you are also having this issue by any chance, the fix is it's meant to be "my = (int)(ry)..etc" not "my(int)(ry).."… still dont know how he got the code to run tho.

  • Just finished making this in javascript and Html5, had to workaround some issues but it was two (long) days of fun.
    Thanks for making amazing videos that push people forward!

Leave a Reply

Your email address will not be published. Required fields are marked *