Mirrors with reflection in Godot 4

  Рет қаралды 27,533

Dreamed Away

Dreamed Away

Күн бұрын

Пікірлер: 96
@ShaolinDave
@ShaolinDave 7 ай бұрын
Short, to the point, and easily understandable. You e got a new sub, I think Godot devs might be the only people online who know how to get straight to the point. People posting recipes online could learn something.
@EvenTheDogAgrees
@EvenTheDogAgrees 7 ай бұрын
Today we're going to make scrambled eggs. Eggs are nutricious, affordable, a good source of protein, and so much more than just a breakfast staple. There are so many ways to prepare an egg, that no matter the occasion, you'll find there's an egg recipe that's totally suitable to the occasion. I can still remember the first time I tasted an egg as a 4 year old, when my grandmother made us breakfast on one of those seemingly endless summers, when me and my sister had a sleepover on her farm. They had chickens, so they had an abundance of fresh eggs, and one morning she took us out to the chicken coop to... And by that time I've already switched the channel. 😂
@ShaolinDave
@ShaolinDave 7 ай бұрын
@@EvenTheDogAgrees if it’s a text site, you forgot a bunch of on-page ads breaks. But “change the channel” means it’s a video, so you forgot the unnecessary theme song and logo, “please like and subscribe for more recipes”, and finally “but first, a word from this video’s sponsor…”
@EvenTheDogAgrees
@EvenTheDogAgrees 7 ай бұрын
@@ShaolinDave Nah, I just didn't feel like being dragged before a tribunal for crimes against humanity. 😂
@connorkapooh2002
@connorkapooh2002 7 ай бұрын
​@@ShaolinDavesponsorblock ;)
@toast7969
@toast7969 9 күн бұрын
​@@EvenTheDogAgreesThanks for giving us a quick to the point example of how people ramble on and on😂😂😂
@LazY_NerD
@LazY_NerD 7 ай бұрын
After everything, It's still you.....
@idesys3135
@idesys3135 6 ай бұрын
Woahoahoahoahoah, oahoahoahoah, oahoahoah story of Undertale I fell from the light Talk or should I fight Monster genocide This my Undertale
@CassyCodes
@CassyCodes 7 ай бұрын
That's genius! The effect looks amazing over the aquarium, too. Thank you
@CholoRafael
@CholoRafael 7 ай бұрын
Thanks for this. In my version, i added an area2d to the mirror that creates a sprite for the body that enters the mirror’s area2d. This way it should make a reflection for all players or npcs that enter the area.
@giuwahdangelo102
@giuwahdangelo102 6 ай бұрын
Did you use the same code for it?
@SuperDoomKing
@SuperDoomKing 7 ай бұрын
I love your art style. Looks very earthbound-y.
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
Thanks!
@clecioespindolagamedev
@clecioespindolagamedev 7 ай бұрын
Wow... Amazing, Just loved the game, nos seeing this tutorial Just have to thank you for the result Dreamed Away achieved. Congrats.
@jamesonwhite167
@jamesonwhite167 7 ай бұрын
Thank you dude! Didn't even realize what the project was or what the channel was until I realized. "Wait. This looks like Mother 3. Wait. The channel is called Dreamed Away. Wait. I've seen them in a Mother Direct." You've earned a Sub!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
haha, awesome! Glad you found the channel!
@denyskorkh3189
@denyskorkh3189 2 ай бұрын
Oh man, I read you on Twitter! Dreamed Away game looks really beautiful! And this is very useful tutorial. I have developed my first game Starlight Ridddles and currently working on the new one and I need a mirror in my new game 😀
@dreamedawayrpg
@dreamedawayrpg 2 ай бұрын
Awesome!
@kevinkowalski1
@kevinkowalski1 7 ай бұрын
Top Tutorial. I really liked to see how you make those ingame lights. They look very good!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
I'll make another tutorial :)
@Plobx
@Plobx 7 ай бұрын
You're an excellent communicator. I hope you have time for more of these tutorials!
@derekthrupp6923
@derekthrupp6923 6 ай бұрын
I feel like i just found a hidden gem tutorial page lol. cannot believe you dont have more views! Great job
@brigandpatrolworllvideos9
@brigandpatrolworllvideos9 7 ай бұрын
wow. awesome music. good content. great execution. well done!
@scottwelfare9267
@scottwelfare9267 7 ай бұрын
Great tutorial. Short, to the point, and easy to follow. Just subbed. I hope you keep making videos like these!
@rabisgatos
@rabisgatos 6 ай бұрын
You just got a new sub! Thank you so much for the tutorial, it's short, straight and easy to follow
@donaldkehler7029
@donaldkehler7029 7 ай бұрын
Thanks for the awesome tutorial! Can't wait for Dreamed Away to come out!
@eduardoddutra
@eduardoddutra 7 ай бұрын
Amazing tutorial! Short, easy to follow and cool effect! Subscribed!
@javiazo
@javiazo 7 ай бұрын
Awesome tutorial!! Please keep making more like this!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
I will! If there are topics you'd like me to cover, please let me know :)
@slavakislov3675
@slavakislov3675 7 ай бұрын
​@@dreamedawayrpg maybe something about shadows, lighting, shaders or just any cool trick to simplify things. I think more basic stuff like "how to work with tilemap" already explained by other guys.
@willd2609
@willd2609 7 ай бұрын
make more of these! this is great!
@slavakislov3675
@slavakislov3675 7 ай бұрын
wow, just amazing, beautiful and well explained. Instant subscribe!
@Silentstrike46_
@Silentstrike46_ 7 ай бұрын
Brilliant guide! Thank you for sharing, definitely going to use this idea :D
@azrhyga
@azrhyga 7 ай бұрын
Great tutorial!! Thanks for making it, it is really appreciated
@JFran.
@JFran. 6 ай бұрын
Awesome tutorial. Liked and subscribed. 😊
@dreamedawayrpg
@dreamedawayrpg 6 ай бұрын
Awesome, thank you!
@ElenaOcone
@ElenaOcone 7 ай бұрын
Marvelous effect, thank you so much!
@curtisrogers7772
@curtisrogers7772 7 ай бұрын
Great tutorial! I just liked and subbed. Hope to see more amazing material like this. Thanks!
@JoseLuisMirandaOrbe
@JoseLuisMirandaOrbe 7 ай бұрын
You make life easier, thank you!!! At the point, no innecesary waste of time, easy to understand!!! OMG!!!
@ToastedGears
@ToastedGears 7 ай бұрын
Could you do a tutorial for your lighting shader?
@shinin645
@shinin645 7 ай бұрын
This is very easy to follow! Thank you very much!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
Glad it was helpful!
@Argrouk
@Argrouk 7 ай бұрын
Brilliant, thank you. I'm thinking you could also reduce the reflection in size (by a small percentage) as it moves further away too.
@SerPodrick
@SerPodrick 7 ай бұрын
Thank you for sharing!
@HaZZmatDefender
@HaZZmatDefender 7 ай бұрын
This is super interesting, thank you!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
You're welcome, glad you liked it!
@patlecat
@patlecat 7 ай бұрын
Very cool function, thanks for the tut.
@ShenHibiki
@ShenHibiki 7 ай бұрын
... I've been wondering how to make masks in Godot. Just for that I'm already thankful! XD
@anderson.brbrbr
@anderson.brbrbr 7 ай бұрын
Great video! I have some questions. Why did you use a light to make the clip mask? Did you notice any advantage in using a light instead of placing the "Reflection" as a child of the "Sprite" and using "Visibility->Clip Children->Clip only" on the "Sprite"? Thanks for the video.
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
Initially this was implemented in Godot 3, where's clipping children doesn't exist (AFAIK). But also, I don't want to clip using the entire mirror sprite.
@anderson.brbrbr
@anderson.brbrbr 7 ай бұрын
@@dreamedawayrpg Portability, I get it. Thanks for answering.👍
@awfyboy
@awfyboy 7 ай бұрын
@@dreamedawayrpg You can still use the sprite resource you used for the Light2D and clip the sprite within that sprite. Should work the same.
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
@@awfyboy Yes, you're right.
@Preximus
@Preximus 7 ай бұрын
Thank you for the great instructions.😊
@Jono1982
@Jono1982 7 ай бұрын
thank you for teaching us
@scottisitt
@scottisitt Ай бұрын
That is awesome! Thank you so much!
@eugene_ynwa90
@eugene_ynwa90 7 ай бұрын
Even though I don't use Godot, this tutorial looks pretty neat.
@EvaldoBratti
@EvaldoBratti 17 күн бұрын
sweet, great vid, thank you!
@randomjimbitz512
@randomjimbitz512 7 ай бұрын
+1 Sub.... love it... right to the point. Appreciate the knowledge sharing as well 👍
@jeanpantalleresco1859
@jeanpantalleresco1859 6 ай бұрын
Smart solution, thank you!
@hailee9683
@hailee9683 7 ай бұрын
you deserve more subscribe bro
@johneicher6683
@johneicher6683 7 ай бұрын
Excellent video. Thank you. What is the name of the background music?
@johneicher6683
@johneicher6683 7 ай бұрын
Interested in hearing more from the composer. The few songs of the OST that seem to be available are amazing.
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
@@johneicher6683 Thanks! I'm working mostly solo on the game and I've composed all tracks except for a few ones in the second chapter.
@snakone
@snakone 7 ай бұрын
great! can you do the same with water reflection on the ground? using tilemap, autotile water
@Barbichenko
@Barbichenko 7 ай бұрын
👍 + Subs! Very Nice Tutorial, Thank you! Make more of this!!!
@Joguhyik
@Joguhyik 7 ай бұрын
looks so good
@Ikaryu33
@Ikaryu33 5 ай бұрын
That looks awesome, Excellent job! you can make a tutorial in Godot 3 too plz?
@afrancis7475
@afrancis7475 7 ай бұрын
PERFECTION.
@f.faucon6681
@f.faucon6681 7 ай бұрын
Great tutorial, thanks. One detail as I guess that's the issue: the reflection is lagging just a bit, is it possible that in your code you calculate the reflection before calculating the new frame for the main character? If you watch the video at 0.25 speed it becomes noticeable enough. Thanks!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
Good catch! You're totally right, that's exactly what's going on. You need to order the nodes so that the mirror's process function is called after the character.
@Govindhuujh
@Govindhuujh 7 ай бұрын
Please can you make car mechanics in godot 4 like how to drive car and enter exit In car😊.
@ani7417
@ani7417 7 ай бұрын
Amazing. How do you get the light halo particle effect around the player?
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
That might be the topic for my next tutorial! :D
@garya1809
@garya1809 7 ай бұрын
I'm very new to Godot and game dev but I like to have notes on different ways to do things, so thank you for this video and how you did things. Would this be a good use case to learn how to use shaders? TIA.
@pr3ttydum6
@pr3ttydum6 7 ай бұрын
how would i add a shader to the reflection aswell as the canvasitemmaterial needed to clip?
@Sparkbomber
@Sparkbomber 18 күн бұрын
Great video, though I'm wondering if it'd be possible to have a haunted house setup with them as well, like randomly changing the reflection shown, having the frame spin and so on? Cool looking game btw, but I hope you don't go too crazy with button prompt minigames... Not all people, especially over 30, can perfectly do those (anymore).
@p3ng00
@p3ng00 7 ай бұрын
very nice
@misterix6031
@misterix6031 7 ай бұрын
you are the best!
@alcionetauri
@alcionetauri 7 ай бұрын
Love the tutorial! I have one question, does this means the "mirrored sprite" is always rendered?, or the mask avoids it from being rendered?. I would love to be able to use this trick for all character sprites and reflect them on different stuff, like water bodies, mirrors and even metalic surfaces, but I'm a bit worried about the rendering cost of this. I guess the mask is a post-processing thing, but maybe godot has optimizations to know if he has to render something or not 🤔 any opinions?
@tomek3633
@tomek3633 7 ай бұрын
just WOW :)
@OppaHansi
@OppaHansi 7 ай бұрын
awesome!
@StrangeObscureStories
@StrangeObscureStories 7 ай бұрын
Bravo
@Riodragon1
@Riodragon1 4 ай бұрын
I tested the demo on the steam , I really liked it, and I was curious How did you make the girl follow the character?
@itsjanak6337
@itsjanak6337 7 ай бұрын
paper lily mirrors, les go
@soirema
@soirema 7 ай бұрын
ayy lets go
@H3_remix
@H3_remix 7 ай бұрын
I need someone more skilled with coding than I am to integrate pixel editors into godot. Having to switch between aseprite or GameMaker to create sprites is so frustrating and pulls me out of productivity mode.
@rohithreddy75
@rohithreddy75 5 ай бұрын
I dont like to comment much but your art style gave me inspiration to get into game dev one day which is pipe dream currently
@martinithechobit
@martinithechobit 6 ай бұрын
YOOOO.
@fading-sun-studios
@fading-sun-studios 7 ай бұрын
Simple maths,
@FortbloxNET
@FortbloxNET 7 ай бұрын
For a small room, okay but what if you have a huge map and hundreds of mirrors. That would mean you have hundreds of reflections and move them? And why fade out when walking away? No mirror does that in real life. I mean it’s okay for that small room but scaling it up will crash that game probably 🥹
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
I use a variation of this in Dreamed Away, not hundreds of mirrors but quite a few in some maps, and while it does run on the CPU it scales really well for my use-case. Regarding the fade out, as I said it's optional and obviously stylized, if you don't like it just don't do that :)
@kaizen9451
@kaizen9451 7 ай бұрын
This is such a negative and ridiculous comment.
@charlieking7600
@charlieking7600 7 ай бұрын
​@@kaizen9451Yeah, everything that asks limitations of Godot is considered negative in Godot cult. Don't forget to donate to Juan!
@kyoai
@kyoai 7 ай бұрын
Absolutely beautiful, thank you!
@dreamedawayrpg
@dreamedawayrpg 7 ай бұрын
You're welcome! Glad it's useful :)
Mirrors, Every Way You Can Make Them In A Video Game
8:14
Code It All
Рет қаралды 69 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
save hours of programming using curves | Godot Tutorial
2:50
AceSpectre
Рет қаралды 31 М.
How to use Resources in Godot 4
8:08
Bitlytic
Рет қаралды 14 М.
How I Mastered GODOT In Only a WEEK!
7:08
Simplicity
Рет қаралды 22 М.
Smooth Drag N Drop: Godot Guide
9:28
Bramwell
Рет қаралды 51 М.
5 Things you need to make an MMO
22:26
Josh Strife Hayes
Рет қаралды 164 М.
Making Godot Look Damned Good!
8:54
Gamefromscratch
Рет қаралды 28 М.
Improving Environment Graphics in Godot 4 - Tutorial
6:54
BETTER 2D visuals in 7 EASY TIPS
10:38
MrEliptik
Рет қаралды 78 М.
How to make a mirror in Godot
10:48
Miziziziz
Рет қаралды 21 М.
How to Make Pretty UI with Theme Editor in Godot 4
19:58
16BitDev
Рет қаралды 20 М.