@glaskows@mastodon.gamedev.place avatar

glaskows

@glaskows@mastodon.gamedev.place

I've been programming games most of my life, games you either never heard off or cared about.
Living in Germany, born in Chile.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

aeva, to random
@aeva@mastodon.gamedev.place avatar

i want all the ai stuff to go away

glaskows,
@glaskows@mastodon.gamedev.place avatar

@aeva You and me... people seems so bent to make this world worse, they cannot help themselves.

I would like to shake some sense into them. At work, I am kinda the AI grinch, pouring reality every time I heard about the next exciting AI tool the company should adopt.

anselmschueler, to programming
@anselmschueler@ieji.de avatar

In my opinion, C’s declaration-follows-usage is in and of itself not bad, merely idiosyncratic. Where it gets super bad is when you declare the identifier via the declarator and assign to the identifier not via the declarator in the same line.

#c #programming

glaskows,
@glaskows@mastodon.gamedev.place avatar

@anselmschueler Only if you make the assumption * is not part of the type (which it is).
In your example,
int *x_ptr; // int * describes x_ptr

glaskows,
@glaskows@mastodon.gamedev.place avatar

@anselmschueler I see the multiple declaration as broken syntax. If you omit that, then everything fits together.

pervognsen, (edited ) to random
@pervognsen@mastodon.social avatar

I wonder if English speakers feel like they got scammed when learning chemistry and they have to remember weird words like potassium and sodium instead of kalium (K) and natrium (Na) like (I assume) the rest of the world. I guess it could be worse: every element could have a name that didn't match the chemical shorthand.

glaskows,
@glaskows@mastodon.gamedev.place avatar

@pervognsen at least spanish speakers have it similar than english speakers. Those elements are named potasio and sodio.

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I was sadly disappointed today when getting my Covid vaccination. It seems in Germany now you need to pay if you are under 60.

While I am able to afford it, I wonder how many people can't. Why on earth are insurance companies not covering it anymore?

On the other hand, they do cover vaccines against the flu. Is getting the flu now a bigger risk than getting Covid?

sos, to programming
@sos@mastodon.gamedev.place avatar

Wanted to look up how to open files for reading and writing.

Google assumed I meant Python and shoved only python results in my face.

Tried Bing and it did the same thing.

We are so fucked.

image/png

glaskows,
@glaskows@mastodon.gamedev.place avatar

@sos https://zealdocs.org/
Offline documentation can cut the iteration time quite a bit.

glaskows,
@glaskows@mastodon.gamedev.place avatar

@sos The nicer Mac only app https://kapeli.com/dash is also a good option.

glaskows, (edited ) to random
@glaskows@mastodon.gamedev.place avatar

In a lot of RPGs is common to have the need of sleep, eat and drink as a gameplay feature. I wonder if any has the need to shower or go to the bathroom.

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I wonder how much people pay in_total for blog subscriptions, patronage and donations.

I remember a time when internet was full of quality material that enthusiast posted for free. Now it seems those days are gone and everyone is looking to make a career or at least partially support themselves with this type of income.

It seems better than relying on ads and their ugly algorithms. But it is worrying so many people needs this to make months end and a bit sad for those who cannot pay.

glaskows, (edited ) to random
@glaskows@mastodon.gamedev.place avatar

Wayland, X.org, Vulkan, Metal, DX12... I don't care, just give me a framebuffer and a vsync signal!

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

Moving to an open source engine from Unity3d is nice, but I wish more people would try making their own small engines.

For me, this is the best part of being a game programmer. Sadly, I moved away from it for economic reasons 8 years ago, and became a glorified scripter (nothing bad about it in itself)

Now, I am back at it as a hobby. Maybe I will make something out of it, but I am too rusty still.

Currently doing a software renderer with fixed point arithmetics for the fun of it. I love it!

glaskows,
@glaskows@mastodon.gamedev.place avatar

@krajzeg Being comfortable with the design decisions is crucial, it makes you more productive because you dont need to fight with other people assumptions and preferences.

Besides, most indie games need just a fraction of a general purpose engine, not having such a big codebase allows you to fit more game specific code in your brain at any time.

Good luck with your projects!

tubetime, to random
@tubetime@mastodon.social avatar

some great pixel art from my brother. this was displayed with a genuine IBM CGA card (really!)

glaskows,
@glaskows@mastodon.gamedev.place avatar

@tubetime Thats neat, kudos for you and your brother!

eniko, to random
@eniko@peoplemaking.games avatar

i like sakurai as much as the next gal and his gamedev series is generally really good but oh my god please take with a gigantic grain of salt the marketing advice dispensed by the guy who's main body of work is comprised of one of nintendo's most cherished mascots and a fighting game series comprised of gaming's most cherished mascots

glaskows,
@glaskows@mastodon.gamedev.place avatar

@eniko I am just mad about how young he looks at 53!

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I am creating a new kind of fantasy console.

Instead of making up a whole system, I am creating a set of rules and an API to support it.

The rules are, everything must be software running on the cpu. You get a framebuffer, an audio buffer, input events, and a few higher level systems, but no GPU acceleration is allowed. Thats it.

Lets go back to where Quake left it. CPUs are orders of magnitude more powerful today.

Who is with me? CPU only games, exact control on each pixel and cycles!

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I really miss watching comedy shows like "The Mighty Boosh". Are there similar shows? Extra points if Julian Barratt, Noel Fielding, Rich Fulcher, Matt Berry, Chris O'Dowd, Richard Ayoae or Katherine Parkinson stars on them.

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

While I like computer graphics as a topic, I am most interested in everything else going on in an engine. And sadly, this is the less documented part of them.
Show me how you handle your game objects, serialization, data structures, abstraction layers, UI, AI, networking, tooling, etc!

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I remember once, when I was the CTO of a small medical device company, we were hiring for another C level position.

After the candidate left we were preparing our notes for debriefing. Sudenly, the company directors start laughing, and I ask why.

"Didn't you see her car keys?", one said. "Why?" I asked. "It had tape on it and it was a Ford!"

I realized then, most C level people are there not because their merits, but because they belong to the same elite clubs.

I felt ashamed and disgusted.

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I saw myself using the built-in calculators for Win10 and MacOS and hating them. So I unearthed my old Casio GFX-9850G and now I am loving the productivity boost of not switching apps, using the mouse or other weird key bindings.

Physical calculators should be on every programmer's desk.

glaskows,
@glaskows@mastodon.gamedev.place avatar

I also used to have a TI-89, but sold it for cheap to a good friend who need it more in the Uni years.

glaskows,
@glaskows@mastodon.gamedev.place avatar

@JaN0h4ck At least in my case, I seldom calculate exact results with brain power alone.
If a math test grade depends only on the exercices end result, then I think the test is not well made. Programming tests should be practical (with a computer), unless they are testing concepts knowledge or basic understanding of algorithms.
Once I had a DBs test where we had to normalize tables and hand write SQL. The test lasted more than 3.5h and nobody finished it. It was such a dumb thing to do.

eniko, to random
@eniko@peoplemaking.games avatar

Can we retire the phrase "labor of love" for indie games? Like, do you really think any indies are out there working on things they hate

Idk it's a pet peeve that I know is stupid

glaskows,
@glaskows@mastodon.gamedev.place avatar

@eniko ... and luck.

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

Nice bit tricks:

Min(a,b) = a ^ ((a ^ b) & -(b < a))

Modular Addition ((a+b)mod n, if 0 <= a, b < n):
sum = a + b
result = sum - (n & -(sum >= n))

glaskows, to random
@glaskows@mastodon.gamedev.place avatar

I dont know why, but I love fixed point arithmetic. I wonder if there was a cpu with hardware support, and how many such alus would fit in the space of a floating point unit.

glaskows,
@glaskows@mastodon.gamedev.place avatar

@floooh Exactly. This also happens in mul/div, where the fractional part needs to be rounded before truncation. With 32.32 operands, the mul gives you a 64:64 result, so you need to add 1 to the bit 31 of the low word before shifting. And then you need to recompose the result from those two words.
But is not such a hassle neither, as long as you keep the numbers inside a word.

glaskows,
@glaskows@mastodon.gamedev.place avatar

@floooh Like BCD instructions in the old days.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • megavids
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines