What's the best programming language for developing games?
What's the best programming language for developing games?
C++
Any other answer means you're either transexual, low IQ, or non-white.
Lua
Are you the same guy that allegedly was being filtered by C# some months ago?
chatGPT
65c816
6502 assembly.
assembly
I'm 2 of these things
you start by csharp to understand how coding work without getting your asshole destroyed then you learn cpp
also you better make a custom engine in vulkan or you didn't make the game
Godot and Python.
Tranny developer of Godot argument.
Not an argument, doesn't affect the game you are developing, free markets.
a new one made by you made of symbols only you can understand. Then make a 10/10 open world with hints of content that isnt that and because its impossible to datamine people will make up urban legends of what is and isnt in the game like in the old days.
for example
youtu.be
Python for videogames
Javascript and/or Java. That way when you bomb out of game development you can get a real job
Objectively speaking it's C++
Practically speaking it's whatever language you prefer. It doesn't matter as long as the game works.
What if you want to program state of the art lighting particles and reflections? You need to optimize your script. You can’t just make gaem.
It only matters if they are programming in the industry, then just look at what the big companies are using and go through that.
I still have nostalgia for Java runescape...
C++ is the best language for game development.
C# is a good first language to learn, though.
JavaScript or TypeScript is the most useful for getting anactual job.
Programming languages are a tool, the best one is the one you can use and has materials (engines and apis) you can use it on.
Anyone who claims otherwise is a retard that doesn't know what they're doing.
There's trade offs with every language but the most accessible is C#. The most popular engines, except Unreal support C# to some degree. It's not the best because of the language itself, it's the best because it's the most supported and very documented.
GDScript is basically Python
English
i'd still say c++ because you have more control
Do some coding some babby's first code project stuff
Get it done
Do other stuff
Lose all motivation
Try to code again
Code no worky
I used to make maps for tf2 and now I'm too r tarded
Also hammer sucks
best answer
if you have to ask, probably this Lua is dead simple and with Love2D you can make some very solid games (Balatro)
Personally I would use Odin, but I just love the language.
French
Prove you're a good programmer by fixing YandereDevs code.
holy C
It's time for WLanguage
!(n%2)
easy, I import this
github.com
literally every good game in existence was made with assembly
switch(number){
case 1:
case 3:
case 5:
case 7:
return false;
case 2:
case 4:
case 6:
case 8:
return true;
}
return (number & 1) == 0;
name 5.
C++. Aside from the fact that it compiles to machine code, you get more control over memory, can use C APIs without doing anything special etc., it simply has more tooling, libraries and frameworks than other languages.
If you don’t make your game using ASM then it technically isn’t even your game
C# is honestly the best language to me
too bad its owned by microsft so i exclusively use it when i use unity
It depends on the game, but remember, the role of the game designer is to create entertainment. There's no point in being a master programmer and not knowing how to entertain people. In this case, you'll gain a lot more by using your skills to work in non-gaming companies.
With that in mind, even RPG Maker can be more valuable to a game designer than mastering a programming language, as long as RPG Maker is suitable for delivering the kind of entertainment you have in mind (that program is rarely suitable for anything, though).
its not owned by microsoft it's completely open
unlike java, which is literally owned by sun
C++ and C#
C++ for your sacred code that runs fast and you maintain it, C# for scriptingfags that do shit like door opening code.
This give you the official excuse of "you can work on the game without recompiling it everytime" when you mean "i don't want low IQ people touching critical code"
web dev > game dev
It's funny you mention games as "non-critical code" when right now they're a huge attack vector because of the insanity of rootkit anti cheats.
i see no problem with this code. If it works, it works
It gives more money, but its fucking souless
Terry was a genius kek
He has a pretty compelling point.
It's way more fun drawing with less tools than all the tools.
Like in Mario Paint.
So is game dev unless you’re working on your own game
But if your game runs like niggershit, then that's a problem as well — it introduces a very expensive barrier of entry.
Pretty much this. Balatro has bad code but it's still an amazing game, and shipped.
You misunderstood the post.
"non-critical code" in this context is code that don't need all the performance or safety, such as level scripts or enemy behavior etc..
Things that are in a big company done by the shittier programmers.
I don't really believe anyone saying they're a web dev in this day and age.
Nobody has actual websites these days.
Fair enough
web dev
that one branch of programming where AI is a genuine threat to employment and livelihoods due to how formulaic it is
nah
sure
Lisp
Modern C++ with c style code
Most of your common web dev shit is in fact getting cucked by AI, there's no two ways about it. Soulless enterprise jeet coding slop tasks like
add this model, a controller, and a new view with devextreme controls
is 100% going away such that you need like 2 devs for where you might have had 15 before.
Skills and hireability are rapidly moving away from "can you code in .NET core and react and whateverthefuck?" type shit to "can you generate an entire project and un-slop the output to make it passable quickly?" Also DevOps sort of shit is, for the moment, more safe because a lot of that work takes some IQ and the AIslop still has big trouble with shit like YAML pipelines, ARM templates, etc.
C++ is the de facto language for AAA studios, but C# is also popular due to Unity and (to a lesser degree) Godot.
I'm none of those things and I'm going to use C because I fucking hate how C++ implements OOP so I may as well skip C++ in general and just suffer C99
Just use AI to write the code for you
t. hasn't developed anything or vibe codes with ai
t. java jeet
finishing a project > having good code
AI integration into your IDE is a godsend. I don't think it will replace jobs as much as some claim since, while it is incredibly helpful, you still need some base knowledge to know how to prompt it correctly and differentiate from what is it's hallucinating and what is actually useful.
fpbp
only for scripting
S tier:
writing your own engine in your language of choice
A tier:
using a framework like XNA over a retail slop engine
B+ tier:
using a big retail slop engine with a large community of support like Unijeet or JeetEngine
B tier:
using an "indie" engine like Transdot
C tier:
using a pretend """engine""" like RPGSlopper
simple as.
you will never develop Stardew Valley alone in C#
it's over
Can somebody explain to me what the point of "vibe coding" is?
From what I can tell it's essentially people using ChatGPT prompts to generate games, but at that point does it even count as programming? I use Stable Diffusion to generate porn but I don't go around calling myself an artist.
vibe coding is just a fucking meme about chatgpt nonsense
vibe coding is based
In theory, it allows people with no skills to develop software solo.
In practice, it has never made anything useful or good. The only examples of "games" made with vibe coding are irredeemable dogshit.
realistically C# unless you spend a decade writing your own engine (if it's a 3d game).
Most indies don't even code anymore they use shit like blueprints in UE
Then you use shader programming languages like glsl, dumdum
Based, you have the right idea. C99 gives you way more direct control over how your object model works and isn't full of the weird, pointless shit that C++ diehards seem to think you need to do OOP.
There is no way any actual business will hire an AI programmer. I'm sure most don't even know what fucking SQL injection is or how to prevent it.
Now that I think about it, this vibe coding era might be a golden age for cybersecurity.
Romhack chads reporting in
fpbp
all the other replies to you are rustrannies
I don't want to do OOP at all is the thing
C++ and it's not even close.
my multiplayer unityslop game is 52K lines of code naow
know how to code
no ideas for a game
True, no one is hiring an "AI programmer" BUT those who demonstrate they can use AI as an actual accelerator to literally 10x their output while having the skills to use it responsibly, will be sitting pretty
Can code
Have great idea for game
Can't draw
can code
have great game ideas
can draw
too fucking lazy to commit to a big project
if you can't at least use genAI to at least give you starting point slop shit to use, you're NGMI
Why would you intentionally make your game bad like that?
The only examples of "games" made with vibe coding are irredeemable dogshit.
Honestly I'd wager this has more to do with the sort of people that were suddenly enabled by it than the effectiveness of the practice itself. Anyone with any creativity and talent had already learned the methods to unleash it, what's left are mainly people who, when given a tool which with little practice and human control can create any artwork they could dream of, somehow have never moved past "1girl, standing, naked, by greg rutkowski".
And that computers went wrong when you made them for gamers.
Ideas are only really good if they turn out to be fun when put into practice, so it's impossible to know if an idea is good without testing it first.
If you are actually a programmer then the only useful thing is setting up ollama locally and asking it generic questions to speed up finding examples.
C++ diehards seem to think you need to do OOP.
what kind of fucking retard thinks you have to do oop?
c++ doesn't require oop, it specifically has a bunch of fucking tools to NOT do oop
do you think making a class as a data structure with associated functions so you don't have a bajillion things in fucking scope and can use sane names for things and don't need to hold multiple entire programs you are working on in your head the entire time oop? it fucking isn't
it isn't different from using C, making a struct, and defining some functions, except you have the associated problems
b-but anon I can just put them in different files, access them via file, and manage my includes
yeah put in all this extra effort and still need to hold a bunch of shit in your head to avoid being a sane person.
I swear every person who champions the most old school c99 shit has never actually worked on a project beyond the toy level.
Either that or they r some giga boomer saying back in my day when they were fucking dogshit back then
c has its time and place, but any sane person will c++ in the modern day, and that doesn't mean oop
Wasting time writing a shit game you won't finish with C++ in some meme engine no one uses (inb4 muh own engine)
vs
Wasting half that time writing a shit game you won't finish in C# with some meme but documented engine like Unity
Real retard olympic hours
Are you meming or are you really not aware unreal uses c++? Not that I agree with that poster, despite knowing sepples.
There's nothing wrong with how C++ implements OOP, and you will implement your own OOP if you make large enough project in C (see games written in C or Linux), and C++ have a shitton of nice language features missing in C. But you do you.
If it's a 2D game, using SDL and tiled to do the level shit pretty much guarantees you will finish it almost as fast as C#, but the game will be a lot smaller.
Can draw
Have a great idea for a game
Can't code
can draw (well enough for 3d modelling and texture work at least)
can code
can animate
crippling ADHD, meds do nothing. I took 60mg of xaggitin at the same time as a normie friend. he was literally fucking vibrating and i was still chasing butterflies
The best game programming language is the one you are confortable with, and allow you to complete and ship your game.
C++ is the best language for writing game *engines*.
*optimizes your code behind your back*
pss... nothing personal, kiddo
Programming languages are a tool
I hate when people use this phrase to sound smart. It literally tells you nothing and is obvious
Of course they are tools but you would not want to use a hammer to unscrew screws
Blessed gcc.
We can only hope his Unity compiler is so based (my hopes aren't very high).
Muh which language
why is this all anyone can talk about
Alright man what do you think of the new static operator() in cpp23?
AItards
When you do a build on unity, it use il2cpp to convert the C# to C++, then the compiler probably does that thing as well.
Also as it's once per cycle, the yanderedev code is not heavy.
Just to put shit in context, an NES emulator runs the equivalent to 60000 ifs per video frame,and you can run it on a 386DX with 0 wait states.
However, typing all these ifs take time, debugging all these ifs take time, having to change the values of all the ifs take time.
Performance is not being lost, but the limited time on earth that yanderedev has is being lost.
I bet if he took an week to learn how to program properly, the game would be done by now and he would be doing something else.
lol NOT ANY THAT KNOWS HOW TO HANDWRITE CODE jej
esl babble
It's not about performance, code like this is hard to write, even harder to read and impossible to maintain or debug.
>lol DOESN'T UNDERSTAND HOW TO USE WRITING TOOLS AND CREATE VIDEOGAME LOL
i invented videogames
lol literally Gamergate | was sent through laser processors again
schizo babble
two second google search tells me it was a good change with no drawbacks. if the resulting lambda couldn't be in lined and thus you had to have this passed, that sucks.
do people have strong opinions on this?
>epic fail
i invented coding languages
GVV will ruin it for Gamergate |
that's a red native american number
lol doesn't know how to draw a totally complete videogame lol doesn't know how to make videogame for readers
get a trip shitzo
schizo rant not worth reading
no wonder, you're fucking braindead
I love it when retards who've never shipped any software in their life (or work with pajeets on CRUD apps) argue about programming.
>
lol isn't with id
Performance is not being lost, but the limited time on earth that yanderedev has is being lost.
Cool reading comprehension
I do wonder about this though. Sure Yandere's silly elif chains are tiresome but was there a lot to gain here in terms of time? I've personally wasted a lot of time parsing 50-100 line files with painful regex rather than just doing the "slow" thing of parsing it manually.
if an oddeven function looks like this, what does the rest of it look like
the smartest Cnile
How would you fix Fear & Hungary's nested if situation
I imagine that even looking at the elif chains and having no better solution for it must be soul crushing.
and keyword, but this seems to be more a problem of the custom language itself.
int interpret the bit by power of two, you only needs to check the final bit
00000001 <--- this one
(int & 1) == 0
the rest is 2 4 8 16 32 64 128 256 etc...
all equipment, flags, keys pressed in one giant if
t-this is disassembly, r-right?
while (number > 0) number = number - 2
return number == 0
somone posted that woman and acted like she was smart a while ago and I lost more faith in humanity
You're probably not that far off.
This looks like some sort of custom bytecode to run events
;A is input and output
IsEven:
and 1
xor 1
ret
okay so do i need to code the screen to make my game? this is too hard i giveup
C#.
clean, organized code > performance. computers are fast enough these days, no need to be autistic
That video seems very midwit tier
Pig_execution
No one does pure C# games. if you're using unity, all the heavy shit is being handled by the C++ code in unity.
Also organization is not a language thing, its a programmer thing mostly.
You can go full class on class on class apeshit on C++/C# that makes assembly code look more readable.
AI will never get better.
then how come UE5 is the saar engine?
I bet one could make a list 10.000 times larger with correct predictions
central input handler that keeps track of event state. Dispatch system uses a mapping table where key is different state requirements needed and value is the name of the routine to be executed. So if run key is pressed, search mapping for event handler by key made up of gamestate, where only certain current states will give you the correct handler
Because they can just use blueprints.
but what about the inverse? imagine wasting days to write a clean abstraction only to tear it apart in favor of another abstraction
Behold, a plane, you can fly between continents using this.
I accept your bet. Prove it.
Doesn't work as an argument because AI has already done so many things people said it would never do.
AI in general will improve as new methods are developed and introduced. AI in it's current guise won't for the simple reason that the Internet, the only significantly large data source it can use to train, is rapidly being filled up with it's own piss.
Basically any modern project that start with "solar".
It's a bubble, exactly like the internet bubble.
And given we're still using the internet, same thing will happen to AI.
I bet at some point they will just improve how you add data to the AI yourself, and this whole retarded "SCRAPE THE WHOLE INTERNET" shit will die.
This looks like a pretty simple problem to solve:
Give the LLM a logic module, use the LLM capabilities to determine the parts of the prompt where it should apply its logic module, then use it.
The logic module should be able to handle math operations or even write and run small scripts for tasks such as counting 'R's in 'strawberry'. I'd be surprised if this isn't already a thing.
Like what, scammed a bunch of investors of their money? How would that help you write code? An before you post more thread derailing gifs, disposable porn is the only valid application for AI.
any solution that is not JUST ADD MORE DATA
Go away and come back in 2030, its too early for you, fucking time traveller
Stardew Valley, RimWorld, Celeste, Terraria, Cities Skyline, and I'm sure a tonne more are pure C#
Should I learn C before C++? I've read a bit about both between the "C How to Program" book and "A tour of C++" .C seems more fun to start with so far.