RTXDucks by Timo Strating

[raw]
made by Timo Strating for Ludum Dare 51 (JAM)

Some ducks have escaped to the world of RTX. Could you please click on every ducky to get them back?

Rendering the game may take some supreme RTX powers. So a frame every 10 seconds sounds about right. Have fun with your newly gathered RTX powers. (REAL RTX NOT REQUIRED)

đŸ•šī¸ How to play

Use your cursor to see more of the image.

Click on a ducky when you start seeing it.

If you are correct a new level will start.

Technical details

I have build a ray tracer based on the book series Ray Tracing in One Weekend. This book has recently released to the public domain and is availible here. https://raytracing.github.io/

JavaScirpt sends mouse inputs to c++ that is compiled to webassembly using emscripten. Using Emscripten/val.h memory is shared between c++ and javascript. This results in the following magic. JavaScript calls a c++ function to do all the fancy ray tracing. The results are stored in a buffer in c++. This buffer in then placed on the JavaScript canvas at the end of the fancy raytracing magic.

Note: This is my first sort of working raytracer. It can be made many times faster and many things are not rendered correctly.

Tools / Sources:

Boilerplate code and most raytracing code is inspired or based on https://raytracing.github.io/ The knowhow how most of this works is from https://www.cs.uu.nl/docs/vakken/magr/2021-2022/ Duck model is made in Blender (Obj file is converted to code using python)

Ratings

Overall 589th 3.5⭐ 21đŸ§‘â€âš–ī¸
Fun 896th 3.025⭐ 22đŸ§‘â€âš–ī¸
Innovation 91th 4⭐ 22đŸ§‘â€âš–ī¸
Theme 1147th 2.675⭐ 22đŸ§‘â€âš–ī¸
Graphics 291th 4.05⭐ 22đŸ§‘â€âš–ī¸
Audio 771th 1.8⭐ 17đŸ§‘â€âš–ī¸
Humor 193th 3.632⭐ 21đŸ§‘â€âš–ī¸
Mood 979th 2.947⭐ 21đŸ§‘â€âš–ī¸
Given 5đŸ—ŗī¸ 12đŸ—¨ī¸

Feedback

Joe Bevis
03. Oct 2022 ¡ 23:11 UTC
This is cool and very clever! In the future, some RTX-On music wouldn't go amiss!
LDJam user 219121
03. Oct 2022 ¡ 23:16 UTC
I found the ducks no way
🎤 Timo Strating
03. Oct 2022 ¡ 23:18 UTC
Thanks for the suggestion. I have dabbled with music in the past but it is not one of my strong points. when I do add music it's mostly simple sounds from generators or some self made ambient music. If you have any suggestions of a great tool, then please feel free to post those here as well. If you know a tool that works well on Linux then that would be really great :)
CooLguNxDD
03. Oct 2022 ¡ 23:19 UTC
RTX ON! REQUEST AIR DROP 3090 ti * 10!!! NOOO MAYDAY MAYDAY! BOMB
nuns
03. Oct 2022 ¡ 23:19 UTC
I love the premise of this game! Kind of reminds me of trying to find a needle in a haystack but it adds the rtx elements along with the fun. Adding some audio would make aspects of this game more engaging too!
Grif_in
03. Oct 2022 ¡ 23:22 UTC
Fun concept rendering over time in a limited area! Feels like it could be expanded on in a larger game in interesting ways.
Ciber_Turtle
03. Oct 2022 ¡ 23:23 UTC
A very unique idea for a game!

But I cannot find the duck here
![Screenshot from 2022-10-03 18-21-02.png](///raw/d6b/e2/z/519d6.png)
Jag
03. Oct 2022 ¡ 23:24 UTC
That was a fun little game haha! I think this idea could be expanded into something even bigger! The last image was pretty hard i couldn't really spot the duck but clicked randomly and got it anyway. I wish there was more!
🎤 Timo Strating
03. Oct 2022 ¡ 23:44 UTC
I had an additional level planned before the last one but I did not get it rendering correctly but yes i totally feel you some additional levels would have made it way better.
lululululu
04. Oct 2022 ¡ 04:13 UTC
raytraces ur ducks
coolbeens
04. Oct 2022 ¡ 04:25 UTC
This game RULES!! i love it! it was so fun searching for the ducks and the concept is so funny! short and sweet, i would definitely play a longer one!
LDJam user 237588
04. Oct 2022 ¡ 19:29 UTC
Revealing 3D objects using raytracing by moving your cursor is pretty cool, well done.
I laughed when the first duck appeared.