The smell of envy is nauseating
That’s not really directed at you, rather than the unnecessary negativity permeating throughout the community. I’m not obscuring ai use. “Generative ai use” means LLM chat or agent prompted. This is nothing more than a trap for game developers to defame and reduce their competition anyway; most can’t even code.
If people REALLY want to know, I liked the TransformActor/TransformTile method in the megadrive port better as it helped with frame golfing and I moved it into assembly…
Written as:
gxt = FixedByFrac(gx, viewcos);
gyt = FixedByFrac(gy, viewsin);
nx = gxt - gyt - 0x2000;
// …
ob->viewheight = divu32_16(proj_heightnumerator, nx >> 8);
And mine is:
xform(ob->x - viewx, ob->y - viewy, t); nx = t[0]; ny = t[1];
// …
ob->viewheight = divu32_16((u32)r_heightnum, (u16)(nx >> 8));
…And I think I used menu layout since it looked nice. Hardly worth the time.
Edit: There was another for the idea of skipping a frame when nothing has changed.
Written as:
world = world_sig(); recast = world != last_world;
// …
sprites = sig_add(sprites, v->viewheight << 16 | v->xl);
Mine:
u8 r_world; if (r_list_same(vorder, numvis, reuse && !fizzlein)) return;
Also barely worth mentioning.