Sos Sosowski on Nostr: I was just thinking that game programmign deliberately defies defies classic ...
I was just thinking that game programmign deliberately defies defies classic programming dogmas.
Think about it, you make a draw_point() function, and then you make a draw_line function.
Classically, you should call draw_point() from draw_line() in a loop to avoid redundancy.
However, you never do this in gamedev, because it's slow as hell.
#programming #gameprogramming #gamedev #indiedev
Published at
2023-11-07 14:01:47Event JSON
{
"id": "680c4751695596be0195b680ec11007df0b6e509b45e70374eae07594f112353",
"pubkey": "e76256c5892e40efcca4937629cb4d59588a65741bf2170a97215a423e334cfd",
"created_at": 1699365707,
"kind": 1,
"tags": [
[
"t",
"programming"
],
[
"t",
"gameprogramming"
],
[
"t",
"gamedev"
],
[
"t",
"indiedev"
],
[
"proxy",
"https://mastodon.gamedev.place/users/sos/statuses/111369630982412473",
"activitypub"
]
],
"content": "I was just thinking that game programmign deliberately defies defies classic programming dogmas.\n\nThink about it, you make a draw_point() function, and then you make a draw_line function.\n\nClassically, you should call draw_point() from draw_line() in a loop to avoid redundancy.\n\nHowever, you never do this in gamedev, because it's slow as hell.\n\n#programming #gameprogramming #gamedev #indiedev",
"sig": "cbacfede328e66738b8dedff53da3be011b7f12ccb8506d55b3c03b592c5379ac12c4c532875835b96754260aefd59e3ffa55123d4cad301660ca0080e31c612"
}