Let me know what you think of this tutorial! I think it's a really cool effect, I hope you all find it helpful! 🕹️Unity New Year Sale (Exp: 11 Jan 22): bit.ly/UnityNewYear21Sale 🕹️Check out all the Humble Bundle Deals: bit.ly/HumbleBundleDeals 🎁 Get OVER 115 Scripts, Projects and premium content on my PATREON HERE: bit.ly/SpeedTutorPatreon
@charlieratcliffe72942 жыл бұрын
This is great! I was wondering if there is a way to store the pictures into some kind of photo album for later viewing, such as in Legend of Zelda titles? Any help would be good!
@SpeedTutor2 жыл бұрын
You could create yourself a little inventory that stores all of the images you've taken, because we save the images into a variable. Use that variable to put into a free inventory slot. You could use a ScriptableObject and things like that.
@calvinms7503 Жыл бұрын
this video wins you a subscriber. Great work
@SpeedTutor Жыл бұрын
Thanks so much, Calvin! I'm happy to have you and I hope you find more great things you'll like! :D
@calvinms7503 Жыл бұрын
@@SpeedTutor yeah, especially the puzzle and interactable stuff in the asset store, that will help with my development. Thank you so much for your work!
@deadbroadcastpc2 жыл бұрын
Going to mess with this a lot today, thanks for the walkthrough my friend and that game is looking very atmospheric!!!
@SpeedTutor2 жыл бұрын
Thanks man! I really appreciate it. You let me know how it goes! :)
@teoprod2 жыл бұрын
Loved this man! Awesome work 👊
@SpeedTutor2 жыл бұрын
I really appreciate that, thanks very much my friend! :D
@pierocruz619110 ай бұрын
Great tutorial!
@SpeedTutor10 ай бұрын
I really appreciate it! :) What are you using this for?
@pierocruz619110 ай бұрын
I'm using it with 'native gallery' package to implement a phone camera mechanic for an app. I will try to graduate from university with this.
@badllama12106 ай бұрын
Thank you for this!
@SpeedTutor6 ай бұрын
You're very welcome, what are you using it in? :)
@badllama12106 ай бұрын
@@SpeedTutor I’m making something similar to Pokémon snap. I mainly needed the render target process portion of the tutorial. Then I moved on to interface tutorials.
@brmawe2 жыл бұрын
Love your vids! Great work.
@SpeedTutor2 жыл бұрын
Thanks man, I really appreciate that! :D
@random_precision_software2 жыл бұрын
Very Handy !! I remember doing something simular for my Google Play Store Games.. they need to be certain pixals x and y, and I got fed up doing it in Photoshop, so I wrote a an app for it !!
@SpeedTutor2 жыл бұрын
You're a smart man Roy! When did you release that?
@random_precision_software2 жыл бұрын
@@SpeedTutor ive put a few things on Google play store and the only thing that does my head is , the exact pixel size of the screen shots needed. I seen someone do a screen saver and adapted it,I can't even remember were I've put the project now lol
@SpeedTutor2 жыл бұрын
Haha, you must have thousands of folders and files!
@random_precision_software2 жыл бұрын
@@SpeedTutor 3x 500GB ssd's 1x3 terabyte hd and 1x1 terabyte hd
@BitGamey2 жыл бұрын
Great tutorial - nice job!
@SpeedTutor2 жыл бұрын
Thanks man, I appreciate it! :)
@shortStories197 Жыл бұрын
How to save these images in an album to get it later in game gallery? Please guide
@mateusztomaszek4921 Жыл бұрын
Anyway of being able to take these photos but also capture the canvas?
@robocem2569 ай бұрын
I haven't wachted the video yet but I want to know if this works in 2D too.
@SpeedTutor9 ай бұрын
It should work with whatever game you want to create :)
@robocem2569 ай бұрын
@@SpeedTutor Thank you, but I want to ask you a really important question. So in my game I want the player to click on the place that they want to take the picture of, so I figured out a solution: you take the mouse position, then get the opposite of the mouse position, then you set the photo display area position to that value. This way, the visible part of the picture aligns with the place you clicked on. Except that doesn't work AT ALL. I tried this multiple times, but all the photo display area does is that it teleports out of bounds to a random place. I found other solutions to why the photo display area might go to a random place, but I don't know that many codes and functions as much as you do. SO PLEASE HELP ME, can you make any suggestions on how to write a script like that???? 😥😥😥😥
@random_precision_software2 жыл бұрын
Matt, can I give people some advice m8? Never NEVER never call one of your scripts scenemanager lol..I imported my retro loading screen asset into my project, and it took me an hour and a half working out why I wasn't getting my menu screen scene loading in my game scene to work.lol DOH !
@SpeedTutor2 жыл бұрын
Haha, of course you can mention anything you want! :) Always great to share tips. Haha. Oh no, what did you rename it to?
@random_precision_software2 жыл бұрын
@@SpeedTutor just added a s to scene so to scenesmanager
@SpeedTutor2 жыл бұрын
Haha! Very good thinking! Sometimes such tiny things can mess you up.
@thatoneguykaden Жыл бұрын
Is there a way to make the camera UI to not show up until you press a button? Sort of like how you wouldn’t always have the camera up in your face until you bring it up and look through to take the picture if that makes sense
@jonathanpetersen1296 Жыл бұрын
Try using canvas.SetActive. Then use an if statement to bind that to a button. My code would look like this: public GameObject canvas; void Update() { if (Input.GetKeyDown("k")) { canvas.SetActive(!canvas.activeSelf); } }
@daekgownlim6555 Жыл бұрын
영상에서 18:52에 카메라 UI를 사용했는데 카메라 UI는 어디서 얻나요?? 음향 효과 포함
@SpeedTutor Жыл бұрын
What are you asking?
@daekgownlim6555 Жыл бұрын
@@SpeedTutor If you look at it at 19:32, you're talking about the UI you added to the corner and the center of the screen Project - > UI 요소 - > Camera_Centre_Cross And I want to know where I can get the sound effects of 20 minutes and 44 seconds. Effect of clicking or shutter sound I was deeply impressed by your video and worked on it, and I was wondering where I could get the UI you used in the video
@daekgownlim6555 Жыл бұрын
@@SpeedTutor And I'm very happy for your reply
@XionBrown2 жыл бұрын
Would this work with 2D?
@SpeedTutor2 жыл бұрын
It's taking whatever your screen is rendering so I don't see why not :)
@XionBrown2 жыл бұрын
@@SpeedTutor Nice, thank you!!
@GamesDeadhead7 ай бұрын
Hey, I used a second camera which has more of a zoom, and moved the creation of a texture2D into the Ienumerator that captures the photo. I'm still getting really 'wide' photos. Any idea why it wont recreate the visuals of the zoomed in camera?
@SpeedTutor7 ай бұрын
That's not something I can answer which testing it myself - Is it something you could put into ChatGPT or something similar to give you some thoughts?
@GamesDeadhead7 ай бұрын
@@SpeedTutor All good, figured it out. The solution was a bit different. I had the 2nd camera render to a render texture, and then changed the texture 2d to use the camera.activetexture width and height to create the tex2d. Tis bypasses the need to make a rect. Instead of using ReadPixels, I used Graphics.CopyTexture instead
@SpeedTutor7 ай бұрын
Amazing! Thanks for sharing your solution and thoughts. I hope it will help others out in the future :)
@qxt-so3qi2 жыл бұрын
Can I save the texture as a png in a folder ?
@qxt-so3qi2 жыл бұрын
So u can look at all the pictures you made in a "photo book" in the game
@SpeedTutor2 жыл бұрын
As these images are all saved into a Texture2D and Sprites within the code, you could then use them in a photo viewer for later use. If you kept that in a list of some sort for later! :)