969
efficiency (slrpnk.net)
top 50 comments
sorted by: hot top controversial new old
[-] bleistift2@feddit.de 297 points 8 months ago
[-] snooggums@midwest.social 130 points 8 months ago

SMB had game file size limitations in the dozens of kilobytes range.

[-] Jerkface@lemmy.world 160 points 8 months ago

For comparison, that screenshot is 342kb, and Super Mario Bros is 40kb. The screenshot is more than 8.5 times bigger than the game it comes from.

[-] sus@programming.dev 95 points 8 months ago* (last edited 8 months ago)

I managed to recreate almost the same screenshot in 5kb (and with much less compression artifacts!)

before adding the text and circles it was only 1.6kb

it's a case where jpeg compression ironically results in the picture getting 60x larger and more blurry because everyone recompresses the images and jpeg is designed for large photos and not pixel art

[-] Valmond@lemmy.mindoki.com 37 points 8 months ago

Use png and IDK I don't remember which cmd line soft but it stripped out unused colors and compressed images like that one hard.

That, without the red lines and circles, and without jpeg jitter should be like 1kb. Or less less.

Now, as an oldtimer, when you load that 1kb image up, it will still take like 640x320 bytes (it was all 8bit) so 200KB of RAM. But back in the day I guess it was more like the original GB 160x144 so 22.5KB RAM needed to show that image.

Did it work like that?

No, because cartridges didn't have a lot of space, and the consoles didn't have much RAM, so you used tiles. You had a tile map image, each tile was 8x8 pixels pointing to a palette (so you could use 4-bits for the color. More or less so, there were a lot of 'modes'). Each tile had a number and your screen was some 20x18 tiles x 1 byte numbers, designing the 'tile' to be shown at that particular position of the screen.

All done by hardware so way fast!

To make the scrolling run you had a 'delta' pixels to slightly move the "screen" around.

Fun times.

Time to go to bed 😪😴

load more comments (4 replies)
load more comments (1 replies)
[-] dhtseany@lemmy.ml 12 points 8 months ago

I like this math lesson

[-] bruhduh@lemmy.world 35 points 8 months ago

Modern AAA games need optimisations too

[-] PeterPoopshit@lemmy.world 32 points 8 months ago

Optimization? Pffffft. Nvidia probably pays game developers to make unoptimized games just to boost gpu sales.

[-] bruhduh@lemmy.world 75 points 8 months ago* (last edited 8 months ago)
[-] Agent641@lemmy.world 16 points 8 months ago* (last edited 8 months ago)

Laughs in Cities: Skylines 2

load more comments (2 replies)
[-] starman2112@sh.itjust.works 27 points 8 months ago

What I would give to have modern devs work that hard to reduce file sizes

[-] SpaceCowboy@lemmy.ca 5 points 8 months ago

Is it more than the price of a hard drive?

[-] starman2112@sh.itjust.works 14 points 8 months ago* (last edited 8 months ago)

For the sake of all my homies with data caps and limited hard drive funds, I would gladly give more than it costs me personally

load more comments (3 replies)
[-] Rhaedas@kbin.social 174 points 8 months ago

I've seen this same suggestion years ago on Blender tutorials. Generating a scene isn't about making it realistic, it's about fooling the audience into thinking it's real without making it too hard to create. Look at videos from Ian Hubert on how to fake it well.

[-] Tar_alcaran@sh.itjust.works 92 points 8 months ago* (last edited 8 months ago)

Halo 3 came out 17 years ago. I learned this today (and still don't really see it...), so I say they did amazingly well!

[-] Track_Shovel@slrpnk.net 29 points 8 months ago
[-] Im_old@lemmy.world 17 points 8 months ago

I can agree on this statement

load more comments (1 replies)
[-] fossilesque@mander.xyz 21 points 8 months ago

My partner compares video game design to stage theatre.

load more comments (2 replies)
[-] Sanctus@lemmy.world 143 points 8 months ago

Welcome to gamedev. Its all smoke, mirrors, and magic tricks. Come intervene in our fancy electric rock dreams.

[-] MrJameGumb@lemmy.world 92 points 8 months ago

You want them to pay to design TWO ROCKS???? What are they, billionaires???

[-] Dabundis@lemmy.world 80 points 8 months ago

The monkey's paw curls. New AAA games now feature thousands of individual rock models, among other labor- and space-saving measures being forgone in favor of realism. The game is 400 GB and the devs have worked 110 hours per week for the last 3 months

[-] FinalRemix@lemmy.world 53 points 8 months ago

All you did was describe the current sad trajectory of AAA games anyway.

[-] Suburbanl3g3nd@lemmings.world 6 points 8 months ago

Thought he was describing CoD lol

[-] starman2112@sh.itjust.works 10 points 8 months ago

Why did the finger curl? Nothing changed

[-] Dabundis@lemmy.world 8 points 8 months ago

I should have specified. This finger curled 15 years ago

[-] Gullible@sh.itjust.works 10 points 8 months ago

There was a game that came out a few years ago that scanned in most of its rocks for photorealism. I can’t recall the name. EA was the publisher, I think?

[-] Vee4@lemmy.world 8 points 8 months ago

I think the newer Star Wars Battlefront games did that.

[-] doggle@lemmy.dbzer0.com 8 points 8 months ago

Tons of games do that now. Usually they get scans and models from other companies, like Quixel Mega scans. It makes for a relatively fast workflow. Pretty much any photo-real game is doing something like this, it's just more affordable than paying people to digitally sculpt rocks by hand.

[-] c0mbatbag3l@lemmy.world 5 points 8 months ago

UE5 uses mega scans of real world assets.

load more comments (2 replies)
[-] doggle@lemmy.dbzer0.com 23 points 8 months ago

Setting aside that asset production is genuinely one of the most expensive parts of game dev, if they're smart they can use some clever GPU instancing to improve performance by reusing assets

No clue if that's happening here, though

[-] Pothetato@lemmy.world 23 points 8 months ago

It's one more rock, Michael. What could it cost, ten dollars?

[-] SilverShark@lemmy.world 76 points 8 months ago

I honestly don't see the similarity. So nice rotating, scaling, moving skills I guess.

[-] Ephera@lemmy.ml 75 points 8 months ago

Generally more than half of the rock is underground, so while it might be only one rock, you see many distinct sides of it...

[-] intensely_human@lemm.ee 17 points 8 months ago

Most rocks are one sided actually.

[-] WhiskyTangoFoxtrot@lemmy.world 45 points 8 months ago

The desks in Skyrim are just clouds embedded in the ground and recoloured.

[-] Cris_Color@lemmy.world 15 points 8 months ago

The desks are clouds...? How would clouds even remotely look like desks??

Was this supposed to say rocks? I'm so confused 😅

[-] CodexArcanum@lemmy.world 28 points 8 months ago

I think the joke here is that in Super Mario Bros (NES), the bushes are recolored clouds, with their bottoms hidden by the ground. By changing the reference to Skyrim, you get a surrealist joke.

Anyway, that's what I thought the reference was and it made me heartily lol!

[-] WhiskyTangoFoxtrot@lemmy.world 22 points 8 months ago

That and the fact that the desks in Skyrim are bookshelves embedded in the ground.

load more comments (1 replies)
[-] ArmokGoB@lemmy.dbzer0.com 34 points 8 months ago

And we had to share the rock

load more comments (1 replies)
[-] MarcomachtKuchen@feddit.de 27 points 8 months ago
[-] sebinspace@lemmy.world 10 points 8 months ago

This is literally every game with rocks, since fucking forever..

[-] Xanthrax@lemmy.world 8 points 8 months ago* (last edited 8 months ago)

Lmao, done that before. You do have to worry about the resolution of the textures when changing the model's size, though.

Also, I've made small caves systems and mountains like this, before slapping myself for not remembering terrain generation.

Edit: this is a bit of tangent, but I'm super excited to see more boulders rendered using polycam. Generally, the models are a bit janky and never have straight polygons (along the x,y,z axis) So things like furniture and corridors won't work. Boulders though, it's perfect!

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 18 Feb 2024
969 points (99.0% liked)

Lemmy Shitpost

26691 readers
3847 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 1 year ago
MODERATORS