How to make a Location Based (Map) Game in Unity Tutorial

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 49

  • @nimajamalian
    @nimajamalian  Рік тому +11

    If you like me to make more tutorials make sure you like this video and subscribe! 😁

    • @tenebros7748
      @tenebros7748 Рік тому

      If you want to make other tutorial i would be interested how to, specify dimension of a plane throught the sdk, i want to make the world a grid of plane of 250m*250m, i managed to only generate those near me but i can't find how to specify they dimension and how to make them stick to it with the zoom level

    • @strawberrygoat
      @strawberrygoat Рік тому

      I sent you an e-mail with some follow up questions, please respond

    • @pratikdeshmukh7508
      @pratikdeshmukh7508 Рік тому

      Please make more videos on MapBox in unity

  • @gregger5136
    @gregger5136 9 місяців тому +1

    This is amazing. Literally everything I wanted for my first prototype is explained here. Good job Nima.

  • @Kapacs
    @Kapacs Рік тому +2

    Really excellent tutorial. I wanted to advise anyone that might be getting memory leaks or any other errors to use ChatGPT and feed it the stack trace as well as any code that it might be able to modify and change. This really saved me hours of debugging.

  • @alanmsy47
    @alanmsy47 Рік тому +5

    any tutorial for change this to AR ?

  • @jaschaduits4844
    @jaschaduits4844 Рік тому

    Thanks learned a lot! Great teaching

  • @Alkarym24
    @Alkarym24 Рік тому +7

    Great video! Thanks.
    If I might just point out a few downsides, it's nothing personal, and, please, do take it as the constructive comment it's meant to be!
    First: while I agree that the default unity layout is not the best, you should tell your students/ viewers that's it's entirely up to them to go either way and maybe not spend time setting it up yourself in the video ;)
    Second: shooting these videos in "scenes" where you follow a script would save on the clarity of the message broadcasted; if you shoot the video in pieces, you can do multiple takes and choose the best one at editing.
    Third: the said "Edithing" would greatly shorten your videos and maybe not scare viewers seeing a 1h35m long video. Cutting load times, silence, mouse slips and general mishaps would completely transform the face of your tutorials from some base lecture to some great resource everyone need!
    Anyway, enough rambling on my part. Once again, thanks! I don't think i would've figured all that out on myself :)

  • @charlestang4770
    @charlestang4770 Рік тому +2

    Really great tutorial!! That's helpful. I wonder if I use this in AR project, how can I control the map size to exactly the real world size? Cause if I change the `Zoom` parameter in map, the position of the object spawned will change as well..

  • @pkn5599
    @pkn5599 Рік тому +1

    i will be very grateful, If you have next chapter for tutorials on how to make the game closer to Pokemon Go. Thank u Nima

  • @kurozipp
    @kurozipp 2 місяці тому

    Hi there, great tutorial! Does anyone know if it is possible to have a vectorial map in my mobile app (working with Unity and Mapbox)? The problem I find is that the zoom-in and zoom-out are not fluid and everything looks pixelating because basically, Unity shows a rasterized image, not a vectorial map.

  • @YanaPoch
    @YanaPoch 2 місяці тому

    Hi. Thank you for the tutorial. Any idea why my player and the map are just pink? I dont see any map when i hit play, i just see a pink plane.

  • @strawberrygoat
    @strawberrygoat Рік тому

    Love it, thanks

  • @ho2626
    @ho2626 Рік тому

    Amazing movie! Thank you very much! Really helpful!!

  • @Pnm279
    @Pnm279 Рік тому

    Thanks for the video, really useful

  • @lolloBriggi
    @lolloBriggi Рік тому +1

    do you know if it is possible to increase the resolution of the map? in my game the main camera is much closer to the map and therefore the streets are pixellated.
    thank you for the video, there aren't many on the mabox unity sdk unfortunately.

    • @nimajamalian
      @nimajamalian  Рік тому

      Hi, I have not worked with Map Box in a while buy yes there is a way to adjust the resolution you need to play around the setting but I don't remember the where exactly it was anymore. 😅

  • @Dew389
    @Dew389 5 місяців тому

    Is there possible to show path between two localizations? (path going only through roads).

  • @jjjjlllsssaa
    @jjjjlllsssaa Рік тому +2

    thank you for the video! I can't find the unity location provider and geo location library package though. Can you tell where to download it? thxx

    • @nimajamalian
      @nimajamalian  Рік тому +1

      I have added the GeoCoordinate Script under description.

  • @mudiwanyikavaranda
    @mudiwanyikavaranda Рік тому

    thank you for the tutorial. Is it possible to add line renderer that navigates to the places put on map?

  • @dakhanesarvesh2102
    @dakhanesarvesh2102 Рік тому +1

    Hello Nima, last week itself I tried the Mapbox SDK for unity 2021, and I faced a hell lots of bugs due to the deprecated AR code in MapBox SDK. was it also the same for you hence you went for the Unity 2020 version? Do you have any suggestions on this?

    • @nimajamalian
      @nimajamalian  Рік тому +1

      Hello, don't import the AR example as you said they are deprecated and will not work. Look at 3:56

  • @IZKILANI
    @IZKILANI 4 місяці тому

    I can't build the project (for Android)

  • @wisdomkhan
    @wisdomkhan 9 місяців тому

    How to show the directions to the target locations like in actual google map?

  • @isleofdeath
    @isleofdeath 11 місяців тому

    Greetings, if I need this in a mobile game, what rendering pipe do I select -- 3D, 3d Mobile or 3d URP? I need some other simple graphic things, nothing sophisticated (maybe simpel drawing into a map with shapes, lines, etc., camera pictures taken etc.). Thanks for help!

  • @tenebros7748
    @tenebros7748 Рік тому

    Any idea how i could make a grid from the whole world and generate those that are around the player ? Like in the game "City Domination" ?

  • @AliHaider-cb4pm
    @AliHaider-cb4pm Рік тому

    does the same works for the AR i visit the same event pointers with my device will i be seeing those event spawners in AR or how to make it possible?

  • @andrewjeya2960
    @andrewjeya2960 4 місяці тому

    where can i get the pointer and location script package?

    • @nimajamalian
      @nimajamalian  4 місяці тому

      Link to the GeoCoordinate Script is in the disceptation 😀

  • @StatusTechDev
    @StatusTechDev 11 місяців тому

    I have tried importing the Mapbox SDK for Unity into my project. When I do, I get over 999 errors for CS0246. I am making an IOS project, so that might be why but this is a mobile targetted API? Anyways, these are all of the different CS0246 errors i am getting;
    Vector2d
    UnwrappedTiled
    EventArgs
    'VectorFeatureUnity'
    UnityTile
    AtlasEntity
    VectorFeatureUnity
    MeshData
    VectorTileFactory
    UVModifierOptions
    I tried finding the namespace for most of them, but I have not found any successful yet.

  • @luthfiardiansyah8530
    @luthfiardiansyah8530 Рік тому

    Helo Nima, if I want to use Mapbox SDK but multiplayer with Photon Unity Networking, how can do it?

  • @charanjeetsinghjaswani5058
    @charanjeetsinghjaswani5058 Рік тому

    is it working with android 13 because when i tried mapbox with android 12+ devices it was not working

    • @tatjana7008
      @tatjana7008 Рік тому

      I test another game with mapbox with android 13 and it didn't work for me as well

  • @user-mw8bx6ie6k
    @user-mw8bx6ie6k Рік тому

    오! I love you❤❤

  • @shanjohnkj6851
    @shanjohnkj6851 Рік тому

    From Goldsmiths Game Programming

  • @reynax2841
    @reynax2841 Рік тому

    can we have the location pointer package please?

    • @nimajamalian
      @nimajamalian  Рік тому +1

      I have added the GeoCoordinate Script under description.

  • @Keliuszel
    @Keliuszel 9 місяців тому

    Make a unreal engine 5 tutorial also, new unity policies make it impossible to make your game free of charge for users by adding a 1$ fee for download, and i guess neither dev would pay for players to get their own game or the users would pay for a game

  • @ravindudwijayathunga4618
    @ravindudwijayathunga4618 Рік тому

    Could you please send the 'Location Based.unitypackage' file?

  • @ZenG2000
    @ZenG2000 Рік тому

    sir wheres the Location Based.unitypackage?

    • @nimajamalian
      @nimajamalian  Рік тому

      I have added the GeoCoordinate Script under description.

    • @ZenG2000
      @ZenG2000 Рік тому +1

      @@nimajamalian can i get the file EventPointer prefab? thank you! for my thesis purposes sir thanks