Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for the Future #1

Open
cobyj33 opened this issue Dec 21, 2022 · 0 comments
Open

Plans for the Future #1

cobyj33 opened this issue Dec 21, 2022 · 0 comments

Comments

@cobyj33
Copy link
Owner

cobyj33 commented Dec 21, 2022

I feel like this project could really be taken to a further level while still maintaining its

First of all, I need to benchmark the raycaster to see why it's pretty slow to be honest, I believe its because it draws n lines, for every render, where n is the pixels across of the canvas, but I could be wrong (hopefully). If not, I'll probably have to resort to WebGL, which will kind of take away from the magic of a psuedo-3D world in my opinion but the concept of "casting rays" will definitely still be there.

Just as I was writing this, I just had the crazy idea of writing all of the raycasting code in GLSL. I definitely have a new project.

Long term goals would probably be to support textures with normal maps and bump maps and the sort, and maybe even other types of objects or sprited enemies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant