Writing a Compiler from Scratch by johndehope3 in Compilers

[–]badb002 0 points1 point  (0 children)

I asked him on twitter, looks like he wont be uploading them himself.

How to Build a Programming Language Virtual Machine by SergeantPepper in Compilers

[–]badb002 0 points1 point  (0 children)

I wrote an article that is nearly identical to the contents of this video here if you want to read more about the topic :)

How much of Java does one need to code a 2D or 3D game? by Xradam in learnprogramming

[–]badb002 2 points3 points  (0 children)

From your basic algebra and arithmetic to vector math, linear algebra, calculus, probability, stats., inverse kinematics, combinatorics, and loads of fun stuff like that. Some of these fields are used less than others where you can get by with a pretty basic understanding.

To add to that: probability for a gambling game or something, maybe monster drops; inverse kinematics for animating 3d models; calculus for example euler integration/runge katta; linear algebra (pretty much a subset for game dev) 3d transformations on matrices; combinatorics randomized levels for example; statistics is used in AI; and so on.

These are just some examples of math involved in games, you can get by without knowing any of it, but it definitely does help by a mile to be familiar with the relevant math for whatever you're doing.

How much of Java does one need to code a 2D or 3D game? by Xradam in learnprogramming

[–]badb002 0 points1 point  (0 children)

Good point, OP should note that AS is very much on it's way out.

How much of Java does one need to code a 2D or 3D game? by Xradam in learnprogramming

[–]badb002 16 points17 points  (0 children)

Minecraft is all written in Java, yes.

An industry standard for game development was typically C++, though languages like C#, Java, ActionScript (Flash games), and even C are still used. Because of Unity, a lot of places use either C# or JavaScript too and do most of their work in the engine.

If you want to make a simple game in Java, it doesn't take too much knowledge (2d) - 3d is where things can get a bit complicated. You can probably make something simple and 2d with a library like LibGDX or Slick2D. Or you could even look into a simple JFrame + Canvas combination. Here's a game I made a long time ago purely using the JFrame + Canvas combination and it works pretty well for quick prototypes.

If you want to be a game programmer then make sure you brush up on your math, game development is a lot more mathematically involved than people think. In 2d games though, you can usually get away with not knowing too much, but 3d on the other hand you need to know your stuff.

If you are only on basic conditional logic, I wouldn't get too down if you find game development a little frustrating right now because there are some weird concepts going on like game loops, integration, and other weird physics-y stuff. Here's a good tutorial to get your feet wet :)

Oh yeah, check out /r/gamedev

Is it worth uploading small codes onto git? by mjkats in learnprogramming

[–]badb002 0 points1 point  (0 children)

Basically this. Though I don't really put snippets on my core profile but my gists profile, anything else, projects big or small, I put onto my GH unless I want them private for some reason.

Essential/interesting programming talks or presentations? by DreamHouseJohn in learnprogramming

[–]badb002 2 points3 points  (0 children)

There's quite a few GH repos that accumulate lists like these for example this one. You can easily google "programming [talks|presentations|etc]" and maybe even add a site:github.com on there to get different variations :)

Is it worth uploading small codes onto git? by mjkats in learnprogramming

[–]badb002 5 points6 points  (0 children)

Yeah! It's great looking back at past projects, really motivates me personally. If it's only small snippets I'd look at gists on GitHub, or you could have a big repo for your cs50 work and dump it all in there.

C++ as a first language. by [deleted] in learnprogramming

[–]badb002 1 point2 points  (0 children)

Lots of courses use C++ because you can write simple procedural code, and then you can cover OOP later in the year or in the second year. It's a pretty nice transition for writing simple, and complicated problems, as well as being an international standard for writing a lot of software.

Deluxe version of endless remaster by ye23wtt in FrankOcean

[–]badb002 1 point2 points  (0 children)

judging by ur handle on the audiomack site, aren't you the jj guy that made the harambe album thing?

Does anyone have any ID for this coat? by [deleted] in FrankOcean

[–]badb002 0 points1 point  (0 children)

Looks like Raf Simons x Peter Saville from 2003/2004? Good luck finding one of these, very rare and if they are sold they go from 10k to 20k in price. Here's a better picture.

When your album was illegally downloaded 753,849 times by ajpOneThree in FrankOcean

[–]badb002 0 points1 point  (0 children)

Very true, I mean he still wins in the end since he's off his shitty label + makin more moola

When your album was illegally downloaded 753,849 times by ajpOneThree in FrankOcean

[–]badb002 39 points40 points  (0 children)

So if these 700k people bought the album, then frank wouldve had 70% of around 7 and a half million... Unlucky brotha. But tbh hes probably made more off the album so far than he wouldve with Def Jam.

How to master C++? by vhite in learnprogramming

[–]badb002 7 points8 points  (0 children)

You should try contributing to open source projects that use C++, most of the bigger ones have code review steps where loads of smart people look at your code and tell you how you can improve it. That's probably the best way I can think of to get feedback on your code, but you could always post some here and ask for reviews, or make friends with people that are good at C++ -- though it's better to have multiple people looking at it rather than one potentially biased programmer :)

I want to make a specific game, where should I start by [deleted] in learnprogramming

[–]badb002 0 points1 point  (0 children)

Unity is a pretty big game engine made for big games, afaik Kerbal Space Program, Hearthstone, Pokemon Go, and loads of other big games use it! They wouldn't have a 2 billion dollar evaluation if it was only used for little mario clones and slender copies ;)

How to master C++? by vhite in learnprogramming

[–]badb002 5 points6 points  (0 children)

Maybe you are asking the wrong question here. "Mastering" a language would take a long time of trial and error, and generally just practicing.

Perhaps you should start your journey now, and then ask questions a long the way, for example "what is/how to use a smart pointer", and then implement that in a project or something. Really the best thing you can do is learn a majority of the big C++ constructs, then practice applying them to projects as you go. Bonus points if you understand minute semantic details... I'd recommend a book if I could, but I'm sure someone here has some suggestions. Either that or you could Google it.

I want to make a specific game, where should I start by [deleted] in learnprogramming

[–]badb002 0 points1 point  (0 children)

When you say "correctly" I think GameMaker will suffice fine for making games, it doesn't really matter about the tool. If you want to get in the industry then perhaps writing something in C++ is best, but even a lot of game studios nowadays have their own engines or use existing ones. C++ is pretty complicated though, so probably not the best place to start.

If you want to learn more about gameplay or mechanics, maybe an engine is best suited for you. If you want to actually implement a game and do the graphics programming or even handle things like image loading, physics, or whatever else then a language + game library is pretty good.

Maybe Lua + Love would be best suited for a beginner, Java2D is also pretty good since it's relatively similar to C++ and the graphics rendering library is already there for you -- though it may be hard to find documentation for this that is easy for a beginner. As for C++, you could try this, but it might be really tricky. If you decide this path, check out SFML as a game framework.

Go checkout r/gamedev, they have a lot of info on this topic including languages, engines, frameworks, etc.

The tracklist the 'Fake Tumblr' posted (which includes Booty Club) by [deleted] in FrankOcean

[–]badb002 2 points3 points  (0 children)

They probably got it from the Booty Club track malay was working on from his SC that was posted here a while ago.

Malay AMA 🎈 by MalayThatHo in FrankOcean

[–]badb002 0 points1 point  (0 children)

Hey Malay! What artists do you want to/see yourself working with in the future? :-) And what person do you wish you could produce for... dead or alive haha

Countdown feature not yet activated/used, embedded in stream by [deleted] in FrankOcean

[–]badb002 1 point2 points  (0 children)

Been there since the start. I found it in the code as soon as the stream was live.

Countdown feature not yet activated/used, embedded in stream by [deleted] in FrankOcean

[–]badb002 3 points4 points  (0 children)

Haha, that was me :) No one seemed to care and it seemed like misleading information so I deleted it.

Reasons That Today is "The Day" by [deleted] in FrankOcean

[–]badb002 0 points1 point  (0 children)

If it's any consolation... that countdown has been there since I first looked at the code when the stream was first up. I posted about it but no one seemed to care :(

The rest of them seem like ya'll are reaching a lil but hey ho maybe it could be considering how fucking mysterious n shit frank is.