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

Programmer Humor

19705 readers
126 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 39 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 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 ๐Ÿ˜†

[โ€“] [email protected] 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
[โ€“] [email protected] 8 points 1 year ago (1 children)
[โ€“] [email protected] 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.

[โ€“] [email protected] 4 points 1 year 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

[โ€“] drew_belloc 6 points 1 year ago (1 children)

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

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

[โ€“] [email protected] 1 points 1 year ago

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

[โ€“] MagicShel 4 points 1 year ago

Oh, was it you who made Sociolotron?

[โ€“] [email protected] 8 points 1 year ago

Ew, knowledge and experience, pweh disgusting

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

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

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

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

Soooo.. Microsoft Bob in 3d?

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

Microsoft bob in 3D with a Gmod physics gun

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

I want to learn how to write a physics engine.

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

[โ€“] miniu 23 points 1 year ago (2 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 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?

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

Keep in mind that if you actually want to make a game, make a game not an engine. Too many video game projects get bogged down in the engine development stage and never make it to completion.

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

Do people even make their own engines anymore? If this wasn't a pet project I would have dropped the entire thing as soon as I started dealing with 3D models, and visited Godot's homepage.

...

Perhaps I should get my hands on Godot at some point.

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

Usually AAA game studios has their own in house game engine

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

The in-house engines I know are being used are also really old - hell, 343i even decided to ditch the fossil that once was Halo: CE's engine because of technical debt and outsourcing blood sacrifices

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

Ah, yes, I miss the days of 343 having home grown blood sacrifices.

[โ€“] [email protected] 1 points 1 year ago

This was supposed to release years ago https://camelotunchained.com/v3/

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

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

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

Truly what inspired me to fight against Vulkan's complexity

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

Why are you yelling at me?

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

Now do a camera that can be controlled

[โ€“] [email protected] 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

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

What kind of method you gonna use for reflections?

[โ€“] [email protected] 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)

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

Nobody asked, but whatever:

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