Better HN
topnewbestaskshowjobs
Log inSign up

krajzeg

1,243 karma · joined Dec 17, 2012 (13y ago) · 101 submissions

Solo game developer, hobbyist programming language designer, passes for a human. Best known for: https://store.steampowered.com/app/1264280/Slipways/ Main project right now: https://krajzeg.itch.io/solitomb
Submissions

comment 8mo ago · link · parent

Echoing the thoughts of the only current sibling comment: lots of "serious" developers (way to gatekeep here) definitely use coroutines, when they make sense. As mentioned, it's one of the best ways to have something update each frame for a short period of time, then neatly go away when it's not needed anymore. Very often, the tiny performance hit you take is completely outweighed by the maintanability/convenience.

comment 1y ago · link · parent

I was quite active in the Allegro community around that time, mostly on the allegro.cc forums - but I was still a 14-year old learning the ropes back then. Missed out on DJGPP, it was already MinGW under Windows for me.

I took part in a few of the later Speedhacks, around 2004-2005, I think?

Allegro will always have a warm place in my heart, and it was a formative experience that still informs how I like to work on games.

EDIT: Hah, actually found my first Speedhack [1]! Second place, not bad! Interestingly, the person who took first place (Rodrigo Braz Monteiro) is also a professional game developer now.

[1]: https://web.archive.org/web/20071101091657/http://speedhack....

comment 1y ago · link · parent

Just wanted to note: this is in no way the original source code for the game. It's disassembled and commented source code.

Here is the repository owner explaining the process himself: https://github.com/Piddewitt/C64-Game-Source-Code

Nice work and interesting still, but maybe we can correct the title?

comment 1y ago · link · parent

Just leaving this here: many of the Pokemon cards in question are being sold through Heritage, hyped by CGC (the grading company).

https://www.cgccards.com/news/article/13534/

History both repeats and rhymes, in this case.

comment 1y ago · link · parent

Lua is very flexible and very fun to hack! With a different approach [0], you can get a switch on tag that feels more like a "standard" switch statement, eg.:

  result = switch(shape) {  
    rectangle = function(r)  
      return "a rectangle with width " .. r.width  
    end,  
    function(s)  
      return "an unknown shape"  
    end  
  }
Can't easily get rid of the pesky functions, though.

[0]: https://gist.github.com/krajzeg/9bd8806fb72c1ae22eb931b42b3d...

comment 2y ago · link · parent

I love that this is on today's internet, and as its own site, not as an account in somebody's garden. Uniquely tailored to what it is trying to do and oozing with personality, but professional in presentation.

I have zero interest in mushrooms or dying fabrics, and yet, I can't help and be infected by this site's enthusiasm. Great way to start a day!

7.

The Early Days of Valve from a Woman Inside(medium.com ↗)

240 points · by krajzeg · 2y ago · 51 comments

comment 2y ago · link · parent

If you find this interesting and find yourself in Berlin with a bit of free time, the Deutsche Techniksmuseum there has a great exhibit on Zuse, including replicas, actual units of later computers, design drawings, storage units... well worth your time (as is the rest of the museum).

comment 2y ago · link · parent

The GBA still had some cartridges with enhancement hardware, though a lot less focused on overcoming CPU/memory limitations than on the previous consoles.

My favorite is WarioWare: Twisted [1] including a gyro sensor (+ a rumble pack) to enable gameplay based on turning the whole GBA around. But there were also add-on real time clocks (Pokemon), light sensors, and other things.

It also had the Nintendo e-Reader [2], which technically connected to the cartridge port and loaded like a cartridge, but was its own unique piece of weirdness.

[1]: https://en.wikipedia.org/wiki/WarioWare:_Twisted!

[2]: https://en.wikipedia.org/wiki/Nintendo_e-Reader

comment 2y ago · link · parent

As a game developer, I find eased tweens with a preset duration better for most UI use cases. However, this other type of animation is extremely useful when you want to smooth a movement that is continuous/unpredictable, with no definite start/end point. Think for example a tile being dragged-dropped on a grid, snapping to the grid as the player moves the mouse, or indeed, the article's example of moving a camera around.

For these cases, the exponential lerp trick is very useful, and not universally known. There are many games (some of mine included!) that use the less correct linear lerp and run into trouble with their animations feeling completely off once somebody runs the game on a 240 Hz monitor, or anything different from the 60fps that used to be standard.

For this reason, I appreciate the article. It's usually hard to access this type of hyper-specific knowledge, as it is most often passed as an "apprentice-style" oral tradition from the senior people on a team to the more junior members.

comment 2y ago · link · parent

> ...GraalVM Truffle framework... Futurama Projections...

I know it's partly on me for not knowing the domain, but I honestly suspected somebody is trying to make fun of me with some concentrated technobabble.

Especially since I wouldn't expect the topic (configuration languages) to require complex mathematical machinery to work with. Now I have something interesting to dig into.

comment 2y ago · link · parent

I can already see the wonderful cyberpunk future, where people writing e-mails use Gmail's AI assistant to add all the polite boilerplate, while the recipients trying to get through their overflowing inbox use the Gmail-integrated AI summarizer to pare it all back down.

comment 3y ago · link · parent

In fact, the Plus plan is being removed completely. It's only mentioned off-handedly in the last paragraph of the article, but it's another giant change for indie devs (who have no choice but to migrate from Plus to Pro).

They are offering a free upgrade from Plus to Pro for one year, but that does nothing once that time elapses - you have to pay the Pro fees or drop down to Personal, which is not viable for most games.

comment 3y ago · link · parent

Do we have a good, objective benchmark set of prompts in existence somewhere? If not, I think having one would really help with tracking changes like that.

I'm always skeptical of subjective feelings of tough-to-quantify things getting worse or better, especially where there is as much hype as for the various AI models.

One explanation for the feelings is the model really getting significantly worse over time. Another is the hype wearing off as you get more used to the shiny new thing and become more critical of its shortcomings.

comment 3y ago · link · parent

But that's just the thing. If we were having a normal conversation, I would react the same and ask you where you had found a room this big.

However, in the context of receiving the same run of text that GPT-3 did, printed on a sheet of paper, I would probably just go "eh, this is a math question, don't be a smartass".

comment 3y ago · link · parent

I actually find the first example strikingly similar to what would happen if a human was given a secretly broken tool.

If somebody asked me: "Hey, what's the area of a room 1235 x 738m, here's a calculator?" and the calculator gave me 935420, I would just say "935420 meters squared" as long as the rough number of digits seemed correct (and maybe as long as the last digit was 0, but I think with a less mathy person that wouldn't matter).

Should the calculator give me "3984" instead I would be like "wait, that's not right, let my calculate this by hand", which is what GPT-3 tried to do. It's just way worse at doing math "by hand".

A very interesting anecdote and another article which makes me wonder how a statistical prediction model can come so close to actual reasoning while seemingly using completely different tools to get there.

comment 3y ago · link · parent

You are not! PICO-8 was where I started, and it was a great experience - both for its community at the time and due to the constraints it imposed, making me focus on finishing games and boiling them down to the essentials.

I heartily recommend PICO-8 for anybody trying to get into hobby/solo gamedev from the programming direction.

comment 3y ago · link · parent

> building up a brand

That's a big topic, and one I'm not an expert on - if I was forced to pick my weakest gamedev suit, marketing would be it.

What worked for me was picking a social media outlet I felt comfortable with, then using it to its fullest. For me, that was Twitter, back in the 140-character days way before all this Musk mess. Twitch might work for you, if you enjoy building up an audience around a stream - though with a coding stream you're mostly going to get other programmers (not necessarily a bad thing depending on the game).

The biggest boost in recognition for Slipways was as a result of Twitch/YouTube content creators featuring it. Content creators (not necessarily limited to YT/Twitch) is where I would focus my efforts these days when trying to get the word out. The smaller-to-medium-sized ones are usually very approachable and eager to try stuff out.

comment 3y ago · link · parent

Itch.io is great and has single-handedly made it much easier to get an early audience for a freeware game. It's been a great help for me as well. It's harder to actually earn money there (at least in my case, it's orders of magnitude less money than eg. Steam), but you can't beat it for ease of publishing something and seeing what people think of it.

comment 3y ago · link · parent

Slipways is built on top of Unity. If your main goal is to make a game (a daunting prospect on its own), having to create an engine on top of that is probably not going to help your chances.

If your main goal is to enjoy yourself, there are very few programming tasks as varied and fulfilling as writing your own game engine. Personally, I'm glad there are alternatives.

comment 3y ago · link · parent

The first question I think you should ask yourself is: why do you want to go into game development? Is it to take part in making a AAA hit? Do you have lots of your own game designs that you'd love to see the light to day? Do you want to work on a 500-person team on a AAA title, or with two other people on your thing? What sort of games do you want to make? Depending on the answer to those questions, the path you'll want to take will be very different.

My personal dream was more on the "I want to make my own things and control everything" side, so after leaving traditional tech, I focused on releasing lots of freeware games, an active Twitter presence, and building up "brand" recognition for myself in preparation for the first commercial title.

I'm now a somewhat successful solo indie dev, and my latest game Slipways [1] pays my bills as I'm getting ready for my second big project. So this approach can work, but it is very... effort heavy. And probably nowhere close to what you want to do if your goals are different from mine.

But: if you really want it and have the programming chops already (and it looks like you do), getting into gamedev is mostly a matter of taking the plunge and seeing where that path takes you.

[1]: https://store.steampowered.com/app/1264280/Slipways/

comment 4y ago · link · parent

Their fix included a similarly large refactor, they just used the "security screen type" as a newly introduced parameter instead of something unique to the screen instance.

I do agree that in the real world, sometimes you have to settle for a less-than-ideal solution. I hope my post reads less like "those people are idiots", which was not my intent, but more like: this specific fix isn't ideal, and knowing this type of code is live in a device doesn't fill me with confidence, even if I can understand reasons for why it was done that way.

comment 4y ago · link · parent

Agreed. The fixed logic, at least judging by the commit message, still feels very shaky on correctness grounds ("if we are dismissing something that doesn't seem to be right, ignore it").

Since they're rewriting code and changing method signatures anyway, I would prefer they got rid of the notion of "currently visible screen" and made sure that all dismiss() calls have a unique pointer or token pointing to what exactly is being dismissed. If this was my codebase, their approach would give me all sorts of bad vibes about additional problems lurking deeper.

The whole process and the nature of the fix doesn't inspire a lot of confidence in the security of Pixel/Android in general.

comment 4y ago · link · parent

While impressive, volleyball is one of the most formulaic sports when it comes to predicting what happens next. This is not a dig on volleyball (I'm a fan!), but it is how the sport works.

The first touch is always about receiving the ball and passing it cleanly to the setter. The second touch is about setting up the attacker (if possible). The third touch is a spike or other attempt to get the ball to the other side. The only significant decision points are usually who the setter chooses for the attack (among 2-4 players depending on formation), and on the defense side, where the blockers jump (3 players choosing spots to cover). Since the algorithm only predicts "actions", both of those don't matter (the setter is going to be "setting" regardless of who they choose, the blockers are always going to be "blocking" regardless of the spot they cover).

The "team strategy" part is in effect just a check of whether the algorithm knows what is happening on the court at all. Volleyball allows the aforementioned three touches, and what the team is doing for each touch is pretty much immutable (the only source of variation is if one of the "steps" fails).

This is of course still an achievement, but the choice of sport gives the researchers a leg up, since volleyball has significantly fewer "degrees of freedom" than other sports. In that context, ~80% accuracy at predicting an action 2 seconds out is less interesting, and it's unlikely that it's anywhere close to human performance for this particular sport.

comment 4y ago · link · parent

No issues with the Postgres - it's rock-solid so far (100% uptime over 6ish months). Most DBs are going to be a SPOF, unless you're willing to go into a distributed/replicated DB setup (which for my use case, I'm definitely not - I'd rather be down for an hour once in a blue moon).

It's an API consumed by the game client, no user-facing webpages.

comment 4y ago · link · parent

Moved backend services for my videogame from Heroku to Render. It's been super-easy, and the service is more responsive and significantly more stable now on Render, despite me paying much less.

1. Almost no work. The app was Node.js + Postgres, it stayed that way and only needed a few environment variable changes plus a database migration.

2. Almost none, I use PaaS because I concentrate on making games, and want to spend as little time touching infrastructure as possible.

3. Learned mostly that switching PaaS is not a big deal if you stick to common offerings (Postgres instead of a fancy exact-purpose-fit DB).

4. ~$100 to $27/mo

5. A Node.js app that gets rather low traffic but needs to be stable, in the 1000s of req/day. It only handles highscores/ranked mode seeds, so low requirements.

6. Would heartily recommend Render if you want to stay with a Heroku-like PaaS approach and they already support what you need.

comment 4y ago · link · parent

Radical ideology craves credibility. I would suppose that for that reason, the regimes interested in treating a subset of people as inferior would look for experts who could testify to that fact. These end up being doctors and psychiatrists, since they are considered authorities on the human body and mind respectively.

As for doctors themselves, I would think they are exactly like any other group of people: when a radical regime establishes itself, some will embrace it, some will be bullied into compliance, and others will be violently opposed. You can find examples of all of those in any historical regime.

comment 4y ago · link · parent

The 400 system is the grads or gradians, indeed originating from the French revolution.

Nowadays I don't think they're used as the principal unit in any country. Wikipedia does mention it gets some use in specialized fields such as surveying, mining and geology.

1234