Readit News logoReadit News
krajzeg commented on How Quake.exe got its TCP/IP stack   fabiensanglard.net/quake_... · Posted by u/billiob
EGreg · a month ago
I remember back in the day using DJGPP (DJ Delorie) with the Allegro library (Shawn Hargreaves), building little games that compiled and ran on Windows and other OSes, and being part of the community.

You can still play the little game I made in under 10K for the Allegro SizeHack competition in 2000: https://web.archive.org/web/20250118231553/https://www.oocit...

Back then I was also writing a bunch of articles on game development: https://www.flipcode.com/archives/Theory_Practice-Issue_00_I...

Anyone on HN was active around that time? :) Fun time to be hacking!

krajzeg · a month ago
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....

krajzeg commented on Original C64 Lode Runner Source Code   github.com/Piddewitt/Lode... · Posted by u/indigodaddy
krajzeg · 2 months ago
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?

krajzeg commented on Many of the Pokemon playtest cards were likely printed in 2024   elitefourum.com/t/many-of... · Posted by u/grep_it
rasz · a year ago
In the case of Wata the dude scamming now (Jim Halperin and Heritage Auctions) scammed in the eighties in exact same way and got fined peanut sum by FTC for it https://www.latimes.com/archives/la-xpm-1989-08-10-vw-88-sto...

"Heritage Capital Corp. and Numismatic Certification Institute. Also named in the action were Steve Ivy and James Halperin, prominent numismatic figures. A consent order was signed agreeing to establish a $1.2-million fund for collectors who purchase the NCI-graded coins from Coin Galleries Inc. of Miami."

krajzeg · a year ago
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.

krajzeg commented on I made a tiny library for switches and sum types in Lua   github.com/alurm/lua-matc... · Posted by u/alurm
krajzeg · a year ago
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...

krajzeg commented on Mushroom Color Atlas   mushroomcoloratlas.com/... · Posted by u/gaws
krajzeg · a year ago
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!

krajzeg commented on Konrad Zuse (1994)   xn--plankalkl-x9a.de... · Posted by u/tmalsburg2
krajzeg · 2 years ago
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).
krajzeg commented on The Hearts of the Super Nintendo   fabiensanglard.net/snes_h... · Posted by u/todsacerdoti
bena · 2 years ago
That was the neat thing about cartridge based game consoles, each game was essentially a new piece of hardware.

I think the Game Boy Advance was the last mainstream PCB cartridge game console. The GameCube had moved to discs, Sony and Microsoft never made a cartridge based system, and Sega was on their third such system with the Dreamcast.

But I don't think the GBA or N64 really did things like the SNES or NES did with regards to cartridge hardware. I think by that time, the core hardware was way more powerful than anything that could be attached.

krajzeg · 2 years ago
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

krajzeg commented on My favourite animation trick: exponential smoothing (2023)   lisyarus.github.io/blog/p... · Posted by u/atan2
krajzeg · 2 years ago
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.

Deleted Comment

u/krajzeg

KarmaCake day1240December 17, 2012
About
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
View Original