this post was submitted on 26 Aug 2023
275 points (97.3% liked)

Programmer Humor

19623 readers
96 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
all 32 comments
sorted by: hot top controversial new old
[โ€“] jarfil@beehaw.org 34 points 1 year ago (4 children)
  1. Don't roll out your own crypto suite
  2. Don't write your own game engine
  3. Don't create your own OS from scratch
  4. Don't build another multipurpose framework
  5. ...

Whom am I kidding, go do all of that! Learn why you most probably shouldn't ๐Ÿ˜†

[โ€“] Norgur@kbin.social 25 points 1 year ago (3 children)
  1. Don't make an MMORPG as your first ever game with only you and your one friend as devs
[โ€“] Sonotsugipaa@lemmy.dbzer0.com 8 points 1 year ago (1 children)
[โ€“] Norgur@kbin.social 8 points 1 year ago* (last edited 1 year ago) (1 children)

Yet depressingly common in MMORPG circles. People tend to vastly underestimate the amount of work needed to get an remotely playable MMO off the ground.

I've entertained the idea, and the first to requirements that come to mind are advertising money and server upkeep money - then one could start worrying about actually making it

[โ€“] drew_belloc@programming.dev 6 points 1 year ago (1 children)

What is this smell? Is that the smell of self experience?

[โ€“] Norgur@kbin.social 3 points 1 year ago (1 children)

Nah, I can't tell a Class from a Function in most programming languages. I ain't making no game.

[โ€“] 257m@lemmy.ml 1 points 1 year ago

You won't be able to mistake the two if you don't use Classes.

[โ€“] MagicShel@programming.dev 4 points 1 year ago

Oh, was it you who made Sociolotron?

Ew, knowledge and experience, pweh disgusting

[โ€“] fckreddit@lemmy.ml 7 points 1 year ago (1 children)

I want to learn how to write a physics engine.

[โ€“] jarfil@beehaw.org 4 points 1 year ago

Those are easy, unless you want 128bit resolution, relativistic effects, collisions, or fancy stuff like that.

PS: Bonus points if you write one without collision detection, then sell it as a game on Steam.

PS2: Super Bonus points if you make it 64bit, then keep crowd-funding it for 10 years.

[โ€“] sheepishly@kbin.social 7 points 1 year ago (1 children)

What if I make an OS that's also a game engine?

[โ€“] Sonotsugipaa@lemmy.dbzer0.com 6 points 1 year ago (1 children)

Hear me out: a fully fledged desktop environment, like KDE Plasma or Gnome, but it's a 3D world - "windows" are just walls, the file explorer is just a bunch of procedurally generated condos, and you get a Gmod physics gun to move stuff around.

[โ€“] Norgur@kbin.social 1 points 1 year ago (1 children)

Soooo.. Microsoft Bob in 3d?

Microsoft bob in 3D with a Gmod physics gun

[โ€“] miniu@programming.dev 21 points 1 year ago (1 children)

Making your own engine is worthwhile learning experience. The same as trying to recreate any of the foundational tools that you use.ย Might not be the fastest or best way to make a game but a good way to make yourself a better developer.

[โ€“] Sonotsugipaa@lemmy.dbzer0.com 12 points 1 year ago (1 children)

Not the fastest

This is my 4th Vulkan related "project" and 2nd attempt at making something other than a glorified tutorial workspace in 6 years, and it took me 4 weeks to draw this stuff with minimal technical debt.

I could just use an existing game engine, but what's the fun in not manually sorting all draw commands by mesh>pipeline>material and hunting synchronization hazards by just looking at funny glyphs for extended periods of time?

[โ€“] WiildFiire@lemmy.world 6 points 1 year ago (3 children)
[โ€“] PipedLinkBot@feddit.rocks 3 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/Z_1vfTkBq-k?si=NpJuy9WU7vxkeb36

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

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

[โ€“] Zozano@aussie.zone 2 points 1 year ago* (last edited 1 year ago)

Thank you! I haven't laughed that hard in a year or more. My sides hurt.

Truly what inspired me to fight against Vulkan's complexity

[โ€“] TheBurlapBandit@beehaw.org 5 points 1 year ago (1 children)

Why are you yelling at me?

[โ€“] dylanTheDeveloper@lemmy.world 2 points 1 year ago (1 children)

Now do a camera that can be controlled

[โ€“] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago (1 children)

Done, that wasn't the hard part - after that I spent a few days on normal mapping and passable light reflections

[โ€“] dylanTheDeveloper@lemmy.world 2 points 1 year ago (2 children)

What kind of method you gonna use for reflections?

[โ€“] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago) (1 children)

Nobody asked, but whatever:

[โ€“] Sonotsugipaa@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

For reflected objects none, that's too much effort - this thing only reflects light sources.

Proper reflections require either too much effort, or me being smarter than I actually am.

(Reflecting light sources is as easy as doing some tangent-space wizardry and a few dot products)