victorqribeiro / myRaycast

A JavaScript Ray Casting engine I'm working on

Home Page:https://victorribeiro.com/myRaycast/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myRaycast

A JavaScript Ray casting engine I'm working on

Ray Casting

Live Version | Alternative Link

About

I gor hired recently, so I'm not having as much free time to dedicate to personal projects. Having saying that, I'm working on this simple javascript raycast engine. It uses lines instead of the tradidional grid map, allowing for diagonal walls. The texture looks really bad right now, but I intend to work on that.

Update: Textures are a little better, but not good yet. I added support to multiple textures, just to try it out. I'm thiking about using my paintDraw app as a level editor (I could draw the map with the line tool).

Mobile Users

I added a radialMenu so you can see on your phone, but the buttons are toggle like for techninal (and lazzyness) reasons. Click to walk, click again to stop.

Desktop Users

Arrow keys controls the camera.

All users

There's no collison yet.
Textures are crap.
Lot's of other problems, like the code doing the same math operations over and over.

About

A JavaScript Ray Casting engine I'm working on

https://victorribeiro.com/myRaycast/

License:MIT License


Languages

Language:JavaScript 94.6%Language:HTML 5.4%