Raycaster

Créations

anarkavre

il y a 5 ans

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 and doors. The Wolfenstein 3D textures are placeholders I used for testing.


I hope you enjoy this preview.

Voir la création

STUDIOCRAFTapps

NEW il y a 5 ans

You did it! Greate job!

jicehel

NEW il y a 5 ans

Oh thanks. Many thanks, sure i like it. Thanks to shae your experience with us. I saw your works on Arduboy forum and i hoped so much that we have some gu like you to share incredible motors of games and give us some good tips, maybe making some tutorials about simple subjets or just how to use your motors in good condition to make games (of course Wolfenstein port or doom, but it's can do some dungeon master clones too or any other original projects.

I don't know if floors is only flat or if you can have gradients. It's just a question to know if this can be used for races system too.

So alot thanks and i hope you'll continue on both platforms (Arduboy with his amazing communauty and Meta because for me atm it's better with more capacities and because i have it  ;) ) and that you'll share with us something playable (a demo, a little game or a complete game) to test it in real conditions (even your gif give already a good preview)

jicehel

NEW il y a 5 ans

@alxm You'll have concurence on raytracing project. Great. You'll be able to take the better of the  systems and help each other with some technicals problems or perf.

@anarkavre. Yes alxm as worked on on a raycasting game and something with vector graphics. Maybe some others know this domain but you're two now near to deliver it.

anarkavre

NEW il y a 5 ans

Here is a BIN file if anyone wants to see it run on an actual Gamebuino META. Let me know if you have any problems.

jicehel

NEW il y a 5 ans

It's work well. Thanks for the playable demo. We can test how it's works fine. I have had no problem to explore with walk in front, turn, go back or straffe. I have made quickly  pictures to better recognize your demo on the Meta:


ICON.bmp


TITLESCREEN.bmp

Sorunome

NEW il y a 5 ans

This is looking fantastic!

I'd recommend you to add the binary link as download link in the creation (top post).

I can only imagine what aweseome games can be made with a raycaster like this, awesome!

I wonder, does it use floats all over? because if so, our MCU doesn't have floating point operations, so fixed point might give some speed performance.

alxm

NEW il y a 5 ans

Nice work! I just tried it out, looking forward to seeing it run full screen!

By the way @jicehel, for anyone interested in learning more about this technique, here are two great resources:

Now I need to go add sliding doors to my own raycaster :-)

JulienGio

il y a 5 ans

I highly recommend the second link you posted. The best one out there honestly for anyone who is just getting into this kind of stuff! 10/10

jicehel

NEW il y a 5 ans

Very good tutorials and good code examples ;) it's can help alot. Nice that you can help and compare your two programs to make your raycasting motor better. 

JulienGio

NEW il y a 5 ans

alxm alxm

I highly recommend the second link you posted. The best one out there honestly for anyone who is just getting into this kind of stuff! 10/10