What I like to do is set up a zoom variable and have an every tick set layout scale to lerp(Layoutscale, Zoom, 0.3) so whenever I need to zoom I just change the zoom value.
Yes, yes, you said it all. I have this system here in my project, but I started to see that I didn't understand very well how it works, and I always need to understand how the whole thing works. Now you've summed it up brilliantly.
Do you know of an easy way to make the UI scale with the camera? I haven’t dove into changing camera size much for my game but I don’t want to because the inventory always changes positions
Just scale the UI proportionally with the zoom. Like if the zoom scale is 1.5 just set the scale of the ui to “CurrentScale*Zoom” Make sure to set a variable for your zoom so that you can have multiple values.
The zoom In works like charm (when it's higher than 1) but for some reasons when it perform a zoom out it's keep shaking when CurentZoom as reached the Target. Do you know why ?
Hi my dear how are you! I have a doubt in this system there is a framerate error and this zoom ends up behaving differently on monitors with more hertz, I was told that it could be a lack of dt, can you explain how to do this? Thank you very much .
Derpy Potato2777 thanks for that info, ill be sure not to comment anything on any video again because apparently they cause significant harm to those who read it.
What I like to do is set up a zoom variable and have an every tick set layout scale to lerp(Layoutscale, Zoom, 0.3) so whenever I need to zoom I just change the zoom value.
Yes, yes, you said it all. I have this system here in my project, but I started to see that I didn't understand very well how it works, and I always need to understand how the whole thing works. Now you've summed it up brilliantly.
Super duper amazing!!! It's little details like this that really bring in immersion. Thanks!!! Can't wait to implement
You can recreate the same effect with just one instance variable , one local variable and the lerp function
Nice. I use lerp for the camera movement. Never thought to use it for the zoom. Thanks!
how to do it?
can u give example?
just wondering if you are gonna host any community game jams any time soon?
I am planning on it but nothing ready to share yet.
Do you know of an easy way to make the UI scale with the camera? I haven’t dove into changing camera size much for my game but I don’t want to because the inventory always changes positions
Just scale the UI proportionally with the zoom. Like if the zoom scale is 1.5 just set the scale of the ui to “CurrentScale*Zoom”
Make sure to set a variable for your zoom so that you can have multiple values.
@@mason3872 Or just scale the layer separetly, without scale the UI Layer.
You should be able to set the UI layer scaling property to 0. Which will make it stay the same size even if you scale the layout.
Vimlark oh shoot really? I’ll need to try that, thanks!
late to the party but for anyone searching: Select your Layer then set Paralax to 0,0 and Scale Rate to 0. This keeps it in place.
We like to see it.
Hey Vimlark i have a question, How To Make Squatch and stretch ? (in you're way)
I will make a quick tip on that soon :)
@@Vimlark Cool, i made a method, but i am waitin for yours :) I like you so much, you are amazing dude🎇
Dang, where was this during UGJ!
I know right? Every time I learn/figure out something new I just look at all the games I made without it.
Thanks for tutorial. But why it doesn't work in Function?
Ok. But can you scale the txt to the layout zoom?
Love it!
have code c3p?
The zoom In works like charm (when it's higher than 1) but for some reasons when it perform a zoom out it's keep shaking when CurentZoom as reached the Target. Do you know why ?
How do I make custom camera sizes tho?
OMG THANK YOU SO MUCH! after tutorial to tutorial I finally found the worked one. Thank you!!!
Hi my dear how are you! I have a doubt in this system there is a framerate error and this zoom ends up behaving differently on monitors with more hertz, I was told that it could be a lack of dt, can you explain how to do this? Thank you very much .
Thank you! That's helpful!!!
Yeah !
❤❤❤
Noice
Oh wow early
Derpy Potato2777 thanks for that info, ill be sure not to comment anything on any video again because apparently they cause significant harm to those who read it.
Pizza
First
Also do more mwg
LEGO Crummy Cole Dude did you not see his most recent Mwg He talked about how he’s burnt out and doesn’t wanna do as much mwg please just be patient
Taking a break at the moment but more will come. Thanks for your patience.
E
omr evano E
Derpy Potato2777 E