🌐 Have you found the videos Helpful and Valuable? ❤️ Support on Patreon www.patreon.com/unitycodemonkey or get the Game Bundle unitycodemonkey.com/gamebundle.php
@CodeMonkeyUnity6 жыл бұрын
Question: What Minimap features would you like to see added in future videos?
@daniilparokonnyy79806 жыл бұрын
1) Ability to hide minimap by pressing keys 2) Render a grass in minimap window (gray background isn`t looks good) 3) I think it will be better to do minimap smaller.
@bmjnk36 жыл бұрын
a quieter keyboard
@Yami1337Gaming6 жыл бұрын
A regular fullscreen map would be cool!
@unvisibleone53676 жыл бұрын
Hi I mean learn us the codes
@christianmata57466 жыл бұрын
compass
@austinanderson8815 Жыл бұрын
For anyone struggling at the 5:15 mark: The source image he adds is a circle sprite (pretty easy to just create yourself) He also makes the minimap render texture a child of the image (the mask) in the hierarchy, and does not show it
@dapp5574 Жыл бұрын
legend
@juliokobayashi5652 Жыл бұрын
thanks bro
@aifias Жыл бұрын
thank you
@castlecodersltd10 ай бұрын
You saved me a lot of time, thank you ☺
@xxyoshi108xx98 ай бұрын
Bro your a FUCKING LEGEND. I spent so long trying to figure that shit out then I read your comment a it fixed it for me. Cheers mate
@emonikino4 жыл бұрын
probably one of the most efficient way to use a mini map.
@itsmidge2 жыл бұрын
I know this video came out some years ago, but this one was super helpful for me and I just used it to build a minimap/overlay map for my game. Thanks for making great content!
@CodeMonkeyUnity2 жыл бұрын
I'm glad the video helped! Thanks!
@coreysonofander Жыл бұрын
Same. I watched this video about a year ago and I am now just working on a minimap system for my game. What a fantastic resource!
@utkugokalp31796 жыл бұрын
This was one of the best unity tutorials I've ever seen
@la_treta5 жыл бұрын
Got to say, nice ad, nice video damn. Subbed
@Metal-fp1eu5 жыл бұрын
Это лучший канал по обучению создания игр в среде unity . Даже среди СНГ скучно смотреть видео. Так держать братишка. Ставлю лайк. Да да тебя смотрят и русские🙂
@ButterflyEsophagus5 жыл бұрын
Я думал я один
@PabloAM506 жыл бұрын
I just would like to say that your tutorials are awesome. Keep it going that good job! :)
@CodeMonkeyUnity6 жыл бұрын
Many thanks! Glad you like them!
@ObsessiveGames3 жыл бұрын
Best episode ever, so much a person can do with this, I actually want to know how to hit an enemy like you do in this video and make them fly away like a rigidbody in a 3D space.
@wertin2005 жыл бұрын
Your add help you a lot, its the first time i pressed on ad with out it being a misstake. Also your tutorial is great
@giorgitibiashvili14214 жыл бұрын
One of the best tutorials I have found on unity 2D
@daniilparokonnyy79806 жыл бұрын
I have got an idea for your game: make a night mode.
@saidarabhi12204 жыл бұрын
Whoa you are a good programmer
@spacecats36493 жыл бұрын
I love how your toon is just standing there and the enemies are stabbing you. Kind of comical.
@ahmednasser67574 жыл бұрын
this is exactly what I was looking for thanks you so much!
@davidson2727what3 жыл бұрын
Can upvote this video enough!!
@BlackDevil-xf8jd4 жыл бұрын
This is the video that I am exactly Searching for! Thanks Dude
@CJ-mr8dn3 жыл бұрын
How much knockback did he had on his sword lol😂😂😂
@IlseMulAuthor2 жыл бұрын
Here I was looking for an asset in the asset store to basically do this :D. Thanks for the tutorial!
@Krifix6 жыл бұрын
Thanks! Subscribed with 🔔
@paulomoreira52684 жыл бұрын
Hello, first I would like to thank you for all the tutorials you share. Now I would like to ask if there is any chance you can make a mini map tutorial when you press a buttom (m) and it shows the entire map and character location. Like in ORI game. Thanks in advance.
@newthepanch6 жыл бұрын
thank you so much for this info, very easy to understand and useful.
@SunnyValleyStudio4 жыл бұрын
Great video!
@pedrohov3 жыл бұрын
Helped me a lot! Much appreciated
@wignermatos14706 жыл бұрын
Thanks for the tutorial !
@riteshkhokhani2 жыл бұрын
awesome, many thanks, saved lots of my time at midnight
@PhilHorne6 жыл бұрын
Amazing tutorial! Thank you :)
@homeofgamesnews6 жыл бұрын
amazing tutorial. keep like that.
@roxannafabiolastefaniuc3606 Жыл бұрын
Thank you for the video :D Happy New Year
@CodeMonkeyUnity Жыл бұрын
Happy new year!
@Jun-hn5ff4 жыл бұрын
This is exactly what I looking for
@Oldaccountbackup6 жыл бұрын
Are you gonna do blender and Hammer tutorials too?
@CodeMonkeyUnity6 жыл бұрын
I'm not familiar with hammer or blender, I mostly work in 2D. Cheers!
@ayoitsjack73195 жыл бұрын
Apologies if this is a silly question, but wouldn't this mean in the scene view you always see the minimap icon in the way while you are trying to work on stuff? (Grear tutorial btw! Loved it)
@CodeMonkeyUnity5 жыл бұрын
Since we set things up to use a different layer you can go to the top right hand corner, click on the Layers dropdown menu and hide the Minimap Layer. It will still be rendered in game but won't show up in scene view. Cheers!
@user-km4zb4ur3q Жыл бұрын
your video very perfect!! thank you
@abcdefghjijklfgu Жыл бұрын
thank you this work great for me
@user-nt1ll1bd2c7 ай бұрын
Thank you so much
@Monzi12345678923 күн бұрын
Your videos are always very informative!! Can you show how to do fog of war inside the minimap only? (not on main screen) i have been struggling with this. Thank you!!
@CodeMonkeyUnity23 күн бұрын
Hmm you could do it just like you would do normal fog of war, except instead of hiding the normal visual object it would only hide the minimap sprite. What I built in the prototype for my recent DOTS RTS game is based on a mesh that constnatly draws to a texture, then that mesh is used as a mask to create the fog of war. kzfaq.info1BoKNH7faM0
@Monzi12345678923 күн бұрын
@@CodeMonkeyUnity thank you !
@uvuvwevwevweonyetenyevweug51164 жыл бұрын
Thanks for this video bro. Thanks a lot
@y01cu_yt10 ай бұрын
Thanks!
@queenb37303 жыл бұрын
best video on this thank you so much
@ZarifMont6 жыл бұрын
Thankyou
@riyudoauditore57405 жыл бұрын
Thank's for tutorial
@yuuisland2 жыл бұрын
awesome tutorial
@wes54573 жыл бұрын
Wou is realy Easy. Thanks GodMonkey
@lovePotato3 жыл бұрын
Legend!
@bobtheunbarry15575 жыл бұрын
I'm love your game
@hodleveryday4 жыл бұрын
I Love This Channel
@banzai18734 жыл бұрын
Thank you. you're awesome.
@freeze_the_seconds10595 жыл бұрын
Thanks I'm suscribed and I activated the bell
@pkmango3 жыл бұрын
very helpful thanks
@ARTHUR145234 жыл бұрын
Awesome thank you
@landonbrown32662 жыл бұрын
5:17 When you hid the Circle Mask, it didn't immediately change into a circle. But I noticed you edit something out after you uncheck the mask and it clipped to having it a circle with no other change. Is there something I'm missing here?
@CodeMonkeyUnity2 жыл бұрын
The masked object needs to be a child of the mask, look at the hierarchy
@landonbrown32662 жыл бұрын
@@CodeMonkeyUnity Thanks
@Wabbaxt3 жыл бұрын
thanks for the help
@dennisgonzales95215 жыл бұрын
Nice video! I wanted to implement this minimap functionality to my game, and thanks to you brother I can now do it 😀
@CodeMonkeyUnity5 жыл бұрын
Glad you found the video helpful!
@reich69365 жыл бұрын
How do I download the files without the minimap being created already? I want to download what you have at the very beginning of the video, but when I download the files from the link in the description, the minimap is already created and on the game. I don't want this because I want to make the minimap while following along with the tutorial. Thanks.
@ryanmoulla24094 жыл бұрын
I don’t think that you can get this one without the minimap but you can just delete everything from the minimap or take another game scene similar to this one on another CodeMonkey video
@freeze_the_seconds10595 жыл бұрын
Thanks from spain
@goldenapple8017 ай бұрын
I struggle at 3.17. In the scene view the player minimap icon is colorful but not in the game view. I believe it is due to i do not have the option to set the color format to ARGB32. I have tried the different options but no solution. What do I need to do?
@toxiconflict4 жыл бұрын
my minimap icon keeps going out of bounds. How do you keep it centered?
@littlejulystudio85053 жыл бұрын
Hi, I am trying to make a simple radar for a space sim game that is 2d but I want the UI icons not to rotate according the z and x rotation of the craft. So parenting isn't an option I think. Any Ideas? Should I use a script attached to every icon preventing the rotation or are there any scriptless cheat ways?
@LightniteProductions5 жыл бұрын
do I have to separate EVERY game object or I can create an empty and add all my game objects and do the steps you did right now to make a minimap??? PLZ ANSWER.
@CodeMonkeyUnity5 жыл бұрын
Im not sure what you mean by separate every game object? Do you want the icons to only use a single game object? If you had thousands of objects and needed a more performance minded solution you could make the icons into a single mesh drawing a quad for each icon. Would be faster but more complicated to implement.
@LightniteProductions5 жыл бұрын
@@CodeMonkeyUnity Thank you for answering if it wasn't for you I wouldn't have a minimap and even if I did, I would've had to separate every game object and it would've gotten all complicated. Thank you so much for the help! :))
@jbldvdplay23 жыл бұрын
thanks you
@kzd99936 жыл бұрын
Loved the tutorial, but at the end I didn't see you resizing the icons ☹
@CodeMonkeyUnity6 жыл бұрын
I just manually resized them. Selected the various icon gameObjects and doubled their scale. In the next video I do it through code based on zoom. Cheers!
@kzd99936 жыл бұрын
Thanx for the reply. Hope towards to the next tutorial
@MIKE-MURPHY Жыл бұрын
The video is old but gold
@CodeMonkeyUnity Жыл бұрын
Yup everything here still works great nowadays, it's still how I build a Minimap
@nadaked2 жыл бұрын
thnx a lot
@Budlog4 жыл бұрын
Hi, Great tutorial. Can you create tutorial also for minimap in 2d sidescroller game like it is in Grim nights? ...where you can click on some location in minimap and your main camera will be transformed to that location. I can't find anything like that on yt. Thanks :)
@SolidMotionVFX3 жыл бұрын
Hi thank you for awesome tutorial. I came here as I am follwoing your Radar sweep tut. I folloed every step, but my green cicrle sprite is not moving..?? My main camera had already a couple of scripts on it, but I tried with and without same result...
@mewkiaho30184 жыл бұрын
Hi, thank you for the tutorial! I couldn't find anywhere how do I put a custom imagem for the minimap background. I want to draw the map and place it on minimap preview...How do I do that?
@CodeMonkeyUnity4 жыл бұрын
Using this method you would place a Quad or Plane beneath the units with your map texture and make it only visible to the Minimap camera.
@christianmata57466 жыл бұрын
Can you make a simple quest system?
@CodeMonkeyUnity6 жыл бұрын
Hmm interesting, what specific part about a quest system would you like to see? Maybe I could look into making a generic class to keep track of events or something.
@christianmata57466 жыл бұрын
Code Monkey like when you picked up a 10 stone for example, the quest would be complete and another quest will pop up.
@xen66045 жыл бұрын
Can you do a map tutorial, like a map in your inventory that you can check.
@SepiaDragoonGR5 жыл бұрын
can you add buttons on the minimap and make them interactable?
@CodeMonkeyUnity5 жыл бұрын
What kind of buttons? In the video after this one I create some buttons to modify the Minimap kzfaq.info/get/bejne/irWpmsijxqnWdYU.html If you mean clickable buttons right on the minimap that's a bit tricky since you can't capture clicks directly going through a RenderTexture. You could make the sprites clickable then put the minimap in full screen and capture the clicks as normal.
@SolidMotionVFX2 жыл бұрын
I have a follow player script attached to main camera. My little dot only moves as intended if I disable that script. Please advice as I need camera to follow player
@DannyGames72 Жыл бұрын
Great tutorial! The minimap works perfectly fine while testing for me. Yet for some reason in build its completely black, any ideas?
@CodeMonkeyUnity Жыл бұрын
Are you making an android or webGL build? Those can sometimes have some issues with render textures but it should work Check the logs on the build, maybe there's some error stopping it from running
@DannyGames72 Жыл бұрын
@@CodeMonkeyUnity Managed to fix it, had to change the depth stencil format to D16_UNORM for the android build. Thanks for the help!
@CamperJohn4 жыл бұрын
I'm looking to have a 'treasure map' type of map. where I have a 'cartoon type map' with a X that marks the spot. different than a minimap show the character moving within his know environment. the character would have a marker showing his location on the treasure map. the map would be totally different than the landscape/terrain map (hope all this makes since)...any thoughts how how to accomplish this?? any help greatly appreciated.
@CodeMonkeyUnity4 жыл бұрын
You can do pretty much the same thing as here, except instead of having it always in the corner of the map you would show and hide at the press of a button. Then also perhaps keep the Minimap Camera fixed instead of following the player.
@CamperJohn4 жыл бұрын
@@CodeMonkeyUnity thanks for the thoughts...and I should have spellchecked my first post...lots of grammar mistakes...lol
@CamperJohn4 жыл бұрын
@@CodeMonkeyUnity ...if I have a fixed minimap camera, I guess I would have to do some type of coordinate update to show the characters location on the 'treasure map'...as he moves across the map???? thanks again for your quick reply...
@MaruskaStarshaya5 жыл бұрын
I have a problem with players icon: when player moves icon shakes, it can be solved only by attaching icon to camera, but this is I don't want to.
@MrExtremeDragon6 жыл бұрын
can you make a tutorial about rendering?
@CodeMonkeyUnity6 жыл бұрын
What part of rendering? Graphics programming isn't my strong point but I can do some videos on the absolute basics.
@MrExtremeDragon6 жыл бұрын
If you can , all parts... but if you can't make it ... maybe a garbage collection tutorial ... i think it will be more useful for everyone than rendering graph... ty .
@lewisguapo7 ай бұрын
I've sepeatete the icons to different layers and try to hide it from the main camera but it keeps showing up and the map camera does not rotate either...
@CodeMonkeyUnity7 ай бұрын
Make sure you're changing the layer of the object that has the rnedering component. If you have the SpriteRenderer on a child object but you only change the layer on the parent it won't hide
@masterh26035 жыл бұрын
did you scale the objects that are being rendered in the minimap using the transform tab inside the inspector of each object.
@CodeMonkeyUnity5 жыл бұрын
The objects rendered in the minimap are based on what the camera sees. So you can scale up or down the icons based on the minimap camera settings.
@Gamegenie51724 жыл бұрын
Hey Mr.CodeMonkey the utils you made... also work on mobile devices such android?
@CodeMonkeyUnity4 жыл бұрын
Sure, none of the functions are related to the device
@Gamegenie51724 жыл бұрын
@@CodeMonkeyUnity actually the eventhandler utils helps me a lot especially whenever i point to an object and move it around..
@jesslynlorenzo234 жыл бұрын
I dont know what's happening but my player in the minimap dont move! T_T HELP PLS!
@CodeMonkeyUnity4 жыл бұрын
Did you make the Minimap icon a child of the player?
@GameBoy-ov9xi2 жыл бұрын
Mini map click to zoom in full map? Like press M to get a full screen map? No one online showing this please help?
@Zammle3 жыл бұрын
Render texture isn't in the drop down for create objects D:
@queenb37303 жыл бұрын
Is there a way to desplay things added as tiles on the map?
@emmanueldavis18722 жыл бұрын
Could you make a minimap with Processing Javascript?
@alamkhan81574 жыл бұрын
in unity 2019.3 there is no clear flag option in URP mode... how can i able to do clear flag
@azuraxxv3 жыл бұрын
hey thanks for tutorial, I've got a problem, when i change the screen resolution, the map position changes too... instead of being in the corner
@CodeMonkeyUnity3 жыл бұрын
Change the object anchor, by default it's on the center
@azuraxxv3 жыл бұрын
@@CodeMonkeyUnity thanks very much, Now i Got it :)
@andrewboateng60404 жыл бұрын
Thank you very much. I followed the tutorial. However, when my player moves, the greed circle does not move on my minimap
@CodeMonkeyUnity4 жыл бұрын
It is a child of your player?
@andrewowusu2794 жыл бұрын
Code Monkey yes please
@noonesp3cial Жыл бұрын
hey! late to the party but in later versions the 'target texture' is no longer there. the only thing available is the 'output texture' but it doesnt seem to work.
@CodeMonkeyUnity Жыл бұрын
Yes Output Texture does the same thing, what exactly doesn't work? I have a more recent video here unitycodemonkey.com/video.php?v=Ah2862Gz3_s
@noonesp3cial Жыл бұрын
@@CodeMonkeyUnity Thank you. Nothing would render on the texture but a restart did the trick. Your dope as hell though for answering me.
@OscarGonzalez-kb3gg5 жыл бұрын
Is C# or JS required? Excellent video.
@CodeMonkeyUnity5 жыл бұрын
Unity no longer supports JS so everything is in C#
@9thperspectivegames4 жыл бұрын
Hello there, Do you have a link to the grass texture you used? Thanks!
@CodeMonkeyUnity4 жыл бұрын
I got it ages ago so don't remember exactly which one it is, there's tons of free ones on the Asset store
@NobSwitch Жыл бұрын
When you change the icon from enemy to deadbody, are you changing the gameobject completely? I am trying to change the actual sprite from a single gameobject during code and am not having much success doing so!
@CodeMonkeyUnity Жыл бұрын
What problem are you having? Just changing the Sprite field should work just fine. If it's a spriteRenderer you just need to change the spriteRenderer.sprite If it's a Quad you need to change the material.mainText
@NobSwitch Жыл бұрын
@@CodeMonkeyUnity I was changing the spriteRenderer.color < - will eventually be changing the spriterenderer.sprite but I'm just in the prototyping stage and have not drawn my sprites yet. I think what the issue is, is that the object that I have the script on is the parent of the parent of the object with which I am trying to change, oh and it's also part of an array. This is why it's so complicated for me!! Side note : I did not expect you to respond thank you so much for even inquiring as to how you could possibly help me
@Random-uo8sp5 жыл бұрын
I did use arrow to represent my car But how can I use an arrow to represent ai car
@thephgamememerz13645 жыл бұрын
What Should Can I Download Useless App On Programming On My Game Can Any One Help Me Please !!! ?
@rezaanataj69783 жыл бұрын
That's awesome ❤️ But I noticed about 20-30 fps drop while mini map enabled. I appreciate if anyone suggest any solution
@CodeMonkeyUnity3 жыл бұрын
Maybe change the resolution of the render texture or disable anti-aliasing
@rezaanataj69783 жыл бұрын
@@CodeMonkeyUnity i tried different resolutions and anti-aliasing was disabled by default but didn't make much difference
@wizardjo Жыл бұрын
What is the name of the system that you used to render the required aniamtion for all the angles and actions ?
@CodeMonkeyUnity Жыл бұрын
Are you talking about the characters? My system is based on dynamically generated meshes, I covered the basics for how it works here unitycodemonkey.com/video.php?v=11c9rWRotJ8
@wizardjo Жыл бұрын
@@CodeMonkeyUnity You are the best :)
@lazyemperor51823 жыл бұрын
I Needed a Minimap Without Another Camera.. ITs not Performant , i Have Experienced Fps Drop.. Why Dont u Make a Tutorial Which Uses A Image And Moves The Player On That Image..Much More Performant And Many Games Do That... :(
@CodeMonkeyUnity3 жыл бұрын
As the title says this is the simplest implementation possible, if you need something that is extremely performant then you need a more complex approach.
@sneddengonsalves932011 ай бұрын
not sure why but all my sprites inside mini map appear to be black , no matter what colour I give them
@CodeMonkeyUnity11 ай бұрын
What shader are they using? 2D Lit? If so add a 2D Global Light to the scene and make sure it's hitting that object on that layer
@sneddengonsalves932011 ай бұрын
@@CodeMonkeyUnity yes, that was it , made it unlit, its working now, figuring out how to pan the map using the mini atm
@lmfaoyougay24205 жыл бұрын
How large the map that's desplayed in the main camera have to be?
@CodeMonkeyUnity5 жыл бұрын
Not sure what you mean, the map can be any size you want. You can zoom in or out with the minimap camera.
@mladennikolic43943 жыл бұрын
how to hide canvas on minimap camera? if i uncheck UI in culling mask nothing happends
@CodeMonkeyUnity3 жыл бұрын
Are the canvas objects in the UI Layer?
@mladennikolic43943 жыл бұрын
@@CodeMonkeyUnity im fixed the problem, anyways thanks 😂
@tenminutetokyo26435 жыл бұрын
DOOD!
@androidgamesrodrigo2542 жыл бұрын
can i do this tutorial in unity 3d?
@CodeMonkeyUnity2 жыл бұрын
Yup, just use a 3D camera, I covered that here unitycodemonkey.com/video.php?v=Ah2862Gz3_s