this post was submitted on 26 Aug 2023
271 points (97.2% liked)

Programmer Humor

21822 readers
1138 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 2 years ago
MODERATORS
 
all 32 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 34 points 2 years 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 ๐Ÿ˜†

[โ€“] [email protected] 25 points 2 years ago (3 children)
  1. Don't make an MMORPG as your first ever game with only you and your one friend as devs
[โ€“] [email protected] 8 points 2 years ago (1 children)
[โ€“] [email protected] 8 points 2 years ago* (last edited 2 years 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.

[โ€“] [email protected] 4 points 2 years ago

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

[โ€“] [email protected] 6 points 2 years ago (1 children)

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

[โ€“] [email protected] 3 points 2 years ago (1 children)

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

[โ€“] [email protected] 1 points 2 years ago

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

[โ€“] [email protected] 4 points 2 years ago

Oh, was it you who made Sociolotron?

[โ€“] [email protected] 8 points 2 years ago

Ew, knowledge and experience, pweh disgusting

[โ€“] [email protected] 7 points 2 years ago (1 children)

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

[โ€“] [email protected] 6 points 2 years 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.

[โ€“] [email protected] 1 points 2 years ago (1 children)

Soooo.. Microsoft Bob in 3d?

[โ€“] [email protected] 2 points 2 years ago

Microsoft bob in 3D with a Gmod physics gun

[โ€“] [email protected] 7 points 2 years ago (1 children)

I want to learn how to write a physics engine.

[โ€“] [email protected] 4 points 2 years 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.

[โ€“] [email protected] 21 points 2 years 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.

[โ€“] [email protected] 12 points 2 years 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?

[โ€“] [email protected] 6 points 2 years ago (3 children)
[โ€“] [email protected] 3 points 2 years 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.

[โ€“] [email protected] 2 points 2 years ago* (last edited 2 years ago)

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

[โ€“] [email protected] 1 points 2 years ago

Truly what inspired me to fight against Vulkan's complexity

[โ€“] [email protected] 5 points 2 years ago (1 children)
[โ€“] [email protected] 2 points 2 years ago

Why are you yelling at me?

[โ€“] [email protected] 2 points 2 years ago (1 children)

Now do a camera that can be controlled

[โ€“] [email protected] 2 points 2 years ago (1 children)

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

[โ€“] [email protected] 2 points 2 years ago (2 children)

What kind of method you gonna use for reflections?

[โ€“] [email protected] 2 points 2 years ago* (last edited 2 years 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)

[โ€“] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

Nobody asked, but whatever:

[โ€“] [email protected] 2 points 2 years ago