Samperson
@samperson.bsky.social
3.4K followers 91 following 370 posts
doing the undoable nobody's undone
Posts Media Videos Starter Packs
Pinned
samperson.bsky.social
i'm trying to make the best-sounding game trailer of all time. think i got pretty close
samperson.bsky.social
Just fake localize your game.
This is the least interesting "no shit" tip I will ever give, but cool programmers know that "I could simply NOT do the hard part, and it would be good enough for now" is an intuition you have to be reminded of from time to time
samperson.bsky.social
take it from me, the Foolish programmer:
i woulda saved myself a lotta time by just taking 9 seconds to type

[Serializable]
struct LocString {
string locID, text;
public LocString(string _id, string _text) {
this.locID = _id;
this.text = _text;
}
public string Get() { return this.text; }
}
samperson.bsky.social
"find references/usages" of that class in your IDE will give you a map of everything that has to be converted - even if you're hardcoding/using it inline!!

you can even add that install-term-to-database behavior into the runtime string-retrieval code if you wanna be really funny, but ya know.
samperson.bsky.social
simply don't make the database part yet
you still get the benefits of not-having-a-database during prototyping, and you also don't screw yourself down the line by laying out a goddamn scavenger hunt
samperson.bsky.social
fun stupid trick for stupid programmers- if you don't wanna think about how you'll localize your game, just make a class/struct that just wraps a single string class + term ID

later, you can add a simple helper function that mass installs them into your future loc database
annlemay.bsky.social
To every young or aspiring dev out there, look, some free advice. (Older devs, you know better. 💀)

For any game you are going to work on that has any GLIMMER of possible localization. Or editing. Or anything involving writing really...

DO NOT HARD-CODE THE VO/NON-VO/UI TEXT STRINGS.
annlemay.bsky.social
"Hard coded text strings."

(My villain origin story.)
samperson.bsky.social
Exactly! If the code still depends on being able to find certain data in things, or operate on those things in certain ways... what's the benefit of not enforcing that?
I don't wanna knock on something I don't understand, it might just be a fundamental problem-solving approach thing?
samperson.bsky.social
i can usually Understand what a function does just by looking at its input and output. the in-between is implied

but i get no such benefits from like, Python or JS, where (in my experience) those patterns still exist, but are obfuscated by guesswork

i'm missing something
samperson.bsky.social
i Want to get it
i Want to like python

i think there's a Mindset issue on my part? when i'm trying to understand problems, the 2 questions i seek towards are
1. what is the data
2. how is it being Transformed

so static typing offers tons of clarity i miss with dynamic typing
samperson.bsky.social
i'm going to show my ass a bit here: i've never understood the point of dynamic typing in a programming language
it simply feels like a net negative every single time i try it
what resources would you use to help someone understand the allure
samperson.bsky.social
"there's new technological horrors" and yet i find room in my heart for wonder
samperson.bsky.social
My comms came from [email protected], I bet if you reach out to the other people who have this in their libraries, they'll have e-mails from that address in their inbox from 9-10 years ago
samperson.bsky.social
It's not "people who have access to Steamworks", it's most likely "people who had a Vive before it came out."
That's how I have it, along with a bunch of other demos from the time!
samperson.bsky.social
Yup, this was part of the HTC Vive pre-release thing where you'd activate a key and get a bunch of other developers' in-progress games who also had access to the hardware
samperson.bsky.social
why yes i am overthinking this
samperson.bsky.social
like i assume it would feel better to drop straight into the puzzle, then correct for server state when auth is done - bc most likely, i'm just dropping in, doing a wordle, then getting out in one session, and nothing will change user-state-wise pre/post-auth except now I can submit my score
samperson.bsky.social
because trusted auth only really matters here at the point where you're submitting to the leaderboard, right?

it doesn't matter too much in wordle's case- but i'm really curious what the process would be for trying to address this, if startup time was something folks cared about
samperson.bsky.social
there must ways to hide this to get to interactivity faster, whether doing some irresponsible caching, or triggering auth while firing up the puzzle (then correcting with an animation for the cases where you've already finished the puzzle, or were in the middle of one?)
samperson.bsky.social
looking at network traffic, it seems like it's doing auth stuff with discord activities?
samperson.bsky.social
there is absolutely no way that actual god's honest Wordle is doing anything *that* heavy in the background
samperson.bsky.social
i'm doing Research, and- do any web people know why Wordle on Discord takes so long to load?
that's a fake progress bar, right
it has the fakest movement i've ever seen
it has to just be some anti-DDoS thing, right?
samperson.bsky.social
hey gamedevs
what's your preferred way to categorize/sorting logs or gizmos for different game systems
like what's the stupidest, cleanest way you've ever gone about that
Reposted by Samperson
joewintergreen.com
just spotted that cyberpunk does doom-style sprites for distant cars and characters... amazing
samperson.bsky.social
I watched the leaked, unfinished version with missing VFX and random fully-integrated 1X BET (NO RISK BET) ads, and it changed my life
samperson.bsky.social
i'm definitely aware that physical merchandise falls even more into the 'not worth it' category of hassle than usual lately, but say i still wanted to try for some specific reason
samperson.bsky.social
hey artists: how do you deal with merch (specifically small things like pins) given the Everything rn
i'm pondering a project
do you handle distribution yourself, or go through a partner? and who Doesn't Suck in this space?

(if someone says redbubble i'm canceling the project)