Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Massive HELP needed with raycasting code  (Read 2077 times)

0 Members and 1 Guest are viewing this topic.

LibertyBear

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Massive HELP needed with raycasting code
« on: April 21, 2021, 07:11:24 pm »
I already posted this in the projects board, but I'll post this again here(Where it is labeled as "help").

Im making a simple raycasting module, everything works fine, except object rendering... I can have walls, floors, ceilings, movement, ect... but objects just wont work right.

I based my stuff on this(https://lodev.org/cgtutor/raycasting.html) tutorial and Thomas van der Berg's raycaster.

Here's everything I have: https://github.com/LibertyBear/sfmlTest/blob/main/main.cpp

I really cannot get sprites working, if anybody could help it'd be much appreciated

 

anything