🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Raycasting - need help on Sprite issue

Started by
0 comments, last by daniofilho 3 years, 12 months ago

Hi guys!

I really need help to finish a project I started. My goal was to make a simple 2.5.D engine using a Raycasting tecnique, just like the one used on Wolfestein. I've searched a lot on internet and all kind of ways to do it and I've made it to work… almost. The only thing I couldn't do is render the sprite correctly.

Here is link to my project with commented source code and a link to see the demo:

https://github.com/daniofilho/raycasting-study

The issue is with the “pillar” sprite. If you rotate the camera, you'll notice that the “pillar” moves in a strange way. I don't know how to fix this simple but hard to find issue. Can someone tell what am I doing wrong and point me in the right direction, please?

I don't know anymore what I can do about and I feel completely lost.

Thanks a lot!

None

This topic is closed to new replies.

Advertisement