How's that game/engine/toolchain cumming along Sup Forums?
How's that game/engine/toolchain cumming along Sup Forums?
Other urls found in this thread:
codecademy.com
codecademy.com
youtube.com
youtube.com
youtube.com
youtube.com
youtube.com
lazyfoo.net
twitter.com
>Outdated language from the 70s
Kek, retard alert
reposting because no new progress but enjoy these threads :)
This is why I use Java.
Please don't use Java. Thank you.
Recently started to replace the programmer art with actual sprites, coming along quite nicely
Is it bad if i'm learning java?
if you have a toaster then yes
Any advice for someone who's about to begin a computer science degree?
It's only bad if you hate having a job.
Language wars are a good way of distinguishing people who don't actually do much programming.
Not at all, I started with Java, only edgy C++ users say otherwise
kill yourself
kill yourself, C is fine. At least a dozen times better than C++ or any garbage collected language.
The only language that slowly reaches the level of C's performance is Rust
>C is fine. At least a dozen times better than C++
why
Truth to be told, I only made this post () too see if people really likes Java so I can start to learn it.
Apparently, I need to learn Java to have a job.
No, LEARN Java, of course learn it. Learn everything if you can.
Just don't use it when it matters to you.
C++ is actually somewhat fine. I just don't like it personally. C++ feels like a really nice bicycle that has been built into a car over the years. It actually drives pretty nice, but you'd feel safer in a car that has been designed as one from the beginning
You're not at school to learn. University isn't for learning.
Before every subject starts, just go teach yourself before hand. Read a book or two before hand and just ace the subjects on your own.
C++ pollutes people's brains. I don't write that lightly.
too much of a brainlet to program
What about C#?
Thanks user, probably the most helpful thing I've got from this website.
Good for other applications, but not fast enough to write high performance game engines.
At least you'll get a job with it tho
This pretty much. Also make sure you do a lot of studying outside of class material because they'll teach you a lot of shit that employers don't care about.
It's good to have that foundation but when you're applying to jobs they won't care if you can prove a problem is NP-complete, they're going to want to know that you know the latest technologies.
What books can I use to learn Java?
he's either scared of change or never wrote anything past 100 lines
Head first Java is very good for beginners.
After that I recommend Design Patterns by Gamma and co. It's more general for all object oriented programming languages though, but I learned very much from it
You don't even need books now.
codecademy.com
All interactive.
If it's your first time even looking into programming, learn Python instead.
codecademy.com
C++'s problems are deeply rooted into the language additions to C and the methodology that they promote to programming.
C++ being standardized is probably the worst thing to happen to programming. Easily.
>Using C
>His game doesn't run on retro game hardware
Cum on OP step your game up.
youtube.com
youtube.com
youtube.com
youtube.com
youtube.com
Anyone know what is a good graphics library for C++, specifically for 2D game engine programming? Am considering SDL and SFML. I've heard SDL has better support across platforms, but that SFML has better documentation and learning materials, and also is object-oriented which I am accustomed to. Anyone have any experiences with these?
Thanks, but why the facepalm man is in the cover?
Not my first time and I kinda like to use books. But I will also use code academy, of course.
I wish I knew!
How do you differentiate between what an employer would want and what's pointless garbage?
freeglut
SFML is WAY easier to use but SDL is crossplatform. That, and SDL is a native C library.
Look at job descriptions. Look at what they're looking for. Go to job fairs and talk to people. Make connections.
There's really not any "pointless garbage." Just some stuff will help your employability more than others.
Java is necessary for today's jobs but most, if not all, non-mobile shit is done with something else. C# is better for scripting than Javascript and C++ is better than Java if you know your shit.
Java is Dublo blocks and everything else is Legos.
SDL because you can't beat this tutorial site.
lazyfoo.net
I might have stupid Object Oriented shit but it'll do.
I will try to get a TI job without a TI degree, is that actually possible?
>tfw too stupid to learn OOP
It's still the fastest you can get without assembly.
Thanks user, fucking based
Don't you mean IT?
Also know that every programmer at the company you work at will hate and make fun of you behind your back
It's possible, but no one in your entire carreer will ever take you seriously.
And be Indian in which case you'll be supremely fucked.
Let's look at it from an employers perspective. Let's pretend you're an employer.
You're making websites. You need a position filled.
We'll assume that you have no higher social allusions to anything, you just want someone to do this shit.
If an interviewee comes in an starts talking about how much he loves mathematics or about how she loves computers, would you care?
No, you want to know if they're familiar with these tools your company uses and their response to having to learn these in-house tools further.
That's all it is. Resumes and interviews are a bunch of bullshit, just give people what they want and don't bullshit them back.
Oh no he's retarded
This There is nothing more infuriating than a programmer that can't code and everyone will hate you for it. Unless you gain a burning desire towards the IT job with the will to learn and improve yourself, you're going to have a bad time.
>want to get a couple books on beginner coding
>check Sup Forums's wiki because for some stupid reason I thought they wouldn't be biased
>literally ALL the fucking books are C++
I HATE C++ SO MUCH
HATE
EVERY SINGLE FUCKING TIME I TRY TO DO ANYTHING WITH IT IT TURNS INTO AN INSTANT HEADACHE
JUST THE SIMPLEST SHIT LIKE CONVERTING AN INTEGER TO STRING
YOU WOULD THINK THAT AFTER OVER HALF A CENTURY PEOPLE WOULD HAVE FIGURED THIS SHIT OUT
NO
IN THE WHOLE FIRST 2 PAGES OF GOOGLE EVERY SINGLE WEBSITE HAS A COMPLETELY DIFFERENT METHOD AND NONE OF THEM IS NOTICEABLY "CORRECT"
FUCK YOU Sup Forums WHY CAN'T I START LEARNING WITH ANY LANGUAGE PAST THE '70S THAT AUTOMATICALLY DOES THIS SHIT?!
What kind of garbage unis did you go to? Mine taught us about the latest and hottest techs and methodologies and had us apply every bit of knowledge we got on actual problems.
OFFICIAL PROGRAMMING LANGUAGE TIER:
INTELLECTUAL TIER:
Lisp/Scheme/Racket
Haskell
Erlang/Elixir
Using lex/yacc to write your own programming language for each project
COMPETANT PROGRAMMER TIER
Go
Python
Bash Script
Ruby
HARDWARE INTERFACE TIER
ASM
C
RETARD TIER
C++
Java
C#
Visual Basic
Javascript
Perl
This is objective fact.
People can't even define it, so there's nothing really to learn.
>JUST THE SIMPLEST SHIT LIKE CONVERTING AN INTEGER TO STRING
That's a good exercise, you should be able to do this on your own.
So the only donwside is that people will bully me? Well, I'm ok with that, it will be literally the same as the rest of my life.
>EVERY SINGLE FUCKING TIME I TRY TO DO ANYTHING WITH IT IT TURNS INTO AN INSTANT HEADACHE
Welcome to programming 101. This doesn't change depending on the language you use. Programming is literally making up shit as you go or planning the whole thing from top to bottom before starting. Anything in between is going to give you a bad time.
>JUST THE SIMPLEST SHIT LIKE CONVERTING AN INTEGER TO STRING
>Literally wants everything handed to him like a fucking baby
I don't think you're ready for compiled languages kiddo, stick to HTML.
You obviously haven't been coding very long. One of the first things you learn about coding is that there are many many ways to do the same thing. Some are more effective than others at certain times.
No, you won't be okay with that because unlike school you will actually have to depend and rely on other people, so you better have them like you, and vice versa.
>Convert int to string
Just use fucking itoa() ?
The guys who replied to you are right. From my experience college is for you to show off get a profs attention start picking a thesis for your masters and land internships. Most of the professors i have had dont give a shit if you learn anything.
I learned c and assembly because I thought it was fun and really optimal for certain things. Why would you guys want to be programmers if you hate programming so much?
Post your fizzbuzz you faggots
This.
Bet this dumbass has never even heard the term "manpage".
No they didn't, otherwise they'd be majorly updating the curriculum every 1 or 2 years.
Comp Sci. and IT degrees are stuck in the 80's, that or people think their university is leagues ahead because they're leaning Haskell and taking an extra linear algebra class.
Apparently C++ has this whole weird kooky string in/out thing that I haven't seen anywhere else. Other languages I tried like Python and Java just give you a function to cast this shit and you're done. Why must such a basic function be so complicated
No I actually had a pretty grand time cobbling my shitcode together in Python
Sure there are. I'm talking about the most basic fucking things you would expect the language to have a library for, christ.
I don't exactly remember what was it string-related that was causing me so much grief but in over 2 pages of google search there was no mention of any function that did it. It was a couple years ago honestly.
there's nothing wrong with OOP when it comes to video games.
def fizzBuzz(a)
for i in 0..a
if i % 3 == 0
p Fizz
end
if i % 5 == 0
p Buzz
end
if !(i % 3 == 0) and !(i % 5 == 0)
p i
end
p '\n'
end
>I don't exactly remember what was it string-related that was causing me so much grief but in over 2 pages of google search there was no mention of any function that did it. It was a couple years ago honestly.
that's because itoa() is a C function which can still be used in C++
No, the downside is that you're not competent enough and a burden to your team. Would you rather be dragging people down with you?
Universities and especially universities of applied sciences are meant for people who are really interested in the subject, have some beforehand experience on it or have been involved with it for a long time and are just getting a degree for it.
C++ can be considered barebones coding. It's like an old car from pre-90's where there's no central locking, no steering aid and the radio has a casette player. Other languages gimp you in the long term since C++ has you making your own snips of code to help you get through the day instead of giving them to you fully integrated.
Meant for
what is even the point of modulo in real life
But I will not be a burden...
>Other languages gimp you in the long term since C++ has you making your own snips of code to help you get through the day instead of giving them to you fully integrated.
I don't see how this is a bad thing or how it will gimp me. The fully integrated library is guaranteed to be much better and reliable than I could ever do on my own, and it's a whole load less work to do.
I see it what you're describing like knitting your own socks or something.
There is everything wrong with OOP ESPECIALLY when it comes to video games.
Video games are always working with huge, varied, flowing, intercommunicating data sets. OOP just fucks all of that up.
You were never taught how to work on a project, or with a team. You will be a burden.
out of curiosity, when do you hardcode a mechanic in your game engine and when do you use scripts?
>The fully integrated library is guaranteed to be much better and reliable than I could ever do on my own
You would think that wouldnt you.
I *really* need to release it already, and update my dev blog. It's just a handful of bugs left at this point.
Why would I use a shitty programming language if I have Python?
What in IT exactly? Helpdesk? Database? Networking? Programing? Information security?
Because unless you have a crap ton of certifications, good luck getting any IT job without a degree.
What kind of an IT job were you thinking then? Idea guys don't get hired and anything not related to programming in an IT firm is maintenance.
It's more about understanding why and how the integrated features work. You have a much better chance understanding why something is clashing if you know what it does in code. You're gonna be spending time finding work arounds and being stuck if you don't understand the libraries fully.
Also is right. Premade libraries are templates and it's almost always better to modify them to fit your project.
OOP is designed to handle exactly what you said
there are areas of programming where you can say OOP doesn't make a good fit, video games on the other hand are one of its best use cases
Scripts would be for real-time things so you're not recompiling your entire project just to change a single variable or edit a single shader file.
Then again you can probably just do all that while the program is running in the same language anyway if you just play it smart.
Maybe because you want your game to run above a single frame per second.
if you haven't used modulus before you probably haven't programmed a real video game
I don't know, what is the point of knowing wether or not a number is the multiple of another?
If you need to ask then you shouldnt be writing an engine in the first place
>crap ton of certifications
Well, this is indeed my plan, of course.
well duh, i asked what the point is
>weird kooky string in/out thing
You mean
Its a mathematical operator. You use it it when you need it. A few days ago I needed to check if a block of memory was the appropriate size to be decrypted. The encryption/decryption algorithm I was using relied on 16 byte blocks. I used modulus to verify my memory block was an integer multiple of 16 in O(1) time before trying to decrypt it.
>American education
if you need something to happen every X frames
tick the counter up by 1 every frame
if counter % X == 0 then do the thing
i'm not american but i did drop out of high school
see this is what i love about mathematics, it gives nerds something to feel superior about then when you ask them what it means they just scoff at you
It's not user. This isn't my shitty opinion because I don't like how Java writes "hello world" or C++'s cout.
OOP is fucking awful, and the only place I would even recommend it is GUI programming, and only because they don't shutup about it.
Following OOP principles to a tee, is the worst thing you ca do to your video game. The absolute worst.
Go back and read through what happened to the games that made the shift from C to C++.
Starcraft, Warcraft II, all the performance problems of modern games, development time, debugging hell.
It's mostly attributed to OOP and C++. Mostly. I could write an essay on it.
Anything with strings needed some weird
n enormous percentage of mobile develop, specifically android, is all java still though. You can't downplay how important that is
Not being sarcastic, I would like to read that essay or if you could link to something that goes more in depth that would be cool too.
What don't you understand? OOP just requires a little more organization than other programming