Advertisement

Raycasting - need help on Sprite issue

Started by July 10, 2020 01:41 AM
0 comments, last by daniofilho 4 years, 2 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