Post video game code and explain what it does and why it's interesting
Shopping Cart Returner Shirt $21.68 |
Nothing Ever Happens Shirt $21.68 |
Shopping Cart Returner Shirt $21.68 |
Post video game code and explain what it does and why it's interesting
Shopping Cart Returner Shirt $21.68 |
Nothing Ever Happens Shirt $21.68 |
Shopping Cart Returner Shirt $21.68 |
>this. this. this. this. this. this.
This.
this.post.gay.quote !== 1) {
that looks like it runs terribly
>your brain on oop
Ah yes, I write all my code like a caveman trying to speak.
>doing physics calculations every frame instead of on a fixed time interval
No wonder games have so many glitches nowadays
Not going to explain what it is. Someone else in here is gonna know.
Fast inverse sqrt
Wish I would have learned about newton iteration in college
valve code
He literally copy pasted the code and took all the credit
If you're talking about Carmack he's said multiple times on record that he didn't come up with it.
Whoever wrote that needs to be fired
whoever wrote that is probably rich now
It was written by one of the co-founders of 3dfx who also worked at SGI
>t.
9,000 hours in codeblocks
Wasn't this yanderedevs code?
if if if if if if if if if if if
if if if if if if if if if if if
it was like the first thing i did freshman year in college kekw, that's why it's interesting. as for what it does, it was part of some shitty collage game thing
Looks pretty good honestly, I would have put the logic for make collage in the constructor and the width and height at attributes tho
>tfw game is a cobbled together frankenstein of unity tutorials
>curly braces inline
based
>curly braces on a new line
cringe
>putting the entire function in one line
>go way past appropriate column width
>disable compiler and ide warnings
Based