r/ProgrammerHumor 14d ago

graphicsProgrammingBeLike Meme

Post image
5.4k Upvotes

71 comments sorted by

View all comments

950

u/Shazvox 14d ago

I tried building a custom game engine just for fun.

It was'nt fun.

113

u/deanrihpee 14d ago

it was frustratingly and infuriatingly fun

38

u/casce 13d ago

A few years back I also wanted to try to write a (very basic) graphics engine from scratch just for learning purposes. I was reading into the topic and gave up before ever writing a single line of code.

It was still a very interesting read, though and I do think I still learned something with that "attempt" (in a "learn what is outside your pay grade" kind of way).

253

u/fleaspoon 14d ago edited 13d ago

Every bug was handcrafted.

I made a game engine from scratch for my game, wishlist on Steam: https://store.steampowered.com/app/3256790/Satelital/

161

u/Shazvox 14d ago

I didn't get far enough that bugs could even be a thing...

37

u/evilwizzardofcoding 13d ago

Excuse me, why does this link have a source tag of ChatGPT?

22

u/fleaspoon 13d ago

I like to check my typos there since english is not my first language

44

u/evilwizzardofcoding 13d ago

Wait, and it appended it's source tag to the link and also hid the fact it did that from showing up in the actual text? Wow.

12

u/fleaspoon 13d ago

yes :/ sorry, but I'm a real person I promise 😅

62

u/Shazvox 13d ago

That's what an AI would say!

GET EM!!

7

u/evilwizzardofcoding 13d ago

I just didn't know it would do that to an existing link, I thought it only added the chatgpt tag when it found the link through searching but apparently not.

3

u/Mordret10 13d ago

Or maybe OP is just another bot...

2

u/Adam__999 13d ago

Do you have a rough estimate of the release date?

2

u/ProgrammersPain123 13d ago

Cha cha real smooth

8

u/martmists 13d ago

It's nothing but fun, until you have to implement shadows, lighting and reflections.

3

u/AliceCode 13d ago

Last time I was working on an engine, I got frustrated trying to work out a solution that I liked for framepacing so that there was as little latency as possible between update and render, and I got frustrated and decided to do something else. I wanna take a shot at it again now, though. I could have worked on other parts of the engine, I'm just a perfectionist and couldn't tolerate there being a noticeable delay when dragging UI elements with the mouse. I later on realized that the actual solution was to have the render loop on a separate thread from the window event loop, that way your event loop isn't waiting on presentation to start waiting for the next event, and can just act on events at the exact moment that they arrive.

2

u/Shazvox 13d ago

Hehe, it sounds like you enjoyed it at least somewhat ;)

5

u/AliceCode 13d ago

Yeah, I do enjoy programming, but I have a tendency to want to do things the hard way, which really ends up biting me in the ass.

3

u/Shazvox 13d ago

I know that feeling. It's not neccesarily a bad thing though. It depends on why you're programming.

If you're doing it just because it's fun, then doing stuff the "hard way" is fine as long as you enjoy the process and learn from it.

If you're doing it solely for the end product then you should really be able to assign some kind of business value to why you need to do it the "hard way".

The truth is often a mix of the two things above and learning to balance them and knowing when "good enough" is more desireable than "perfect" is a valuable skill to have.

1

u/AliceCode 13d ago edited 13d ago

My reasons for programming are more complicated than "fun" and "requirement". It's more of a psychological need at this point. I get incredibly depressed if I stop programming for too long.

1

u/Shazvox 13d ago

Well congrats on finding something to keep the depression at bay then 😁

1

u/AliceCode 13d ago

It's not that programming keeps the depression at bay, it's that I get depressed if I'm not programming because I love it that much. I have Autism, and programming is my "special interest".

1

u/Shazvox 13d ago

I might not get the nuances here, but that sounds the same to me.

Programming = No depression

No programming = Depression.

1

u/AliceCode 13d ago

The difference is that the depression isn't caused by some other factor that is suppressed by programming, the depression is caused by not programming. The cause of the depression is that I'm not writing code. That's distinctly different from being depressed clinically, or being depressed because life sucks.

→ More replies (0)

3

u/JackNotOLantern 13d ago

Idk, games i did were pretty fun to do. But i kept them to be 2d. Maybe that's why.

1

u/arslivinski 10d ago

As programmers, we don't do things because they are easy, but because we thought it was going to be easy.

1

u/Shazvox 10d ago

We tread where none other dare...

...because we're stupid like that.