r/reactnative • • Nov 08 '22

Location-based AR game built with react native

409 Upvotes

42 comments sorted by

16

u/ste001 iOS & Android Nov 08 '22

Just for curiosity... what did you use for the AR? I know Viro as a library for example, don't know if there are other good ones.

10

u/TomatoSlasher Nov 08 '22

yeah I used viro react

2

u/db117117 Nov 09 '22

Have you played with apple ARKit/ how does it compare to viro?

2

u/[deleted] Nov 09 '22

This is such an insane project broo, how'd u get it to realize you took a picture of one of the items in the capture list?? Was it through machine learning?

5

u/pbOmen Nov 08 '22

Wow this is awesome is this your project?

5

u/TomatoSlasher Nov 08 '22

yup

5

u/pbOmen Nov 08 '22

That is awesome! Congrats on the awesome project!

Did you have the project open on github or is it private? I'd love to see how it was done

5

u/spicy_dubois Nov 09 '22

I love any network app that involves exploring - the AR element is an amazing additional layer. You've done a great job of synthesizing the virtual elements and the real ones into a single experience, so well done. I would love to play this game/test the app out, will that be possible any time soon?

4

u/TomatoSlasher Nov 09 '22

Thanks for the feedback, I can send you an invite when I launch the beta

3

u/Few_Thing1530 Nov 09 '22

Please send me one too this is incredible I'd love to play this

1

u/spicy_dubois Nov 09 '22

Thank you, I would love that.

1

u/PuffinDev Jun 02 '23

Please send me an invite too! Your game looks awesome!

2

u/CoinDust0 Nov 08 '22

What library do you use for the map?

6

u/TomatoSlasher Nov 08 '22

react-native-maps

2

u/CoinDust0 Nov 08 '22

And, it work with android?

3

u/TomatoSlasher Nov 08 '22

yeah it does

3

u/CoinDust0 Nov 08 '22

With OSM?

36

u/progressgang Nov 08 '22

Great UI, really simple demo as well. I’d be adding this in my pitch deck.

15

u/kbcool iOS & Android Nov 08 '22

Nice! Goes to show you can actually make games with React Native. Might not be an FPS but still a game.

12

u/Presence_Flat Nov 08 '22

Hmmm that's definitely not a todo list!

5

u/suarkb Nov 08 '22

Nice work. Do you have to pay any money for what you are using? Like specifically for the Google maps API related stuff?

4

u/PNM76 Nov 08 '22

Pretttttttyyyyy

1

u/GroovyFarcaster Nov 21 '22

Awesome... is there a ML part to figure out the objects? I.E. the seat etc?

1

u/TomatoSlasher Nov 21 '22

yeah it's using a ML for label detection

1

u/GroovyFarcaster Nov 21 '22

fantastic! šŸ™šŸ¼ Looks to work great

3

u/do1earning Nov 08 '22

Great job here!

5

u/bouldercpp Nov 08 '22

Would love to see the GitHub repo for this!

2

u/MantusTMD Nov 08 '22

So what is exactly is the game? Looks great

2

u/[deleted] Nov 08 '22

Looks awesome!

2

u/90210hillsway Nov 08 '22

really great work!

2

u/unitcodes Nov 08 '22

impressive

2

u/luksfay Nov 08 '22

thats wild

2

u/[deleted] Nov 08 '22

this is so cool!!!! hope i get to be a part of a project like this someday

2

u/TJGhinder Dec 06 '22

Great job! Im working on a similar project right now, in Flutter.

How long have you spent on this, if you dont mind me asking? Does it have a full on server / backend? Sign me up for the beta as well--this looks super fun!

2

u/ahmedsultan77 Feb 01 '23

Very impressive!

Did you have to select an old version of RN/Expo to run Viro? or did you find a workaround to run on a newer version?

3

u/_SyRo_ Nov 08 '22

Wow, that looks nice!

Would you share the code?

It would be interesting to see it.
Thanks

1

u/geraldbathorja Apr 22 '24

Hi there, nice one.

One question here, when you say location based AR do you mean converting real world coordinates into AR world coordinates? If so, how did you achieve that conversion with Viro's camera who lacks providing the range of angles from 0-360 degrees?

Thanks in advance. :)

1

u/WhichCarry3548 Apr 08 '25

Hi!

May I Ask you if you have used ViroArPlane to place your 3D model into the Camera or did you use another Component like some location based one? Seems like your model is not jumping as much if it would be based on the geolocation.

Thank you so much for answer!

1

u/PackageWide4456 Nov 09 '22

šŸ˜ really excited about this been waiting for this to be in the making!! Any chance I could get a peak or get access if so would be willing to give 100% feedback..

1

u/Ghigareda Nov 28 '22

This is awesome! Is the repo public?

1

u/suckarepellent Nov 30 '22

Sweet! I'm trying to build my first projects right now and one of them is location based. This is inspiring. As others have mentioned already, would love to see the repo.