>That guy who doesn't know a single thing about coding but says to "Just optimize it better"
>>345264719
>try to jump the chasm
>forgot the boots at the feet of Hermes
>kill jester
>game ends
>Tighten up the graphics on Level 3!
>>345264719
Kill jester
>he writes out all his code using functions with real numbers
>doesn't even think about using named variables
Some people want to watch the world burn
>>345264719
But that's a perfectly valid thing to say
If your game isn't optimized for shit then you don't know how to code either
>>345265458
>game gives you the best ending credits anyways
>mom's spaghetti stage
>my palms are sweaty
Am I doing it right?
>>345265626
>DUDE WHY CANT I RUN THIS GAME ON MY POOR FAG GPU JUST OPTIMIZE IT BETTER
Haha, I get it, we're all referencing that Adventure Call skit on Limmy's Show, haha nice one guys, really nice, very funny, I'm having a good laugh over this thread guys.
>that guy who tries to get troll
>>345265763
no you aren't referencing the picture
also
stop being insecure
>>345265763
Sublte, 6/10
>>345264719
Kill Jester
>>345265790
>DUDE WHAT THE FUCK IS CACHE ALIGNMENT
>>345264719
Get Troll
>>345265936
>DUDE WHAT DO YOU MEAN I NEED MORE THAN 1GB OF VRAM?
>>345264719
>That first year comp-sci major who thinks he understands coding games.
>>345266085
I guess consoles can't run video games then.
Best Falconhoof right here
https://www.youtube.com/watch?v=LS35DLMV7EA
>tfw party wipe on the Ogre's Latrine
>>345266142
Consoles are one set of hardware. Sorry that developers aren't just focusing on your very specific 1GB gpu and nothing else
>>345266259
You should try reading my post before replying to me next time.
>>345266098
Optimizing games is just like the hacking mini game in fallout where you just remove duplicate code
>>345265458
totally worth it
cheers mate
>>345264719
>That one guy who drinks anything but Barr's Red Kola ®
>>345266529
kshhhh
gugugugugu
ahhhhh
>>345266529
It also taste great even in a can. To be clear I am referring to Barry's Red Cola®!
>>345266098
>that guy that doesn't realize the gum he likes is going to come back in style
>they don't write their code in assembly to be perfectly optimized
Shiggy my diggies fucking casuals
Optimizing games generally comes down to graphics, rather than code. High draw calls and ridiculously complex shaders make up 99% of bottlenecks in modern games.
>>345264719
>FUCKING TICKRATE. IT MUST BE THE TICKRATE
>>345267462
>that guy who wont stop talking about Pie
>That guy who hasn't preordered
>>345264719
So I'm learning coding right now and I wonder what this "optimize it better" is about.
>>345268746
>particle effects
>>345270571
https://en.wikipedia.org/wiki/Time_complexity
>>345264719
just gonna leave this here
https://www.youtube.com/watch?v=hkDD03yeLnU
>it's a yoker level
>>345270571
1 - Compare different implementations of the same functionality and pick the one out that works best.
2 - Write smarter code to circumvent limits.
Of course assets and levels can be optimized as well.
>>345264719
JUMP
THE
CHASM!!!!
>not maining nasty girl
It's like you want to lose.
https://www.youtube.com/watch?v=qDBp_wE7Or4
class Chair : private Cube
{
virtual void move()
virtual void sit()
virtual void position()
};
>>345273263
>no semicolons
kys
>playing Limmy's World Online
>finally high enough level to check out Yoker
>>345265375
"Aye I did!"
>tfw don't know how to code
>mfw reading code
Why the fuck would you make it like this? It seems like 80% unneeded bullshit.
>>345264719
"Optimize it better" is retard speak for "make it not run like shit".
>>345273567
It is 80% unneeded bullshit.
>>345273567
most people who code dont know how to code either
>>345267857
With cross engine platforms being the norm, is assembly level programming even feasible? That's discounting the fact it fell out of mainstream use around 5th/6th gen.
>>345274078
That TPS on 3DS Iron fall or something used assembly
>>345272882
>>345273476
The Dee Dee parts are a hilarious insight into dole life anyway but Yoker has to be one of the greatest sketches of all time.
>game with inventory weight limits
>steel weighs more than feathers
>>345267857
Write in a high level language and check the assembly output. If it is compiled in a poor way and you think you can do better, then replace it with your own assembly code. Writing the entire thing is retarded though and will get nothing done.
>>345274119
So it's only viable for a single set of hardware. What about, say, the PS4, Xbone, and PC? They all use x86 based CPUs, so could you write the game's code in x86 assembly?
>>345273567
Computers are very literal machines. You need to tell them exactly what to do.
>>345264719
Yeah dumbfuck, simplify your fucking scripts and engine code, common sense, of which you all have none
Unoptimization trends will bite you all in the ass, hard
>>345273263
Favor composition over inheritance. This is one of the cases where you are inheriting for behavior which is a bad design decision
>that guy who says the game is shit
>450 hours on record
>>345274558
>Inheriting at all
wew
>>345264719
JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM
JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM
JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM
JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM JUMP THE CHASM !!!!!!!
>>345273537
Ye didnae!
>>345265816
Oh, okay then. What about this?
>vietnamese computer says press any button to continue
>press power button stage
>computer starts playing it aint me
Like that?
>>345274595
>that guy who says the game is shit
>less than 1 hour on record
see it actually works both ways you fucking anime avatarfaggot retard.
>>345274939
mate i posted that two hours ago nearly
are u doing alright
>>345264719
>every project manager ever
>>345274986
lol triggered?
>>345275018
I had to eat chicken tendies with mom's spaghetti.
>>345264719
>Someone says "the devs were lazy"
>>345273567
Give me an example.
>>345270571
-Always use magic numbers, variables take up memory
-Try to keep all code in a singular file
Let's take another call.
>>345275337
Good devs are lazy though.
>that guy who begged you constantly to play a game
>struggle through but eventually finish it
>tell friend it's bad
>"Why did you play it if you didn't like it?"
>>345275438
>>345275535
Don't forget to keep everything in one function. It takes a few extra instructions to call a separate function and if you need it, you're probably a bad coder.
>>345267857
That stopped being the case a while ago. Compilers are much better at managing things like cache coherency and register allocation over large programs compared to humans as long as you have the right data structures. Individual algorithms are frequently better optimized by hand, in which case assembly is useful, but people who program entirely in assembly in the modern day because "that's what REAL programmers do" are idiots.
>that guy that ships Pharah and Mercy
lol you dumb hahahahahahdasdfdf
8+++++++++D ``````
>>345275685
This. Smoke and mirrors executed well is the way to do it. Instead of rendering all kinds of stupid shit just trick players into thinking that something impressive is going on in the background. Saves time and money.
>>345275751
On older cpus, floating point calculations were much slower than integers. some person from 3dfx i think realized that if you reinterpreted a float as integer and bitshifted it and used a magic number like that, it would return a result pretty close to if you had calculated the inverse square root
>>345276039
>>345276069
That's not lazyness though, it takes a good amount of planning to pull it off correctly, and it's almost always done because of hardware limitations.
>>345274243
>kilogram of steel weighs more than a kilogram of feathers
Feels real good to be Glaswegian and even better to be Scottish. Anyone got stabbed over Pokemon go in the necropolis yet?
Hey /vg/, got a question. What's heavier? A kilogram of steel or a kilogram of feathers?
>know how to code cause learned some basic dumb language in a year
>see code written by people who've been doing it for years professionally
>literally poorly written retarded garbage with a bunch of asinine repetition outside of global custom functions
alternatively
>30 lines of ubermath code that renders 3D graphics when run
>mfw
>>345276634
a kilogramme of steeluh
>>345275735
>bought three copies ofAliens: Colonial Marineswith myGameStop PowerUp Rewards points
>play through it some friends
>we all had bugs trying to start it up
>had to look up solutions for an hour until we were able to play it
>one of them drank a bunch of beer while playing to get through it
>the other one kept complaining about everything
>we play through it and agree to never play it ever again
>one of the friends bought us the DLC
>gonna play through it one weekend
Apparently the DLC is good so that will be okay.
>>345276610
>Feels good to be scottish
Not after that vote
>>345276634
Steel of course.
Much heavier than fucking feathers.
>damn daniel stage
>back at it again with the white vans
sorry I had to
>that coder kid who uses goto and on error resume next statements everywhere
>kitchen level
>everyone is bullying the knife
>>345270571
Make the code do more with less effort.
Simply. You want to be telling the computer to do as few things as you can, while still achiving the same result.
Example/
If (A=B)
{ Do SomethingX }
Else
{ IF A=C { Do Something Y} }
Lets say, 95% of the time, When this code is run, A=C. That means the the computer is checking if A=B then if A=C. That is 2 logic checks 95% of the time.
It would be better to do it like
If (A=C)
{ Do Something Y }
Else
{ IF A=B { Do Something X} }
This code would be doing 2 logic checks Only 5% of the time. So its more efficient.
The complexitiy comes from the fact that other factors might require the 1st way for things to work in the correct manner, or changing this might result in a situation that is improperly handled somewhere else in the code. Also, REALLY well optimized code is very hard to read, since some patterns are not obvious, and good optimization takes adv of patterns. So optimization is often one of the later steps in coding, B/c going back and modifying optimized code is a Bitch
>>345264719
To be honest most /v/irgins know next to nothing outside of a few scripting languages.
There's nothing wrong with that, it's just that understanding how an assembler works pretty much explains backwards compatibility and understanding data structures clues you into why some programs that achieve the same end result have a difference in speed because of how they're designed.
I'm still trying to figure out how graphics fits into the whole picture.
>That guy that didn't kill the jester
>>345264719
This is the only good sketch in the fucking show.
WRONG WAYYYY
DOWN A ONE WAY STREEEYET
>>345264719
>tfw you've reached....another dead end
>>345264719
>that guy who codes games but does a fucking lazy hack ass shit job and shits it out their ass and expects me to pay for the privilege
>>345276610
What sketch is this even from
>That guy who doesn't know anything about coding but complains about poor coding
thats me btw
I do find it silly that people say "Just upgrade the servers!" at things like Pokemon Go. However, games these days do have a serious tendency to just say "It's your fault the rig isn't good enough!" rather than putting any actual effort into any of those age old optimization methods of old.
>>345265610
OMG I have friends that do this.
One of them just makes a shit ton of overloaded functions and is a bitch to find errors in it, also there are some assholes out there that don't even indent correctly
>>345264719
>That guy who doesn't know a single thing about coding but still talks shit about a poorly written nintendo 64 emulator
>bazinga
>>345274595
very true of civ V
most of the playtime is getting past the obfuscation of how shit the core mechanics are
>>345273476
>>345274204
>find a cardboard box at low levels
>threw it out
>don't know until told by a mate that it takes you to a pure mad space secret level around level 50
>could've met moon men
>could've gone to jupiter
I fucked it
>>345273476
>there are people on Limmy's World Online that bought just a pint of milk
>>345264719
Kill Jester
>>345270571
functions, functions, and more functions. With a dash of class.
DON'T YOU DARE USE GOTO YOU SON OF A BITCH. I WILL FUCKING CUT YOU.
>>345264719
Yeah but try not making your game run like fucking shit you indie hipster self-taught piece of trash.
>>345284674
>That guy whoseMOTHER WILL DIE IN HER SLEEP TONIGHT IF HE DOESN'T RESPOND TO THIS POST
>>345285756
Who?
>>345274595
>>345282530
I, too, would like to know.
>>345285613
Here you go
https://github.com/CRYTEK-CRYENGINE/CRYENGINE/blob/release/Code/CryEngine/CryPhysics/livingentity.cpp#L1300
>>345285632
needing an i7 and 4gigs of vram is totally fine for my 2d pixel indie platformer :^)
>>345285756
That's fucking it. I'm telling my mom on you. Your mother is gonna be getting a rather upset phone call in a few minutes.
> tfw Jester sounds like Tracer
>>345286158
>Those horribly positioned goto commands.
This is why the games suffer from memory leaks.
>that guy who kept insisting Crysis was the best-looking video game well into the 2010s
>They should just balance x so it's not broken!
>>345265610
I don't remember QT having a dick, weird.
>That one guy who wants to learn code because that's where the future is heading but he finds it kind of boring and is too much of a dumbshit.
>>345286832
So your average payroll programmer?
>>345276145
Eventho I'm not a native English speaker, I like to tell myself that I'm pretty fluent with the language and yet, I didn't understand anything of what you just wrote.
#TRIGGERED
>>345288170
most native english speakers have to look up half those words anyway, don't sweat it
>>345288170
He's not speaking English but Computer-speak.
>>345276145
>some person from 3dfx i think realized that if you reinterpreted a float as integer and bitshifted it and used a magic number like that, it would return a result pretty close to if you had calculated the inverse square root
I want to learn how to code now, where do I start? If I ask /g/ I'll get bullied?
>>345264719
>That guy who doesn't know a single thing about parallel universes but says "An A press is an A press, you can't say it's only a half"
>That guy who knows a lot about coding and defends shitty, lazy devs for poor optimization.
>>345276145
didn't carmack have this in the q3 source code with the comment
// what the fuck?!?
>>345289821
You'll get bullied here too.
It's easy to learn how to code, you type "how to code" into a Google search bar and click a result that looks relevant. We're at a point where Codecademy will probably be the first result.
Considering it's 2016 and mastery of Google searches, one of the most basic forms of using a computer, still eludes you, I don't think you should attempt learning to code. It requires use of the brain.
>>345291078
I figured people in the known would be able to give better guidence than that, guess that would require use of the brain too.
>>345286158
Holy shit, this is some of the worst code I've ever seen in professional software.
>>345273263
LMAO check out this OOP fag.
>>345289821
imo if you want to learn how to code as fast as possible: Java
If you're not a lazy fuck, then learn c/c++. It helps if you also learn how computers work at the hardware level if you decide on these languages.
/g/ has their own programming general threads, ask them to recommend you some books based on whatever language you choose. They also have stupid questions threads that are /sometimes/ friendly if you don't like bullies.
>>345291683
being spoonfed requires even less use of the brain
>>345273567
Because the stuff you were reading was probably high level language shit, which is 80% uneeded bloated bullshit.
>>345291956
How is Python as a starting language?
>>345264719
T. Western AAA dev.
>>345286616
The only time gotos are bad is if you use it after leaving or entering another instruction call. That's where you get memory leaks from. Using it inside a function does no damage.
>>345265610
what do you mean by this? like the function names are just numbers or something?
>>345292167
>Python
Planning on writing some MIT code anon?
>that guy who doesn't know a single thing about art direction but says it looks better
>>345292167
You can make games with Python, but I wouldn't know about using it as a starter language. I've yet to learn it honestly.
>>345292803
And by games I mean stuff like >https://www.renpy.org/
>>345264719
Limmy's Show is the most unfunny thing on this fucking planet.
I am continually amazed by how people on /v/ legitimately find it funny, his most popular sketch is him pretending to not understand what a kilogram is for fuck's sake.
>>345291683
Coding is about helping yourself. You have to have that down right from the get go.
>That kid that doesn't drink delicious Barry's Red Cola
>>345292167
Good.
Also good forever.
Amazon.com uses it in a lot of their services and backend.
Gentlemen, how do we make the gauss saw overpowered?
>>345292908
>Using Python
>For anything other then intense mathematical coding
Lmao enjoy your slow as fuck program.
>>345292909
Tell us anon, what do you find funny?
Or are you too much of a pussy to answer?
>>345293447
Pretty sure he's not the primary audience, drunk or high scots.
>>345293447
i find memes really funny i love memes
>>345285756
Homo.
>>345293260
Efficiency in memory management is literally useless in 99% of programming cases.
>>345277404They're both a kilogram
>>345294386
But steel's heavier than feathers?
>that guy who asks for a muffit of tea
>>345292014
You could had just said "learn c++" rather than the 2 lines of shit you wrote.
Optimize your shitposting anon, gg.
>>345264719
>videogames
>>345295037
Yeah but they're both a KILOGRAM
>>345276039
Nice joke!
>>345265803
>when the troll batters your hole to death
>PC indie Dev cant optimise for shit and relies on brute force to get their shit to run
>Releases a shitty, broken port for 3DS
>their excuse for why its a bad port is "its cause the 3DS is worse than the cheapest Phones"
>>345296078
got an example?
>>345285756
thie id spam
>That guy that goes whence he came
>>345285756
Fuck you.
>be talking with friends in school circa 1998
>why don't they just make games where you're in a battle and there's 1000s of guys around you
>yeah why the fuck don't they that would be amazing
the blissful ignorance of youth
>>345291956
Thanks anon.
And it's not that I don't like bullies is just that I would like to not be bullied in memespeak.
i don't know a single thing about anything
Man, Limmy is a real doozy today, streams and records video games all day long.
Living the dream.
>>345296681
>what are Dynasty Warriors games and derivative games
So, uh
what's yer 'hing?
>>345296779
Also, goto: https://wiki.installgentoo.com/index.php/Programming_Books
>>345296291
The Terraria 3DS port
It was outsourced to some noname Devs and that was their excuse as to why it is so horrible of
just to clarify the 3DS version
>only has the smallest worldsize
>cant have more than 4 enemys on screen at once
>Runs at like 10FPS
>Only 3 characters/worlds maximum
>only like 4 people can be playing multiplayer together
give me a seccond and I will try to find where they said exactly the thing I said in my original post
>want to learn coding and make games for people to enjoy
>afraid its just gonna shovelware garbage
>>345296968
not him, but I had the same dream game at the same time era. I pretty much shat when I saw DW on the dreamcast.
>>345264719
>>345265375
>>345265458
>>345265576
>>345265803
>>345265897
>>345266154
>BBC wasn't interested in the Adventure Call series that Limmy pitched the other yearIf he really wanted to rake in some money he should figure out how to stream vidya and work Falconhoof into that
>>345265790
If my 6700k and 980ti aren't good enough for your amazing game coding, then I really don't know what to say.
>>345274986
just reading through the thread here but are you seriously implying that you need to suffer for hours before making an enlightened opinion about a game? Cause I can drop a game in 10-15 minute if I see that its shitty and not just because of an intro level or something like that. Why should I play for hours to be SURE that I'm not having any fun.
>>345297829
Looks like he has a twitch channel, /brianlimond, but I don't know if he uses it often. Based on the last highlight being from February 2015, I'd say he hasn't touched it in a while. I think right now he's focusing on selling his book.
>>345298239
https://www.youtube.com/user/LimmyDotComBlog/videos
He's off his knocker mate.
Someone tweet this thread to Limmy, poor sod needs some joy in his life
>>345297280
Just learn to mod.
>>345298576
I wonder if he knows about the potential money in getting stream donations from oil princes. Maybe he'd stream videogames more if he knew.
>that guy who does it for free
>>345292683
basically never write out literal numbers in code, other than 1s and 0s
Make a variable instead
then if you need to change the variable you only have to change it where you initially set it
>>345285756
bazongo
>>345285756
I hope you realize that applies to you as well ;^)
>>345299729
I can think of one exception but thats the fast square root // what the fuck? 'carmack' algorithm.
A couple of my favorite Limmy's
https://www.youtube.com/watch?v=tI_b9dfJq7A
https://www.youtube.com/watch?v=-mYoEpVXFbs
>>345264719
So optimize it better. Do your fuckin job.
>>345264719
see
>>345274509
Basically this. Whether its practical or not, people do you need to keep demanding better optimization... because it's been VERY evident that this industry will release broken shit that doesn't work if it can get away with it. In a patch-crazy world you NEED to have people demanding better optimization day 1 even if that means that some people get wrongly accused for it. Its no one's fault except the shit stye companies who ruin it for everybody by releasing buggy, glitchy garbage.
>>345264719
>Saying this like this shit is free
Nigga, if you want money do your job right.
I've always crap talked optimization. Fast forward to today and I'm making a 2D side-scroller using a 3D game engine.
Not even fucking close to finishing it and in my basically empty test level it's using 70MB of ram. Granted, it'll still play at solid 60fps easily on any machine made within the past 15 years, but my game looks like it belongs on the NES and it's bloated as fuck comparably.
It's hard. If you want your shit to be super optimized, you have to be building up a game engine from scratch and be using Assembly as your programming language.
>>345300748
https://www.youtube.com/watch?v=GoyDIYqGyOE
https://www.youtube.com/watch?v=1BHveGyS1GY
Some other great ones here.
>>345297182
>give me a seccond and I will try to find where they said exactly the thing I said in my original post
>1 hour ago
Anon, did you die?
>>345296968
We have Bannerlord coming out soon
>>345291956
Why would I learn C/C++ instead of Java?
>>345302283
I'm learning vb.net right now. I-is i-it okay? I was VB6 veteran back then.
>>345299729
The phrasing you want is "use named constants instead of magic numbers" you turbo faggot.
>>345302245
just couldn't find it
it seems they deleted the part about it being worse than a cheep phone because I found where it should have been but no mention of it besides all the other shit talking about the 3DS being underpowered
>>345302283
For most purposes C/C++ is going to have more documentation, previous user experience, and custom libraries than Java. C/C++ is also going to force you to learn more low level shit which then expands your ideas and options.
Java is a good language though, unless you're going hardcore into programming you're not really going to notice the difference between having used one or the other.
>>345302283
C is about as fast as you can get without writing pure assembly. C++ looks and in some respects acts like C, and you get the feature of OOP. Java is also quite fast though, so really it just depends on what you plan on doing (ie: developing software under extreme memory constraints means you'll likely need C/C++)
>>345292167
One of the best languages for starters.
>>345302283
Don't learn C/C++ as first language, you will get distracted by pointless bullshit and not be able to focus on the important abstract concepts.
>>345302923
C/C++ is not anywhere near low level, anon.
>>345297842
It depends on your criticism you mong. If someone says something like "The endgame is garbage and the developers don't care about adding content" and they have 10 minutes on record I doubt I'll listen to them.
>that guy who unironically tries to make a "good" game on unity
>>345303373
Ultimate general gettysburg is good
>>345303352
It's lower than Java, anon. Also anywhere near is a relative term which has no meaning if you don't provide context.
>>345282530
>>345285984
I remember seeing it on an Irish sketch show called Republic of Telly. I'll never be able to find the clip though
>People saying they've been conding since they're ten and shit
>Needs a few week just to fully understand methods and objects
Should i just give up
>>345303441
Low level is assembly. C is mid level. C++ strats the line between high level and mid level. This is something that every programmer knows.
>>345304217
It's a good thing I didn't say it was low level then isn't it.
>>345304065
if you weren't exposed to programming at a young age you're fucked
>>345303373
infinifactory is also good
>>345264719
Seriously, just optimize it. If a game takes up more than 97280 bytes, you're a lazy developer.
>>345291956
I honestly find assembler far easier to understand than Java.
I feel like I have no control over my program every time I try to program in java.
>>345304065
Some people are slower than others. If you generally hate the idea of programming then that should be your only reason for quitting
>>345304647
>I feel like I have no control over my program every time I try to program in java
Why?
>>345304323
>C/C++ is also going to force you to learn more low level shit
Yeah funny how you never said that.
>>345270571
You should look into Array of Structures vs Structure of Arrays representation of game data, anon.
https://blog.molecular-matters.com/2011/11/03/adventures-in-data-oriented-design-part-1-mesh-data-3/
>>345304942
I'm not going to teach you reading comprehension anon. Go back to school.
>>345304065
Christ, if you haven't made a game and composed a full symphony by 9, you need to just stop and accept that you're a failure.Objects took me a while to understand too. Don't give up, anon.
>>345279036
>He doesn't know about branch prediction in literally every modern CPU
>>345264719
Oh, you mean the way cloud imperium games misuses "refactor?"
also:
>kill jester.
>>345304065
Ditch OOP until you're completely comfortable with separate functions, strict and the concept of types. Classes are just types, but you should be comfortable with imperitive programming before doing anything class-based, otherwise it will seem pointless.
>>345305267
>strict
*structs
>>345288170
>Eventho
Fuck off.
>>345305041
C/C++ is not going to be teaching jack shit about anything low level when they're not even low level retard.
>>345306412
Memory management and pointers / reference variables are pretty low level concepts
>>345306705
Those aren't low level concepts. Low level concepts would be how those are implemented down on the instruction set level.
>>345285756
eat shit
>>345285756
fuck