mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-07 19:00:20 +00:00
1e405bb87f71d01574596b281d48fc5c5c41a86f
Have FOV config as it's own thing so it's easier to change the size of the FOV triangle without having to change multiple parts of the maths for it. Fov triangle needed because for some reason maps doesn't let us have our own fov ??
MAD Treasure Hunt
Treasure Hunt mobile app built with React Native and Expo.
Run
npm i
npx expo start --android
Notes
- The app accesses game/auth data through the centralized API endpoint via
src/components/API/API.js. - Navigation is handled with React Navigation native stack.
- Sometimes you might have to switch the API Endpoint URL. This is just Because of the fact that when I'm using the app I can't access the API endpoint, from the global URL. Therefore, I need my local API Server's IP as the URL
- Just Uncomment the
API_ENDPOINTvariable insrc/components/API/API.jsto use the actual API Server Which isapi.bobby.ip-ddns.com[Do not add any port thing here as it uses port 80 by default].
Languages
JavaScript
100%