Comments by "" (@SRG-Learn-Code) on "Fireship"
channel.
-
3
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
I'm not a web developer nor a game developer, but I've used both because most likely web in the future will be 3d interactive (meta... is about something else), anyway, I went into some interesting rabbit holes. My favourite was web development in ue4: let's say you use blueprints to create a "game" level and a webpage. Doable, I made some test to create metadata of the level in form of html and css, the problem was later automating the load of the files in git to deploy in a server and all of that, it was mainly hardcoded for the demo but apart from that quite enjoyable, you choose your "weapon" as it could be a post, an image, etc (etc means various TODO) and place them in the level, then you could copy the html code (very basic) and pasted into a file, upload it to a cdn and voila, a web page made with ue4, but, here is the twist. That page could be loaded from within the game!!!... yeah, there are many in-game browsers, what a surprise... but, no, for real, the structure of the web page had ton's of id, classes and data embedded to be parsed into a 3d level. I had some nice results using json directly and some proof of concepts parsing some tailored html, but it had to be made within the demo, couldn't get to parse other sites without some hard manual work, so the rabbit hole got deeper, I tried to create a visual parser, let me explain, you take the full html and represent it as a physical object in the game, then you go picking tags and positioning them in the level and the you give them some style and then... you discover that you want an external scrapper and feel like you are working more than playing and that part was not enjoyable.
That was a long time ago, maybe I still have the files? it was ue4.18 or something like that. Quite interesting but unreal didn't have a great support for the Chrome Embedded Framework, I think is still an experimental feature today (more like legacy), I should recheck to see what has change since UE5, thanks fireship for reflaming this old project of mine. I think I'll try to experiment again with this.
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1
-
1