270
visual coding rule (lemmy.blahaj.zone)
submitted 10 months ago by paris to c/196
top 50 comments
sorted by: hot top controversial new old
[-] eya@lemmy.dbzer0.com 55 points 10 months ago

something something rewrite it in rust

[-] AVincentInSpace@pawb.social 12 points 10 months ago

is Bevy good I haven't done anything with it yet

[-] ramirezmike@programming.dev 15 points 10 months ago

I like Bevy a lot. Should you use it in your next commercial game? That's debatable (although I'm trying to 👀). It's definitely a lot of fun to use with its ECS focus if you're wanting to just make games for fun or whatever.

load more comments (1 replies)
[-] itslilith 48 points 10 months ago

My advice to 2021 lilith and 2024 lilith is to write code

Might be harder to get started, but waaay easier to maintain

[-] Semi-Hemi-Demigod@kbin.social 39 points 10 months ago

This is why a text-based IDE will always be necessary

[-] Thcdenton@lemmy.world 4 points 10 months ago

You're right. Next time I fuck with ue blueprints I'll use vim 👍

[-] amotio@lemmy.world 33 points 10 months ago

I kind of understand the appeal of blueprints, for small projects and quick proof of concept maybe. But never understood how can anyone do any serious or complex work with it. It just felt so limitting when I tried it in Unreal, never bothered with plugins for unity.

[-] megopie 12 points 10 months ago

I mean, I think a lot of times it is drilled in to people as “best practice” for working in a larger organization.

To some extent this makes sense from a managerial perspective, like, you can move people between projects and expect them to pick up where the last person took off since it will be somewhat intelligible.

I’ve seen some nightmares though where projects were barely function because a bunch of unnecessary stuff was added to make it fit the shape.

[-] HatchetHaro 10 points 10 months ago

Blueprints are faster to develop with in Unreal Engine, as it's quite literally built into Unreal Engine and doesn't require compiling from a separate program. It's even got live node previews to show you exactly what is being run at specific times, so it's easier to debug in too.

It really shines when you want to prototype a lot of things really fast, especially to get the game working first before the optimization step of moving functions and backend stuff over to C++.

[-] captain_aggravated@sh.itjust.works 2 points 10 months ago

I have some experience with the visual coding that Godot has/had (they're deprecating it) and it looked like a useful tool for, say you've got an artist on the team who does all the creature models, the visual code stuff would be good for them to program the behavior of some little background creature in. Like I could see doing the AI for a chicken in it. Wander a random distance between 1 and 5 meters, peck(), play cluck.wav, scratch(). That way the programming that's really the artist's job can get done, but the REAL coding work like game logic can be done by the programmers on the team.

Again, this feature has been deprecated.

[-] bbpolterGAYst 25 points 10 months ago

i hate programmers they make me scare in my brain. why can you not have normal jobs like wood cutter and fish catcher

[-] CCF_100@sh.itjust.works 15 points 10 months ago

"No" - me, learning software development in college

[-] kogasa@programming.dev 5 points 10 months ago

I'd love to cut wood, catch fish, craft runes etc

[-] razzmatazz@lemmings.world 3 points 10 months ago

im learning compsci at uni and i 100% agree with you

load more comments (1 replies)
[-] neonred@lemmy.world 22 points 10 months ago* (last edited 10 months ago)

If you do any code work, read this:

Robert C. Martin - Clean Code

[-] Vulwsztyn@lemmy.world 17 points 10 months ago

Please don't, at least at the beginning, Uncle Bob is widely reputed to have done as much harm with his OOP work as he has done good, if not more.

[-] iAvicenna@lemmy.world 6 points 10 months ago

I mean I like what is at the core of his suggestions. If you don't take it as a religion but add a dash of flexibility on it then I think it is quite useful.

[-] BiteSizedZeitGeist@lemmy.world 4 points 10 months ago

This is the way. There's some good advice but it's not universally applicable. The problem is, Uncle Bob defends his philosophy as if it was, diminishing the advice's reputation.

[-] netwren@lemmy.world 6 points 10 months ago

Look don't be dogmatic with anything. Read it. Understand everyone has opinions. There are tradeoffs for every engineering decision. EVERY decision.

Learn to weigh them yourself and learn the intricacies of where it doesn't make sense and where it does

[-] Shyfer@ttrpg.network 5 points 10 months ago

I haven't heard any criticisms. What did he do that's wrong?

load more comments (1 replies)
[-] kogasa@programming.dev 2 points 10 months ago

I'd appreciate some qualification on "widely reputed" + "as much." I'd concede it's common knowledge that dogmatically following his advice is a mistake, but I'm surprised by the claim that his advice is mostly harmful.

[-] FrostyCaveman@lemm.ee 6 points 10 months ago

Praise Uncle Bob

[-] BmeBenji@lemm.ee 15 points 10 months ago

Dang is Lilith not on Mastodon yet? I used to follow her on Twitter and now I iust realized how much I miss her toots.

I never liked Bloodborne but the Bloodborne Kart meme was too good not to fall in love with.

[-] RageAgainstTheRich@lemmy.world 6 points 10 months ago

Same here! She always has such fun posts but i can't see anything without a twitter account :(

[-] clay_pidgin@sh.itjust.works 4 points 10 months ago

I use a libredirect extension to automatically send me to Nitter instead. Works great.

https://libredirect.github.io

https://nitter.net/b0tster/status/1744529728680161615#m

[-] EldritchFeminity 2 points 10 months ago

She's over on Tumblr too: https://www.tumblr.com/b0tster

All the Bunlith, none of the algorithm.

[-] ImplyingImplications@lemmy.ca 15 points 10 months ago

You get used to it. I don't even see the code. All I see is Graphics Settings 1, Graphics Settings 2, Equal True.

[-] PipedLinkBot@feddit.rocks 4 points 10 months ago

Here is an alternative Piped link(s):

I don't even see the code

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] HatchetHaro 15 points 10 months ago

This is why I love Blueprints; it forces you to keep your code neat and tidy and readable and documented lest it turns into an absolute mess. It's also so much fun to prototype in because it's like modular synths and you can just make an absolute mess if you want.

[-] Windex007@lemmy.world 42 points 10 months ago

So, the argument is that the system is so unwieldy that it forces you to be good because if you aren't vigilant you'll fuck yourself? Where have I heard that before?

[-] HatchetHaro 7 points 10 months ago* (last edited 10 months ago)

It's perfect.

Also, I have no argument; I just love it.

[-] FrostyCaveman@lemm.ee 7 points 10 months ago

Where have I heard that before?

I’ve heard it from dynamic typing proponents

Yeah I’m not sold lol

[-] Ozy@lemmy.world 4 points 10 months ago

You also heard it back in the 24kb of ram days.

[-] can@sh.itjust.works 9 points 10 months ago

It's also so much fun to prototype in because it's like modular synths

I'm sold.

[-] AVincentInSpace@pawb.social 9 points 10 months ago

Blender's geometry nodes and shader nodes also work this way and are incredibly fun to just mess around in creating bonkers procedural textures/shaders/objects and seeing what comes out the other end. I very much liken it to a modular synth but for your eyes

[-] can@sh.itjust.works 3 points 10 months ago

I cannot express how much this intrigues me

[-] AVincentInSpace@pawb.social 6 points 10 months ago* (last edited 10 months ago)

In that case I should also mention that Blender is 100% free to use forever (free and open source software ftw!!) and that you can hardly throw a stone on YouTube without hitting a tutorial on how to use it.

Here's a video about how to make fractals using geometry nodes: https://youtu.be/N9Tnmbnl9Yw

And here's one listing every shader node: https://youtu.be/cQ0qtcSymDI. Keep in mind that these can be combined with virtually no restrictions on what you can plug into what!

In essence, geometry nodes build procedural 3D shapes and shader nodes decide what color they are, how reflective they are, whether they emit light etc. You can also apply these factors to only part of the geometry in procedurally generated patterns.

You can either build the geometry by hand and then slap some shaders on top (I like just slapping down a flat plane or a cube or w/e with some stuff next to it for light to bounce off of and seeing what cool things I can do with it) or go fully procedural and use geometry nodes too

I will warn you though that the interface outside of the node editors is not especially intuitive (nothing could be, with the amount of controls Blender has) and you do need a somewhat beefy computer for Blender to perform well, especially if you plan on using the fancier graphics features like raytracing (which I highly recommend -- the Eevee renderer which uses rasterization instead is orders of magnitude faster but the lighting and reflectivity does not look anywhere near as good. Fine for actual 3D animation but if you want to play around with a light synth, Cycles is 100% the way to go)

[-] PipedLinkBot@feddit.rocks 2 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/N9Tnmbnl9Yw

https://piped.video/cQ0qtcSymDI

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

load more comments (1 replies)
[-] Sharpiemarker@startrek.website 14 points 10 months ago
[-] megopie 22 points 10 months ago

Creator of the “DO NOT WATCH THIS VIDEO” series angrily shakes fist at past self’s shoddy work.

[-] spujb@lemmy.cafe 18 points 10 months ago

twitter user made some code in 2021 that she can no longer understand due to how complicated and poorly organized it is

[-] Zellith@kbin.social 9 points 10 months ago

Yeah Ive done that when updating some mods I made. Im all "Why the FUCK did I do it this way?".

[-] RichardoC@lemmy.world 14 points 10 months ago
[-] 12bitmisfit@sh.itjust.works 12 points 10 months ago

Looks like blueprints in ue5 to me

[-] EldritchFeminity 8 points 10 months ago

You're correct, I saw her get asked about what she thought of it. And for context, she's a 3d modeler/animator who has never written code in her life, and this is what she used to program Bloodborne Kart.

[-] CEbbinghaus@lemmy.world 8 points 10 months ago

Remember kids. This is why you never use blueprints

load more comments (1 replies)
[-] TheBlue22 7 points 10 months ago

Nah thanks mate, ill stick to c# and c++ for now

[-] evlogii@lemm.ee 6 points 10 months ago

This doesn't actually look that bad. Kinda structured and all. Have you seen the LLVM documentation? https://youtu.be/208K8EnSlB0

[-] PipedLinkBot@feddit.rocks 3 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/208K8EnSlB0

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] lung@lemmy.world 5 points 10 months ago

Maybe you can just get Midjourney to make you a picture like this and call it a day?

load more comments
view more: next ›
this post was submitted on 09 Jan 2024
270 points (100.0% liked)

196

16573 readers
1686 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS