this post was submitted on 12 Feb 2025
1051 points (97.6% liked)
Microblog Memes
11014 readers
2535 users here now
A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.
Created as an evolution of White People Twitter and other tweet-capture subreddits.
RULES:
- Your post must be a screen capture of a microblog-type post that includes the UI of the site it came from, preferably also including the avatar and username of the original poster. Including relevant comments made to the original post is encouraged.
- Your post, included comments, or your title/comment should include some kind of commentary or remark on the subject of the screen capture. Your title must include at least one word relevant to your post.
- You are encouraged to provide a link back to the source of your screen capture in the body of your post.
- Current politics and news are allowed, but discouraged. There MUST be some kind of human commentary/reaction included (either by the original poster or you). Just news articles or headlines will be deleted.
- Doctored posts/images and AI are allowed, but discouraged. You MUST indicate this in your post (even if you didn't originally know). If an image is found to be fabricated or edited in any way and it is not properly labeled, it will be deleted.
- Absolutely no NSFL content.
- Be nice. Don't take anything personally. Take political debates to the appropriate communities. Take personal disagreements & arguments to private messages.
- No advertising, brand promotion, or guerrilla marketing.
RELATED COMMUNITIES:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is how it works in many game engines.
You set up the monsters and just hide them/disable them. They're already allocated to memory.
And it's a performance cost to create/delete versus just moving a dead enemy out of view, then respawning that enemy later in the level.
If it's a type of enemy you see just one of at a time but see it often, sure. If there's many, cost of copy/delete is definitely not that high relatively speaking.
(random sidenote: in the first Mirror's Edge game, you can sometimes hear enemies you passed scream as they fall when you pass from one part of a map to another, as the ground in the map is unloaded before the enemies unload)
Dynamic streaming is common nowadays, as games have gotten large enough that not everything in a level can fit into memory.
I don't know about what is actually done in industry but I feel like most of the time you wouldn't bother with keeping dead instances unless instancing is shown to actually be a performance problem, which will probably not happen all that often
Godot for example doesn't have built in dynamic level streaming yet or a built in way to cycle through dead instances as far as I can tell, although I'm sure that wouldn't be hard to do with code