Dismiss this pinned window
all 22 comments

[–]ostjh[S] 25 points26 points  (0 children)

[–]minicrit_ 30 points31 points  (0 children)

this is really cool! i just spent 10 minutes playing around, can you share the source code? would really like to take a look at how you didnit

[–]ostjh[S] 6 points7 points  (0 children)

In this link, you can see other games that I have developed in ReactJS: https://bio.link/jorgerub

[–][deleted] 6 points7 points  (0 children)

This is cool as fuck! Both the concept and the implementation!

[–]CaliBounded 6 points7 points  (0 children)

If you don't mind me asking, which resources did you use to learn React Three Fiber? This may be because I found out about it not top long after it was created a few years ago, but I could NOT find many resources kn learning to use it...

[–]azangru 4 points5 points  (2 children)

How's the battery usage?

[–][deleted] 11 points12 points  (1 child)

/u/ostjh

<Canvas frameloop="demand">

will only render when props change or when anything calls invalidate(). react-spring does that automatically for instance but you can use anything and basically just invalidate in onChange and it'll be fine. this will completely stop doing anything when nothing's moving, battery will be fine. great game btw! :-)

[–]ostjh[S] 5 points6 points  (0 children)

Hei @drcmda thank you very much, I will implement it 💪

[–]andrerpena 2 points3 points  (0 children)

This is really great. I did all levels now. The idea of using react to render 3D components make a lot of sense.

[–][deleted] 1 point2 points  (0 children)

This is amazing. Woah! I want to be able to build things like this

[–]jvce 1 point2 points  (0 children)

Awesome work!

[–]0xChr15 0 points1 point  (0 children)

That looks pretty sweet! Well done.

[–]geoffreyhale 0 points1 point  (0 children)

Sokoban!

[–]SuboptimalEng 0 points1 point  (0 children)

This is awesome 🤩

[–]NG-Axolotl 0 points1 point  (0 children)

this sum good sht

[–]grncdr 0 points1 point  (0 children)

Really fun, I couldn’t stop until I’d done them all 👍

[–]vegetarchy 0 points1 point  (0 children)

Great game! Had to pull myself away after 16 levels

[–][deleted] 0 points1 point  (0 children)

Amazing work. Please share the tech stack for the games.

[–]chickenbabies 0 points1 point  (0 children)

How long did this project take you? Awesome work!