Raycaster

Creations

anarkavre

1 week ago

Hi, I have been working on a Raycaster project for the Arduboy and decided to port it to the Gamebuino META. It currently has the following features.


Movement

Move Forward

Move Backward

Turn Left

Turn Right

Strafe Left

Strafe Right


Interaction

Wall and door collision with a nice sliding effect

Doors that open when you stand in front of them


This version includes texture mapped walls, doors, ceiling, and floor. The Wolfenstein 3D textures are placeholders I used for testing.


I hope you enjoy this preview.

View full creation

bfx

NEW 1 week ago

Very cool!!!  Thanks for sharing.

Maybe worth mentioning that you need the FixedPoints library to compile (Sketch>Include Library>Manage Libraries then search for FixedPoints).

jicehel

NEW 1 week ago

Thanks fo the share and i hope you'll continue it to make a complete game.

If you want compare with some other raycasting codes, you can have a look on:

Raycaster by Arnakavre (https://gamebuino.com/fr/creations/raycaster)

Advanced Raycasting by drummyfish (https://gamebuino.com/fr/creations/advanced-raycasting)


jicehel

NEW 1 week ago

Code is fine and works fine but it's not easy to understand as there is alot of maths and not alot comments. Could you had some in your code ?

As it's a preview and as you wrote: "It currently has the following features" , it's mean that you'll add some more, know you already that you'll add ? possibility to have ennemies and a hit function with some parameters as range, shoot angle, full_damages_points ?


You must be logged in in order to post a message on the forum

Log in