Thread 717446302 - /v/ [Archived: 23 hours ago]

Anonymous
8/6/2025, 9:32:53 PM No.717446302
1747236499576118
1747236499576118
md5: 2d9e34d4c8084fba594163688002b158🔍
Is game dev difficult?
Replies: >>717447038 >>717447127 >>717447208 >>717447509 >>717447580 >>717447585 >>717448171 >>717448682 >>717448728 >>717449163 >>717449408 >>717449498 >>717450939 >>717451829 >>717452289 >>717457928 >>717458060 >>717458810 >>717461698 >>717462464 >>717463204 >>717466220 >>717466791 >>717469530 >>717470419 >>717471516 >>717471978 >>717473010 >>717474208 >>717474208 >>717474292 >>717475460 >>717476451 >>717476660 >>717478065 >>717478627
Anonymous
8/6/2025, 9:38:38 PM No.717446772
The worst part of gamedev is midwits who don't know gamedev but act smug about if statements online
Replies: >>717447520 >>717448026 >>717449372 >>717449904 >>717462879 >>717463467 >>717464094 >>717473785
Anonymous
8/6/2025, 9:41:22 PM No.717447000
goblins
goblins
md5: 9980af51574b672b5ba9981aeaaa78fb🔍
yeah it's very difficult. Goblins keep pouring out of my computer and it's really hard to keep those little shits under control.
Replies: >>717448372 >>717449342 >>717454938 >>717457712 >>717458737 >>717470749 >>717476857
Anonymous
8/6/2025, 9:41:51 PM No.717447038
>>717446302 (OP)
>not making a 40gb executable to check if a number is even or odd
https://andreasjhkarlsson.github.io/jekyll/update/2023/12/27/4-billion-if-statements.html
Anonymous
8/6/2025, 9:42:25 PM No.717447091
this
this
md5: e449440aa06158bc7dbdfc831e00c20c🔍
draw calls
Replies: >>717448043
Anonymous
8/6/2025, 9:42:57 PM No.717447127
>>717446302 (OP)
/v/ will tell you the correct thing here is to use a switch
Replies: >>717462613
Anonymous
8/6/2025, 9:44:11 PM No.717447208
>>717446302 (OP)
Code either works or it doesn't, there is no such thing as "bad" code.
Replies: >>717474036 >>717476475
Anonymous
8/6/2025, 9:45:03 PM No.717447292
Just use claude
Anonymous
8/6/2025, 9:45:27 PM No.717447318
fgsfds
fgsfds
md5: 994f7a993cb35a41b3bedf2d1fdb1abb🔍
I had like two lines of code on my TI-83+ calculator to check if a number was even. This has to be a joke.
Replies: >>717447550 >>717452706 >>717474292
Anonymous
8/6/2025, 9:48:06 PM No.717447509
>>717446302 (OP)
Bitch never heard of a modulus.
Anonymous
8/6/2025, 9:48:19 PM No.717447520
>>717446772
>bro just replace the if elses with a switch statement bro even though you're checking against different statements and require a more robust solution
Replies: >>717448026
Anonymous
8/6/2025, 9:48:36 PM No.717447550
>>717447318
Anon it takes less than 1 line of code
anyone using more is either retarded or making a joke pretending to be retarded.
Replies: >>717447940
Anonymous
8/6/2025, 9:48:55 PM No.717447580
>>717446302 (OP)
It's fun.
It was literally my favorite game to play on my MSX computer.
Anonymous
8/6/2025, 9:49:00 PM No.717447585
>>717446302 (OP)
What the fuck does
(number % 2 === "even".Length % 2) even do?

"even".Length % 2 resolves to 4 % 2 which is 0

Oh so it's 1/0 == 0
Replies: >>717447668 >>717447769 >>717447918
Anonymous
8/6/2025, 9:49:40 PM No.717447643
can't you just do 'return number % 2 == 0'? Am I gay? I write python code for my job, but I'm a terrible programmer
Replies: >>717476681
Anonymous
8/6/2025, 9:50:07 PM No.717447668
>>717447585
oh wow
Anonymous
8/6/2025, 9:51:03 PM No.717447734
Although you should use the modulo function, I do have a shitpost way of checking for evens.
Covert the number to a string, and then check to see if the last character in the number string is a 0, 2, 4, 6, or 8.
It's not going to be fast, but it's good for a giggle.
Anonymous
8/6/2025, 9:51:30 PM No.717447769
>>717447585
good bait
Anonymous
8/6/2025, 9:52:16 PM No.717447834
>>717444068
Yes.
Anonymous
8/6/2025, 9:53:17 PM No.717447918
>>717447585
almost anon, almost
Anonymous
8/6/2025, 9:53:33 PM No.717447940
tsumugi trying to sleep
tsumugi trying to sleep
md5: 88800cdd478672c2e5180ae03ea75454🔍
>>717447550
>the mythical zero line function
They said it couldn't be done.
Anonymous
8/6/2025, 9:54:42 PM No.717448026
>>717446772
>>717447520
Threadly reminder that most games worth playing are coded like shit and have fundamental issues that boil down to lack of abstraction or data driven design.
Just make game. Don't worry about your polymorphic state machine that handles edge cases you'll never run into. Don't make "modular" behaviors for things you know you're not going to recycle. Don't be autistic about "decoupling" components that literally need each other.
I have wasted so much time on doing "system" design for my small projects and never actually making content.
Replies: >>717448174 >>717448276 >>717449047 >>717450359 >>717457564 >>717470642
Anonymous
8/6/2025, 9:54:54 PM No.717448043
>>717447091
i wish devs would START using dx12 or vulkan seriously. a lot of games are still coming out in fucking directx11. sega called their next gen mmo on fucking dx11.
Replies: >>717448170 >>717448248 >>717456934
Anonymous
8/6/2025, 9:56:34 PM No.717448167
return float(number)/2 == float(number/2);
Replies: >>717448254
Anonymous
8/6/2025, 9:56:37 PM No.717448170
>>717448043
If anything, they should go back to dx10, maybe even dx9.
Replies: >>717448712
Anonymous
8/6/2025, 9:56:37 PM No.717448171
1733152323207970
1733152323207970
md5: 0847ef2a574ac051508fc9cdaf729807🔍
>>717446302 (OP)
Game dev as a whole? Depends on your scope, but in general yes.
Programming specifically? Nah
Anonymous
8/6/2025, 9:56:40 PM No.717448174
>>717448026
abstraction is the opposite of data driven
Replies: >>717448608 >>717458238
Anonymous
8/6/2025, 9:57:35 PM No.717448248
>>717448043
They're not the same, DX12 has horrible shader compilation issues because it comes with C like shaders instead of a bytecode.
Replies: >>717448712 >>717449013
Anonymous
8/6/2025, 9:57:42 PM No.717448254
>>717448167
this tells you that 0 is even which is wrong
Replies: >>717448557 >>717448671
Anonymous
8/6/2025, 9:57:50 PM No.717448268
1753310381620105
1753310381620105
md5: bb26d6e4fb11a8ce2104aecdb4466a40🔍
Heh.. Coding is easy
Replies: >>717450021 >>717457892
Anonymous
8/6/2025, 9:57:55 PM No.717448272
>could just tell it to add 2
>dumb nigger brain
Anonymous
8/6/2025, 9:57:57 PM No.717448276
>>717448026
Making games requires either communicating with other people or expanding your domain by learning to make assets with other software, while unnecessarily optimizing everything to absurdity is free :)
Anonymous
8/6/2025, 9:58:53 PM No.717448343
use case for having checked for even numbers?
Replies: >>717449213 >>717457472 >>717458424
Anonymous
8/6/2025, 9:59:22 PM No.717448372
>>717447000
Put the goblins to work to make the game faster.
Replies: >>717449131
Anonymous
8/6/2025, 10:01:13 PM No.717448514
You can just solve that shit using recursion
>def isEven(num):
> if num == 0:
> return "even"
> if num == 1:
> return "odd"
> if num > 1:
> return isEven(num - 2)
Replies: >>717449513 >>717468226
Anonymous
8/6/2025, 10:01:53 PM No.717448557
>>717448254
fine

return (float(number)/2 == float(number/2))*number;
Anonymous
8/6/2025, 10:02:36 PM No.717448608
>>717448174
You don't know what data driven design is.
Replies: >>717459993
Anonymous
8/6/2025, 10:03:28 PM No.717448671
>>717448254
>which is wrong
https://en.wikipedia.org/wiki/0?useskin=vector#Elementary_algebra
Anonymous
8/6/2025, 10:03:36 PM No.717448682
>>717446302 (OP)
This is why you don't let trannies code your game.
Replies: >>717472252
Anonymous
8/6/2025, 10:03:56 PM No.717448712
>>717448170
dx11 and below are considered "legacy apis" by microsoft and valve/dxvk. in other words they're so old that they can't be considered "modern".

>>717448248
dx12 is supposed to switch to spir-v instead of hlsl soon.
Replies: >>717448781 >>717449906
Anonymous
8/6/2025, 10:03:59 PM No.717448718
just put the integer into your global integer array
Anonymous
8/6/2025, 10:04:11 PM No.717448728
>>717446302 (OP)
>picrel
mamma mia...
Anonymous
8/6/2025, 10:04:49 PM No.717448781
>>717448712
>soon
Replies: >>717448869
Anonymous
8/6/2025, 10:05:39 PM No.717448843
Insane behavior
Anonymous
8/6/2025, 10:05:47 PM No.717448861
With all these even/odd shitposting when it comes to coding why hasn't any engine created a built in function that automatically sorts even/odd numbers?
Replies: >>717449034 >>717473571
Anonymous
8/6/2025, 10:05:53 PM No.717448869
>>717448781
its already confirmed for shader model 7. whens shader model 7? when 25h2 or next big windows version come out.
Replies: >>717448945
Anonymous
8/6/2025, 10:06:49 PM No.717448945
>>717448869
I mean, this shit should be standard since launch.
We have a massive pile of stutter mess games due that.
Replies: >>717449307
Anonymous
8/6/2025, 10:07:32 PM No.717449013
>>717448248
You can't ship low level shader bytecode on PC, you'd have to compile for not only every single GPU but every driver for every GPU.
Replies: >>717449126 >>717449215
Anonymous
8/6/2025, 10:07:45 PM No.717449034
>>717448861
Why? It's literally just a one-line if statement.
Anonymous
8/6/2025, 10:08:02 PM No.717449047
>>717448026
The amount of quality in your game code should be directly related to the frequency that you expect to be repurposing that code.
Something like render code had better run well enough since it will directly impact performance, and a core system had better be flexible enough to accommodate how often you as a designer plan to be interacting with it.
Fringe cases can bear to be a little inefficient if they work, but you should be able to anticipate if something is fringe or core before you're really doing game design rather than code architecture.
Replies: >>717449395
Anonymous
8/6/2025, 10:08:56 PM No.717449126
>>717449013
As far i know DX11 and previous do ship in some sort of bytecode that gets translated to the target GPU, skipping the whole "C compiler" part.
Replies: >>717449404
Anonymous
8/6/2025, 10:08:59 PM No.717449131
goblin tv1
goblin tv1
md5: e6144ff7ff082635db96c486815551ab🔍
>>717448372
would love to but they are lazy fucks
Replies: >>717449342 >>717476857
Anonymous
8/6/2025, 10:09:21 PM No.717449163
>>717446302 (OP)
Yes. I've never been able to complete a single game in decades of devving...
Anonymous
8/6/2025, 10:09:51 PM No.717449213
>>717448343
Anything that alternates.
Anonymous
8/6/2025, 10:09:52 PM No.717449215
>>717449013
you target vulkan via spir-v, not the micro-architecture of your gpu you retard
Replies: >>717450118
Anonymous
8/6/2025, 10:10:46 PM No.717449284
I can do little coding exercises and whatnot, but when i try to think about making a whole game where all those systems need to work with one another and for saves to work and whatnot my head hurts.
Replies: >>717449472
Anonymous
8/6/2025, 10:10:57 PM No.717449307
>>717448945
hlsl is based on llvm which is slow as shit. its also why amds vulkan driver on windows is much worse than linux. they use llvm compiler instead of aco.
Replies: >>717449386
Anonymous
8/6/2025, 10:11:28 PM No.717449342
>>717447000
>>717449131
I love seeing the cute gobbos
Replies: >>717449852
Anonymous
8/6/2025, 10:11:40 PM No.717449361
it depends. it definitely can be. games are probably the hardest media to make.
Anonymous
8/6/2025, 10:11:47 PM No.717449372
1730669757083
1730669757083
md5: 48125798f4716339f49b03fd123390d7🔍
>>717446772
>midwits who don't know gamedev but act smug about if statements online
Replies: >>717459939
Anonymous
8/6/2025, 10:11:55 PM No.717449386
>>717449307
"nice".
Anonymous
8/6/2025, 10:12:02 PM No.717449395
>>717449047
>you should be able to anticipate if something is fringe or core before you're really doing game design rather than code architecture.
I can't do game design before I write code is the problem. I get my ideas for mechanics and overall feel incrementally. I can't just sit with a blank sheet of paper and decide I want a game with THIS kind of gun, and THIS kind of movement.
Replies: >>717449907
Anonymous
8/6/2025, 10:12:06 PM No.717449404
>>717449126
It's higher level and more generic so it can work across everything, but much more restrictive in what you can do.
Replies: >>717460137
Anonymous
8/6/2025, 10:12:13 PM No.717449408
>>717446302 (OP)
It's not "difficult", but its very time consuming. First you learn how to do it for years, then you do it for years and MAYBE you will eventually create something. Not even something good, just something.
Anonymous
8/6/2025, 10:13:00 PM No.717449472
>>717449284
Thats why you start small, like making pong or snake.
Replies: >>717450757
Anonymous
8/6/2025, 10:13:32 PM No.717449498
e35455d486a83c1a6ac23674a396ee75
e35455d486a83c1a6ac23674a396ee75
md5: 09cf85bab68d2d99b82a47ff211006b1🔍
>>717446302 (OP)
Undertale is awfully coded and yet it is a bestseller
It's as if it doesn't really matter as long as it runs
Replies: >>717449776 >>717450010
Anonymous
8/6/2025, 10:13:43 PM No.717449513
>>717448514
Provided the numbers are standard int/float/double and not a meme type you can just look at the last bit.
Anonymous
8/6/2025, 10:15:38 PM No.717449643
any other anons chatgpted through coding interviews and got a 200k job? no? just me?
Replies: >>717449841 >>717460470
Anonymous
8/6/2025, 10:17:20 PM No.717449776
>>717449498
Ocarina of Time's dialogue trees are hardcoded into the game's binary, and it runs on the update loop instead of an even-driven system or state machine.
That means that EVERY NPC on screen is polling every frame whether or not you're trying to interact with them, and if you are, then it checks hardcoded variables to see what quests you've completed and then updates the dialogue display based on that.
Replies: >>717451561 >>717481816
Anonymous
8/6/2025, 10:18:17 PM No.717449841
>>717449643
I got mine by showing a game for an old system i'm developing running on an emulator for the old system i developed.
Anonymous
8/6/2025, 10:18:25 PM No.717449852
slam_thumb.jpg
slam_thumb.jpg
md5: 3ac7cab69428e6734cfac73a264170b0🔍
>>717449342
glad to read that man. Soon you'll be able to do more than just seeing them
Replies: >>717476216 >>717476857
Anonymous
8/6/2025, 10:18:53 PM No.717449893
#define isEven(x) (!((x) & 1))
Anonymous
8/6/2025, 10:19:05 PM No.717449904
GZojFgEWsAAyNud
GZojFgEWsAAyNud
md5: 0eda8d26bdab657915062cd7394d8d51🔍
>>717446772
>game engine discussion by people who have never even opened one
Replies: >>717470938
Anonymous
8/6/2025, 10:19:06 PM No.717449906
>>717448712
>dx11 and below are considered "legacy apis" by microsoft and valve/dxvk. in other words they're so old that they can't be considered "modern".

who gives a fuck?
Anonymous
8/6/2025, 10:19:07 PM No.717449907
>>717449395
>i can't design a game before I write code
Game design is an iterative process, you'll never get it right on the first go. But you should have an idea of what you're building before you've already spent time building it. That first draft IS game design, its the first step of it.
Even for action games, you can plan things out on paper and toy around with ideas long before you have any idea of how it actually feels.
Try playing some board or card games if you want an easier time getting those juices flowing. Lots of turn based games are just digital tabletop games.
Anonymous
8/6/2025, 10:19:17 PM No.717449927
!(x&1) you bunch of fucking retards...
Anonymous
8/6/2025, 10:20:28 PM No.717450010
death
death
md5: 96ff7dd0efaa49cabf947aa1da29fb7c🔍
>>717449498
The problem with this kind of slop programming is not performance.
It's wasting the time you have on this planet with shit you could save yourself by spending a week coming up with a good structure.
Yandev and the ferret fuck men are playing a game of "can i finish this before i die?", and the answer may surprise you.
Replies: >>717465835
Anonymous
8/6/2025, 10:20:34 PM No.717450021
>>717448268
i like the idea of a code contest where the largest most convoluted solution wins
Replies: >>717450201 >>717451660 >>717454889 >>717457892 >>717459000
Anonymous
8/6/2025, 10:22:01 PM No.717450118
>>717449215
spir-v still needs to be compiled for your GPU, using it doesn't eliminate shader compilation in games
Replies: >>717450225
Anonymous
8/6/2025, 10:23:12 PM No.717450201
>>717450021
That was a thing in spacechem, people had figured out the best possible solution for every puzzle, but figuring out the worst possible solution proved to be much harder.
Anonymous
8/6/2025, 10:23:23 PM No.717450214
crab
crab
md5: 3b93910e8acaf416ce887b37aa573695🔍
>pip install isEven
Replies: >>717450483 >>717450550
Anonymous
8/6/2025, 10:23:31 PM No.717450218
vulkan will die before opengl does
Replies: >>717450348
Anonymous
8/6/2025, 10:23:33 PM No.717450225
>>717450118
Yes, but it's a SHITLOAD faster to do say

add a,1 -> add r1,1, to
faggotassblur +=1; -> add r1,1
Anonymous
8/6/2025, 10:25:16 PM No.717450348
>>717450218
With microsoft actively trying to kill it,yes.
Computing will only get worse before it gets even worse.
Anonymous
8/6/2025, 10:25:26 PM No.717450359
>>717448026
>Threadly reminder that most games worth playing are coded like shit and have fundamental issues that boil down to lack of abstraction or data driven design.
Bro just because Undertale has spaghetti code does not mean every successful game dev is a codelet.
Replies: >>717450606
Anonymous
8/6/2025, 10:27:24 PM No.717450483
>>717450214
#!/usr/bin/env -S uv run --script

# /// script
# requires-python = ">=3.13"
# dependencies = [
# "isEven"
#]
# ///

import sys
import isEven

print(isEven.is_even(sys.argv[1]))

# wa la
Replies: >>717463839
Anonymous
8/6/2025, 10:28:13 PM No.717450550
>>717450214
>npm install pyscript
>pyscript run isEven
Anonymous
8/6/2025, 10:29:12 PM No.717450606
>>717450359
Decompile your favorite games and find out.
Replies: >>717450813
Anonymous
8/6/2025, 10:31:24 PM No.717450757
>>717449472
Ive been doing those, but just scaling that always seems like magic to me. Like trying to think how bigger games that i enjoyed over the years work under the hood is really now shocking. I know some people use blueprints too but even if you think of code as visual, that stuff becomes insane spaghetti in no time, and yet theres far bigger games made without any visual coding and still function. I concede my iq is just probably not high enough to really understand it.
Replies: >>717450941 >>717450957 >>717478479
Anonymous
8/6/2025, 10:32:23 PM No.717450813
>>717450606
I'd love to decompile noita only to find out all the code is in finnish
Replies: >>717451273
Anonymous
8/6/2025, 10:34:14 PM No.717450939
1738170369961890
1738170369961890
md5: 19128ee646334af7616a4d138f8b2137🔍
>>717446302 (OP)
Nice clean code faggot, now watch this.
Anonymous
8/6/2025, 10:34:18 PM No.717450941
>>717450757
Then write out a game document, plan it out before you start coding.
Like with pretty much everything, simplify it until you make sense of it
Anonymous
8/6/2025, 10:34:25 PM No.717450957
>>717450757
Most software is just big loops with smaller loops within them. Not just games.
Try making a menu game where different menus function in different ways, but still operate on what you expect from menus.
Doesn't need to be complicated, but will help you understand the fundamentals a bit better
Anonymous
8/6/2025, 10:37:47 PM No.717451208
i'm dumb as a rock and programming is incredibly hard
Anonymous
8/6/2025, 10:38:38 PM No.717451273
>>717450813
>noita
Never played it but some autist made an attempt to replicate some functionality of the engine in their own project.
https://github.com/PieKing1215/FallingSandSurvival/tree/dev/FallingSandSurvival
The code behind it isn't bad, but it's not giga autist over abstracted code of my dreams, either. Pretty straightforward. Never told anyone to write bad code.
Anonymous
8/6/2025, 10:42:16 PM No.717451561
>>717449776
>hardcoded into the game's binary
it's a nintendo 64 game, everything is hardcoded into a binary, it's called a ROM
Replies: >>717451736
Anonymous
8/6/2025, 10:43:47 PM No.717451660
>>717450021
There are or were code obfuscation contests where you write the most incoherent slop that actually works and does something cool.

Here's the famous 12 days of Christmas:

#include <stdio.h>

main(t,_,a)
char *a;
{return!0<t?t<3?main(-79,-13,a+main(-87,1-_,
main(-86, 0, a+1 )+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a
)&&t == 2 ?_<13 ?main ( 2, _+1, "%s %d %d\n" ):9:16:t<0?t<-72?main(_,
t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\
,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/\
+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){n\
l]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#\
n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;\
#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/")
:t<-50?_==*a ?putchar(a[31]):main(-65,_,a+1):main((*a == '/')+t,_,a\
+1 ):0<t?main ( 2, 2 , "%s"):*a=='/'||main(0,main(-61,*a, "!ek;dc \
i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}
Replies: >>717451968 >>717466012 >>717466318
Anonymous
8/6/2025, 10:44:51 PM No.717451736
>>717451561
>everything is hardcoded into a binary, it's called a ROM
not true. ROMs can still contain assets like textures, level data, and text.
Anonymous
8/6/2025, 10:46:16 PM No.717451829
>>717446302 (OP)
why do you need a program to tell you if a number is even? just look at the number retard
Anonymous
8/6/2025, 10:48:11 PM No.717451968
>>717451660
mustard gas
Anonymous
8/6/2025, 10:52:35 PM No.717452289
>>717446302 (OP)
>"even".Length % 2
is this just the length of the string "even"? So 4?
I get you want to flip the bit since the method is IsEven and not IsOdd, but this seems like a weird way to do it
Replies: >>717453892
Anonymous
8/6/2025, 10:58:03 PM No.717452706
>>717447318
No shit it's a joke, you retarded narcissist.
Anonymous
8/6/2025, 11:06:02 PM No.717453258
why would I work for a game company that's always mismanaged and pays pennies when i could work for a startup or a bank that are also mismanaged but pay way more.
Replies: >>717455210
Anonymous
8/6/2025, 11:12:36 PM No.717453740
I've found out that I am shit at asset creation and would rather focus on code and writing, so I'm making a text based game you can play in your terminal.
It's probably not going to get any attention nor will it be good, but it's my project so that I can say I made a game.
Replies: >>717454080 >>717454321
Anonymous
8/6/2025, 11:14:49 PM No.717453892
>>717452289
he is making a joke retard
Anonymous
8/6/2025, 11:17:55 PM No.717454080
>>717453740
Good luck!
Anonymous
8/6/2025, 11:21:31 PM No.717454321
>>717453740
If you make it actually be playable on a terminal, and show it off running on a CRT terminal thing, you will get infinite marketing from weirdos.
Anonymous
8/6/2025, 11:23:14 PM No.717454447
1753990285127061
1753990285127061
md5: 93d11cbfcd901bb6fd8250a3ad674fb3🔍
Average RPG Maker devs are an even more special breed.
Replies: >>717454603 >>717454647
Anonymous
8/6/2025, 11:25:39 PM No.717454603
>>717454447
Why do I have to turn off pig execution to run?
Anonymous
8/6/2025, 11:26:13 PM No.717454647
1740566628153746
1740566628153746
md5: aa2ab31c30cc5c4055954ed029f58418🔍
>>717454447
This, though, is the shit that really kills me, but you see it all the goddamn time.
It's like people never stop and think about how conditionals work and just decide to go balls deep on nested if else if else if else.
Replies: >>717454847
Anonymous
8/6/2025, 11:26:45 PM No.717454690
For me it's sleep sort
I wanted to find the original thread but I could only find Indian blogspam and AIslop, which is even funnier.
Replies: >>717455768
Anonymous
8/6/2025, 11:28:56 PM No.717454847
1751295546285216
1751295546285216
md5: 93462e0508be1c52d4d111195a143ba3🔍
>>717454647
And worst of all - they never think to condense this shit into a single event that uses a variable to specify who this shit is acting upon and instead copy+paste walls of garbage code over and over.
Anonymous
8/6/2025, 11:29:25 PM No.717454889
>>717450021
that code that was all emojis
Anonymous
8/6/2025, 11:30:09 PM No.717454938
>>717447000
I'm looking forward to ur game anon. Nice trips too. Godspeed
Replies: >>717455216
Anonymous
8/6/2025, 11:30:38 PM No.717454981
brainfuck
brainfuck
md5: 51a2dcc1b0463bdb1effc7aae91499bb🔍
>They don't program in brainfuck
Anonymous
8/6/2025, 11:33:45 PM No.717455209
I like coming into these threads, even though I have no idea how to program. I always hear people saying 'programming is easy'. Yet when I look in these threads and try to understand, I feel like a archaeologist looking at ancient Egyptian hieroglyphs. Maybe someday I will understand.
Replies: >>717455313 >>717455387 >>717461817 >>717462886 >>717463009
Anonymous
8/6/2025, 11:33:46 PM No.717455210
>>717453258
Because your grades in school were shitty so those startups and banks will just throw your resume straight into the trash.
Anonymous
8/6/2025, 11:33:49 PM No.717455216
goblins in the dark_thumb.jpg
goblins in the dark_thumb.jpg
md5: d13ec8f6e603bbe7c15d7a11db848dea🔍
>>717454938
thanks anon! Have some combat footage I recorded today while testing a possible lamp for exploring dark areas. Don't mind the light leaks on the background, that map is kinda fucked.
Replies: >>717455393 >>717456695 >>717482183
Anonymous
8/6/2025, 11:35:10 PM No.717455313
>>717455209
Programming is unfortunately one of those things that you have to start babbymode ez on first because they are fundamental concepts that flow into other aspects.
Anonymous
8/6/2025, 11:36:14 PM No.717455387
>>717455209
Everyone says programming is easy but I'm in the same boat, cannot wrap my head around it for the life of me, and Lord knows I have tried.
But I am also cursed not wanting to make simple FPS games about picking up keys and triggering cutscenes.
Anonymous
8/6/2025, 11:36:17 PM No.717455393
>>717455216
Good stuff! Do you have like a newsletter I can subscribe to to follow your project? I fear I'll miss it when its actually finished 17 years from now
Replies: >>717455750
Anonymous
8/6/2025, 11:41:14 PM No.717455750
>>717455393
Not yet! my plan is to start the heavy shilling after I've released the first, small demo. I'll make sure to shill it far and wide but in any case, if you want to follow the progress make sure to drop by the gamedev threads here in /v/, I'm always posting there.
>I fear I'll miss it when its actually finished 17 years from now
kek
I'll try to make it in less than 10 ( ͡° ͜ʖ ͡°)
Anonymous
8/6/2025, 11:41:25 PM No.717455768
1745364574105116
1745364574105116
md5: 4579ef9aef3a829cd2cd79313369a829🔍
>>717454690
Found it
Replies: >>717455923
Anonymous
8/6/2025, 11:41:34 PM No.717455773
>too low IQ for programming.
That's why I stick to musicfagging. For indie games, one of these days.
Replies: >>717470283 >>717470741 >>717470819
Anonymous
8/6/2025, 11:43:39 PM No.717455923
>>717455768
Fucking kek.
Anonymous
8/6/2025, 11:54:27 PM No.717456695
>>717455216
Did you make the models yourself? I love low poly stuff
Replies: >>717456914
Anonymous
8/6/2025, 11:57:30 PM No.717456914
1744128651084157
1744128651084157
md5: b98426d8f85bcf72b0067853301ac651🔍
>>717456695
yeah! took some time to learn and I'm not very good at it lmao, but it's fun.
Replies: >>717457008 >>717482183
Anonymous
8/6/2025, 11:57:48 PM No.717456934
>>717448043
dx11 does everything for you
no need for hardware optimization lamo
Replies: >>717478523
Anonymous
8/6/2025, 11:59:03 PM No.717457008
>>717456914
Looks awesome, good luck
Replies: >>717457123
Anonymous
8/7/2025, 12:00:46 AM No.717457123
goblin summer vacation
goblin summer vacation
md5: a738d648d19ace3baeca0d97a5ebc63b🔍
>>717457008
thanks! hope I'm able to make something you guys enjoy trying out
Anonymous
8/7/2025, 12:05:30 AM No.717457472
>>717448343
Wanting something to happen with 50% odds, but based on a predictable input. Like if a player has some kind of combined "battle score" and there should be bonus XP half the time, give it when the score is even. I wouldn't use an isEven function unless it was so that the code was more human-readable when working with other people. And even then, I would just opt for a comment like:

//do X when even
if (!(score % 2))

This is also why I would just use isOdd anyway.

// is odd
if (score % 2)
Anonymous
8/7/2025, 12:06:59 AM No.717457564
>>717448026
>Threadly reminder that most games worth playing are coded like shit and have fundamental issues that boil down to lack of abstraction or data driven design.
Coderlet here, I have plenty of OOP experience and I've experimented quite a bit with functional programming, but I keep hearing about those "data driven design/ data oriented programming" terms and I still don't understand what they're about, how do they compare to OOP or why people keep shilling for them in game development.
Can I get a QRD?
Anonymous
8/7/2025, 12:07:53 AM No.717457639
DevAnons, what is your favourite file type for storing game data to be accessed during run time? I've heard JSON is used a bit, but so does XML.
Replies: >>717457741 >>717457878 >>717458132 >>717458647 >>717461425 >>717461812 >>717471317
Anonymous
8/7/2025, 12:08:42 AM No.717457712
>>717447000
goblin fucking SHITS
Anonymous
8/7/2025, 12:09:15 AM No.717457741
>>717457639
txt
Anonymous
8/7/2025, 12:11:06 AM No.717457846
I have no idea what any of this means and I hope to never do so.
Anonymous
8/7/2025, 12:11:25 AM No.717457878
>>717457639
json but mostly because I don't know any better nor have any desier to change that
Anonymous
8/7/2025, 12:11:34 AM No.717457892
1735810476376693
1735810476376693
md5: 68c342d97e08684eeb79b451b9ee1572🔍
>>717448268
>>717450021
>i like the idea of a code contest where the largest most convoluted solution wins
Replies: >>717457941 >>717458443 >>717459248 >>717464496
Anonymous
8/7/2025, 12:11:59 AM No.717457928
>>717446302 (OP)
number % 2 == complex way to spell out "0"
???

Might as well write "true - true"
Anonymous
8/7/2025, 12:12:15 AM No.717457941
>>717457892
I love the last one doesn't even work.
Replies: >>717460278
Anonymous
8/7/2025, 12:13:50 AM No.717458060
>>717446302 (OP)
OOP doesn’t belong in video game development and anyone who’s worked at a well known company knows this
Replies: >>717458115
Anonymous
8/7/2025, 12:14:36 AM No.717458115
1732410296447848
1732410296447848
md5: eb216802bea0ce17b413de16b595fd97🔍
>Using a language with loose typing
ISHYGDDT

>>717458060
I can see the use cases for certain games, but for the majority of games it really isn't needed.
Replies: >>717458371 >>717458450 >>717458915 >>717475389
Anonymous
8/7/2025, 12:14:54 AM No.717458132
>>717457639
I use LÖVE and that just lets you plop things in a lua file. But I like JSON way better than XML. The tags look cluttered to me.
Anonymous
8/7/2025, 12:16:24 AM No.717458238
>>717448174
this
Anonymous
8/7/2025, 12:16:58 AM No.717458273
Is this the reddit general?
Anonymous
8/7/2025, 12:18:11 AM No.717458371
>>717458115
>the man who gave us Javascript then gave us Brave
what a blessed guy
Anonymous
8/7/2025, 12:18:57 AM No.717458424
>>717448343
When the variable needs to be divisible by 2.

You got 2 teams but 25 players total, then you cannot make 2 even teams, so the user must add or remove players.
Anonymous
8/7/2025, 12:19:12 AM No.717458443
>>717457892
I would argue that cond == true is better because it convey it's meaning in a more readable manner. It's easier to differentiate for false cases than an exclamation point. Less elegant, but more readable.
Replies: >>717458495 >>717458551
Anonymous
8/7/2025, 12:19:18 AM No.717458450
>>717458115
there's no excuse for not knowing about ieee floating point
Replies: >>717458551
Anonymous
8/7/2025, 12:19:58 AM No.717458495
>>717458443
Readable manner for who?
Replies: >>717458595 >>717459604
Anonymous
8/7/2025, 12:20:47 AM No.717458543
int anonBD;
std::cout << "wats ur birfdae? :) " << std::endl;
std::cin >> anonBD;
do{
if(anonBD <= 17){std::cout << "u must b atleast 18 tew bost on dis bored :'(( " << std::endl;}
else{std::cout << "pee pee poo poo honk honk le funny reddit may may desu ne :D " << std::endl;}
}while(anonBD != 18);
Anonymous
8/7/2025, 12:20:56 AM No.717458551
>>717458450
Yeah that's the one part of the picture I actively disagree with.

>>717458443
Usually you would name your variable something like isVariable anyway. Anyone looking at the code would know intuitively what !isVariable is.
Replies: >>717458693
Anonymous
8/7/2025, 12:21:27 AM No.717458595
>>717458495
Someone else that might need to dive in your code or yourself, two month later.
Replies: >>717458954 >>717459093 >>717459386
Anonymous
8/7/2025, 12:22:16 AM No.717458647
>>717457639
tab-separated values for tabular data, json for nested data
i try to stick with tabular data as much as i can
Anonymous
8/7/2025, 12:22:51 AM No.717458693
>>717458551
Yes but you might miss it. == false is like a wart on the face.
Anonymous
8/7/2025, 12:23:25 AM No.717458737
>>717447000
Dogmafriend, did your gobbos get armor?
Replies: >>717458832
Anonymous
8/7/2025, 12:24:28 AM No.717458810
>>717446302 (OP)
No. In all walks of life, there are incompetent morons. My trade is incredibly easy. And yet nearly every day, I see work done wrong.

Game dev seems to be no different: its not hard. Everyone doing it is just incompetent and lazy.
Anonymous
8/7/2025, 12:24:43 AM No.717458832
dungeon
dungeon
md5: 49b50a4223367b109da29cff56e33b2b🔍
>>717458737
hell yeah, plus shields as well. There are still naked goblins, and you can break a goblin's armor with a heavy attack, making it more vulnerable an easier to make him flinch.
Replies: >>717462092
Anonymous
8/7/2025, 12:25:52 AM No.717458915
>>717458115
0.1 + 0.2 == 0.3 is false in most languages, it's not due to Javascript, it's due to how computers approximate floats.
Anonymous
8/7/2025, 12:26:23 AM No.717458954
>>717458595
Put a // to explain the section instead
Replies: >>717459129
Anonymous
8/7/2025, 12:26:53 AM No.717459000
>>717450021
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition
Replies: >>717459143
Anonymous
8/7/2025, 12:28:10 AM No.717459093
>>717458595
i would suggest they learn the language and its idioms
Replies: >>717459389
Anonymous
8/7/2025, 12:28:33 AM No.717459129
>>717458954
I mostly see comments as a way to quickly navigate code, not explain it. Code should be self explanatory.
Replies: >>717459258 >>717459658 >>717459776 >>717473946
Anonymous
8/7/2025, 12:28:41 AM No.717459143
>>717459000
Just looking at the folder structure is giving me nightmares.
Anonymous
8/7/2025, 12:30:18 AM No.717459248
>>717457892
>return null;
Ok Gupta
Anonymous
8/7/2025, 12:30:22 AM No.717459258
>>717459129
Yes? Explain what the section is and the (cond) should be self explanatory without needing to be retard-proof
Anonymous
8/7/2025, 12:32:18 AM No.717459386
>>717458595
if (true)
is supposed to be readable enough, it's not esoteric, the same way if you stored a boolean like
my_bool = 1+2 == 3;
In one line instead of putting it in a if statement.
If you can't read this you just can't read code, it's nothing headaches inducing.
Replies: >>717459469
Anonymous
8/7/2025, 12:32:22 AM No.717459389
>>717459093
It's easy to miss a character when you're trying to understand the logic behind. I prefer a code to not be elegant, but clear, rather than having to waste time because I realize that something is wrong and oh fuck I didn't see the syntatic sugar and now I have to reread a wall part of this shit because it's doing the opposite of what I thought it was doing.
Replies: >>717459629
Anonymous
8/7/2025, 12:33:28 AM No.717459469
>>717459386
I'm not saying it's esoteric. Just prone to be misread.
Replies: >>717459502 >>717459514
Anonymous
8/7/2025, 12:33:55 AM No.717459502
>>717459469
Then learn to read
Replies: >>717459743
Anonymous
8/7/2025, 12:34:02 AM No.717459514
>>717459469
No, it isn't.
Anonymous
8/7/2025, 12:35:15 AM No.717459604
>>717458495
Hello Raj.
Anonymous
8/7/2025, 12:35:31 AM No.717459629
Screenshot 2025-03-12 001907
Screenshot 2025-03-12 001907
md5: 4a63c14588f8ddff2f67bb73b28294fd🔍
>>717459389
sneed
Anonymous
8/7/2025, 12:35:58 AM No.717459658
>>717459129
Ridiculous, you have to put the intent of the code in the comments, if need be you need to explain why you used this or that solution. Commenting to "navigate" code? What do you even mean? Isn't it the mouse wheel that help navigate the code? Richard Stallman give me strength.
Replies: >>717460003
Anonymous
8/7/2025, 12:37:03 AM No.717459743
>>717459502
I prefer to operate under the assumption that we are faillible rather than we are all perfect being that never make mistakes.
Replies: >>717459814 >>717459815 >>717459906 >>717460524
Anonymous
8/7/2025, 12:37:27 AM No.717459776
>>717459129
>Code should be self explanatory.
This phrase makes my eyes do somersaults when I hear it at work. I almost exclusively hear as a way to dunk on juniors to "git gud" by not explaining something they can't read, or to pad out a PR with suggestions because they can't find anything useful to say but can't just simply approve something without yapping.

>implement super obscure 3rd party library call
>don't comment
>"Hey, can we add a comment here? This feels a bit like a black box."
>comment
>"Can we remove this comment? Code should be self explanatory"
Fuckin hate code reviews with certain people.
Anonymous
8/7/2025, 12:37:55 AM No.717459814
>>717459743
I prefer to keep retards like you from touching code
Replies: >>717460141 >>717460202
Anonymous
8/7/2025, 12:37:55 AM No.717459815
>>717459743
I write mostly C code so I can't assume that, or else my PR's get laughed at.
Anonymous
8/7/2025, 12:39:09 AM No.717459906
>>717459743
we are fallible, which is why less text is more gooder.
Replies: >>717460350
Anonymous
8/7/2025, 12:39:34 AM No.717459939
1751065084148283
1751065084148283
md5: e04c1a2de1d538f9b95821cb3fe11905🔍
>>717449372
Replies: >>717460089 >>717460327 >>717478884
Anonymous
8/7/2025, 12:40:10 AM No.717459993
>>717448608
>You don't know what data driven design is.
nta, but my game has a bunch of skills like diablo, and i had them all as their own equippable. i mean all of them were their own thing before i realized i could put them all in one data table lul.
Anonymous
8/7/2025, 12:40:22 AM No.717460003
>>717459658
Part a. Part b. Part c.
Titles aren't here to explain what a part is about.
Also, fuck off with your condescending tone. I just said there was an argument about a pattern potentially being more readable despite being uglier, nothing else.
Replies: >>717460538
Anonymous
8/7/2025, 12:41:36 AM No.717460089
>>717459939
Was the real tweet responding to people pointing out his dynamic lighting code is ass? This is the same guy who didn't implement shaders because third world GPUs can't do that (????)
Replies: >>717481419
Anonymous
8/7/2025, 12:42:17 AM No.717460137
>>717449404
>more restrictive in what you can do.
nta but explain this to me like i'm retarded (because i am)
Anonymous
8/7/2025, 12:42:18 AM No.717460141
>>717459814
Oh no, retard trying to make their code more readable for other, the humanity.
Replies: >>717460245 >>717460291
Anonymous
8/7/2025, 12:43:19 AM No.717460202
>>717459814
Ran out of arguments, I see.
Replies: >>717460245
Anonymous
8/7/2025, 12:44:01 AM No.717460245
>>717460141
>>717460202
So mad you had to reply twice
Anonymous
8/7/2025, 12:44:20 AM No.717460278
>>717457941
I would have had no idea but that adds to the meme, lol
Anonymous
8/7/2025, 12:44:34 AM No.717460291
>>717460141
your english is terrible
Replies: >>717460426
Anonymous
8/7/2025, 12:45:10 AM No.717460327
>>717459939
function is_bool(num)
even_array = [2,4,6,8,10,12,14,16];
return even_array.includes(num);
Replies: >>717462291
Anonymous
8/7/2025, 12:45:32 AM No.717460350
>>717459906
Sometime yes, sometime no. Synthetic sugar introduce complexity for the sake of aesthetic. Complexity that can be overlooked and I'm honestly splitting hair here. Maybe that's why some people are reacting with such hostility
Replies: >>717460481 >>717460525
Anonymous
8/7/2025, 12:46:26 AM No.717460415
x&1
Anonymous
8/7/2025, 12:46:33 AM No.717460426
>>717460291
Ok
Anonymous
8/7/2025, 12:47:00 AM No.717460470
>>717449643
Saar?
Anonymous
8/7/2025, 12:47:12 AM No.717460481
>>717460350
It's "syntactic" sugar.
Anonymous
8/7/2025, 12:47:42 AM No.717460518
20230122153357
20230122153357
md5: 0c9c6ad95099311b06432af7b6932f53🔍
Have you taken the pointer pill?
Replies: >>717478549
Anonymous
8/7/2025, 12:47:47 AM No.717460524
>>717459743
Jesus fuck if you see a condition with a single ``thing" between ( and ) then that ``thing" MUST be a boolean (or interpreted as one, if you use a SHITLANG) and if it's true then you do what's in the { }
Unless you're blind or if your brain is incapable of the most basic pattern recognition then it's perfectly legible.
Honest question, which is easier to read and understand:
if (this_is_better) {
return "I'm right"
}
OR
if (better_condition == true /* if the better condition is set to true */ && /* AND */ better_condition != false /* we want to make REALLY sure this is actually true */ ) {
//returns true (of type bool)
return better_condition == true;
}
Replies: >>717460864
Anonymous
8/7/2025, 12:47:47 AM No.717460525
>>717460350
What is your first language, be honest
Replies: >>717460614
Anonymous
8/7/2025, 12:47:58 AM No.717460538
>>717460003
Are you a woman? You put titles in your code as if it was a book? What sort of spaghetti are you writing?
Do you get scared every time you make a for loop?
Replies: >>717460864 >>717460945
Anonymous
8/7/2025, 12:48:52 AM No.717460614
>>717460525
French
Replies: >>717460705
Anonymous
8/7/2025, 12:48:56 AM No.717460620
tabs or spaces
Replies: >>717460691 >>717460703 >>717460743 >>717460843 >>717464294 >>717471561 >>717472082
Anonymous
8/7/2025, 12:50:02 AM No.717460691
>>717460620
Spaces.

Now the real question. Two spaces or four?
Replies: >>717463307
Anonymous
8/7/2025, 12:50:07 AM No.717460703
>>717460620
tabs, I'm white
Anonymous
8/7/2025, 12:50:08 AM No.717460705
>>717460614
oof
Replies: >>717460950
Anonymous
8/7/2025, 12:50:38 AM No.717460743
columnblocks_coloured
columnblocks_coloured
md5: 426e002356dda41193e47c408c6e3a78🔍
>>717460620
tabs, preferably with elastic tabstops
Replies: >>717476239
Anonymous
8/7/2025, 12:51:56 AM No.717460843
>>717460620
Doesn't matter, any code editor can transparently convert one into the other and git can make sure all the files use the same convention. It isn't the 90s anymore.
Anonymous
8/7/2025, 12:52:08 AM No.717460864
>>717460524
>>717460538
>X==true might be more readable than X and avoid wasting time with small mistakes
>What the fuck did you just fucking say about me, you little bitch? I'll have you know I graduated top of my class in code summer camp[...]
Why do you take this so personally holy shit
Replies: >>717461041 >>717461294 >>717461307
Anonymous
8/7/2025, 12:52:51 AM No.717460921
Anyone else in the position of being fine with programming but can't be bothered to do asset creation? I feel that's worse because while I can program games, I can't be arsed to continue if I am staring at a cube all day.
Replies: >>717461158 >>717461307
Anonymous
8/7/2025, 12:53:18 AM No.717460945
Screenshot 2025-08-06 235235
Screenshot 2025-08-06 235235
md5: ce606942a734e0fd7e921577e6e54d76🔍
>>717460538
that's rich
Replies: >>717460998 >>717461806 >>717466292
Anonymous
8/7/2025, 12:53:22 AM No.717460950
>>717460705
Such is life
Anonymous
8/7/2025, 12:53:45 AM No.717460982
test
Anonymous
8/7/2025, 12:54:01 AM No.717460998
>>717460945
Why is this bad?
Replies: >>717461118
Anonymous
8/7/2025, 12:54:38 AM No.717461041
>>717460864
Your "small mistakes" can be avoided by not treating your code like a book and using comments for what they were meant to do
Replies: >>717461284
Anonymous
8/7/2025, 12:54:45 AM No.717461056
1730105034843138
1730105034843138
md5: df018bf0daf25bac231c6385de07c44d🔍
daily reminder, if you dont program in asssembly you are not a real programmer. Im not wasting my time in playing your "game" made with any kind of filthy high level language
Replies: >>717461148
Anonymous
8/7/2025, 12:55:36 AM No.717461118
>>717460998
/*
** sentence that indicates the writer thinks the example speaks for itself
**/
i think the example speaks for itself
Anonymous
8/7/2025, 12:55:58 AM No.717461148
>>717461056
Fuck assembly. I'm not a machine.
Replies: >>717461223 >>717461589
Anonymous
8/7/2025, 12:56:11 AM No.717461158
>>717460921
Me 100%. I'm a software engineer by trade, but the idea of making tons of models/sprites and music is always what kills my enthusiasm. I ain't paying for that shit, but my own placeholders are always terrible lol.
Replies: >>717461229
Anonymous
8/7/2025, 12:57:05 AM No.717461223
>>717461148
you are not a programmer either then
Replies: >>717461267
Anonymous
8/7/2025, 12:57:09 AM No.717461229
>>717461158
That's literally what AI is for.
Anonymous
8/7/2025, 12:57:28 AM No.717461251
https://www.npmjs.com/package/is-even
It's that easy
Anonymous
8/7/2025, 12:57:41 AM No.717461267
>>717461223
Non-sequitur.
Anonymous
8/7/2025, 12:57:56 AM No.717461284
>>717461041
Insisting on your strawman doesn't make it real
Anonymous
8/7/2025, 12:58:05 AM No.717461294
>>717460864
You seriously always autistically write true or false in the if statement even if it's the simplest of if statement imaginable due to "readability"?
I for one shun if one liners like
if(true) alert();
Because without the tabbing it doesn't look like a conditional, but not writing true or false is just standard abbreviation.
Replies: >>717461710
Anonymous
8/7/2025, 12:58:13 AM No.717461307
>>717460864
Because I'm tired of cleaning up Jeetpoop from retards who still think Hungarian notation is a good idea.

>>717460921
Have you tried programming tools to create parametric assets?
Replies: >>717461501 >>717461535
Anonymous
8/7/2025, 12:59:46 AM No.717461425
>>717457639
Use SQLite. There's no reason to muck about with XML and JSON.
Anonymous
8/7/2025, 1:00:59 AM No.717461501
>>717461307
I like hungarian notation, str_something is always a good variable name for a string.
Replies: >>717461707
Anonymous
8/7/2025, 1:01:26 AM No.717461535
>>717461307
You can just write "I think it's ugly and useless" rather than spill your bile and spam buzzwords
Replies: >>717461812
Anonymous
8/7/2025, 1:02:14 AM No.717461589
>>717461148
You are a machine. A Laputan machine
Anonymous
8/7/2025, 1:02:46 AM No.717461628
20250623_131416
20250623_131416
md5: 04127c7e59fb51acbb5a7f21d78fb69a🔍
None of you actually gamedev and it shows
Replies: >>717467485
Anonymous
8/7/2025, 1:03:48 AM No.717461698
gigaChad
gigaChad
md5: aa72231a006fc9f208af46c4ab8ad330🔍
>>717446302 (OP)
return ~i&1;
Replies: >>717479024
Anonymous
8/7/2025, 1:03:57 AM No.717461707
>>717461501
That's useful in engines so you can quickly search all materials(mat_), or textures(tex_), but why would it help you when you don't need to search code for every string?
Replies: >>717462012
Anonymous
8/7/2025, 1:03:59 AM No.717461710
>>717461294
No. And I prefer not putting the == true part. But I must also think about the people that may have to read the shit I write after me. It may not be a good idea, but not doing it because it would be somehow beneath me, the perfect programmer, isn't an argument I would particularly care about either.
Anonymous
8/7/2025, 1:04:24 AM No.717461732
if(!dick.length) return void;
Anonymous
8/7/2025, 1:05:22 AM No.717461806
>>717460945
My code is full of this because I'll write out comments explaining the logic of the code as an outline sometimes before actually writing anything. Then I never delete the comments.
Replies: >>717462347
Anonymous
8/7/2025, 1:05:26 AM No.717461812
>>717457639
CBOR

>>717461535
What if I want to spill my bile? Does it bother you? Are you feeling threatened by my superior arguments?
Replies: >>717461909
Anonymous
8/7/2025, 1:05:32 AM No.717461817
>>717455209
fundamentally code is just giving instructions to a computer and the computer doing everything exactly as you requested it.
start small by just understanding how to issue instructions to be executed a single time, as a script.
basic software programming is taking that and letting it loop and execute instructions based on inputs or environment variables.
game programming is taking that to a further extreme and involving real-time inputs and graphical rendering. There's a lot skipped between these steps.
What makes programming hard is that it requires you to do the legwork to get to the part where it gets very complicated. At it's fundamental level, programming is just an exercise in problem solving with no specific correct solution, just solutions that are better in some ways.
You gotta start at the bottom of the tech tree or it'll all be over your head. Simple scripting can get you started.
Anonymous
8/7/2025, 1:06:47 AM No.717461909
>>717461812
It bother me that I'm trying to engage in a conversation, not win some kind of never ending ego contest
Anonymous
8/7/2025, 1:07:09 AM No.717461928
input handler
input handler
md5: aa692bc8956da3866d67208a525e5c8e🔍
don't care, eat shit /v/
Replies: >>717462509
Anonymous
8/7/2025, 1:08:06 AM No.717462001
I made a basic snake game in C that is ran on the CLI, does that count?
Anonymous
8/7/2025, 1:08:17 AM No.717462012
>>717461707
It's how I would speak and also makes natural differentiations.
Example
str_day, string of the day
int_day, integer of the day
Replies: >>717462347
Anonymous
8/7/2025, 1:08:27 AM No.717462027
its really easy:

using HtmlAgilityPack;

private bool IsEven(int number){
string html = "https://www.google.com/search?q=is+" + number + "+even";
TextFile text = WebClient wc = wc.DownloadString(html);
if(text.Contains("Yes")) return isEven = true;
else return isEven = false;
}
Replies: >>717462514 >>717462935
Anonymous
8/7/2025, 1:09:25 AM No.717462092
>>717458832
Looking good.
Anonymous
8/7/2025, 1:10:27 AM No.717462149
is it possible to harness llms/ai to code anything worth a shit for someone with 0 coding experience or is the technology not mature enough for that yet? no im not interested in learning, im the ideas guy and ai is my slave that'll do everything to my specifications without being an absolute retard about it.
Replies: >>717462289 >>717462378 >>717462585
Anonymous
8/7/2025, 1:12:26 AM No.717462289
>>717462149
>operating ai without any programming experience
>without being an absolute retard about it
Good luck with that.
Anonymous
8/7/2025, 1:12:28 AM No.717462291
>>717460327
Should add the comment
>this function is in early access. Will add more numbers as development progresses
Anonymous
8/7/2025, 1:13:06 AM No.717462347
>>717461806
And then your implementation actually differs from your initial comment and you confuse yourself 6 months later.

>>717462012
Just make one (ONE) Day type and a method to convert it to/from a human readable string
Anonymous
8/7/2025, 1:13:23 AM No.717462378
>>717462149
The biggest problem with AI currently is context, and in terms of long form shit, code bases can get quite big. That and AI usually gives you outdated programming principles or roundabout solutions. It is also prone to breaking when you give it something slightly outside of the initial domain.
IE:
>Tell LLM to generate a function: Does so fine
>Tell the LLM to change "text" to "dialogue" for that same function: It shits itself.
Copilot is the worst for it.
Replies: >>717462951
Anonymous
8/7/2025, 1:14:31 AM No.717462464
>>717446302 (OP)
no, the only rule is don't let if else conditions get in the way of framerate
Anonymous
8/7/2025, 1:15:06 AM No.717462509
average msdn code sample
average msdn code sample
md5: 855e151a3ae31aadae626db89d30168e🔍
>>717461928
Do you work at Microsoft, by chance?
Replies: >>717462658 >>717462689 >>717464273
Anonymous
8/7/2025, 1:15:10 AM No.717462514
>>717462027
This is probably the funniest take ever. NPM should update their is-odd and is-even packages with this.
Anonymous
8/7/2025, 1:16:05 AM No.717462585
>>717462149
no offense, but ideas are worthless on their own. if you don't take the time to implement your ideas, then they remain intangible and in the ether. while they're in that state, they're perfect because it's some abstract thing in your head.
Anonymous
8/7/2025, 1:16:13 AM No.717462597
1754185404827465
1754185404827465
md5: c5bb383c08dd2ae659a4102856ceda3a🔍
Replies: >>717462689
Anonymous
8/7/2025, 1:16:23 AM No.717462613
>>717447127
Switch cases are fun, I like the stuff you can have do with falling through.
Anonymous
8/7/2025, 1:17:04 AM No.717462658
>>717462509
Sir are you will mocking my post for fun sir? I took engineering course by new delhi and passed only single time only. I will raped your sister.
Anonymous
8/7/2025, 1:17:28 AM No.717462689
>>717462509
I'm getting an aneurysm from this.

>>717462597
>Consultant
The greatest grift that the corporate world has made.
Replies: >>717463032
Anonymous
8/7/2025, 1:20:36 AM No.717462879
>>717446772
>if statements are a problem
Every time, every fucking time that the yandev image or something like it is posted. The string comparisons in that one are so much worse.
Anonymous
8/7/2025, 1:20:40 AM No.717462886
>>717455209
Right click this page, select "inspect", navigate to "console".

Write in it:
function my_first_function(num1, num2) {
return num1* num2;
}
my_first_function(3, 9);

Then press "enter".

You can replace (3, 9) with any other number, the function will return their multiplication result, you can call my_first_function again by writing it again and press enter. This way you can call functions.
Replies: >>717463086
Anonymous
8/7/2025, 1:21:22 AM No.717462935
>>717462027
update to a modern search engine; chatgpt
Anonymous
8/7/2025, 1:21:34 AM No.717462951
>>717462378
Yup...

>do this common transformation function for me
>>[...] This will give you a normal vector pointing in the direction specified by the latitude and longitude.
>> inputting (0, 0) should give (0, 1, 0). It gives (1, 0, 0)
>(outputs the exact same function but with even more comments and a couple of extra variables for good measure)
Thanks for the theta phi, that really did the trick when you should've sin'd instead of causing cos'd
Anonymous
8/7/2025, 1:22:22 AM No.717463009
>>717455209
ask grokgf to explain it
Anonymous
8/7/2025, 1:22:39 AM No.717463032
>>717462689
he's not actually a consultant. you can list your job as whatever the fuck you want on LinkedIn and there's no way for them to validate it.
AI dicksuckers think they can fake it until they make it, and that only really works if you convince enough idiots to give you money while you don't actually do anything.
An actual consultant would be able to answer questions when put on the spot. I can guarantee you that someone like that would struggle to find a broad answer with google.
Anonymous
8/7/2025, 1:23:33 AM No.717463086
>>717462886
SAAR I PAID $300 FOR MY PROGRAMMING COURSE ON FIVERR. STOP TEACHING FOR FREE YOU BASTERD.
Anonymous
8/7/2025, 1:25:45 AM No.717463204
>>717446302 (OP)
private bool IsEveN(int number)
{
string Number = number.tostring();
return switch(Number.substring(Number.length() - 1)){
case "2":
case "4":
case "6":
case "8":
case "10":
return true;
default:
return false;
}
}

ez
Anonymous
8/7/2025, 1:26:32 AM No.717463253
anyone have that image of the recruiter's notes about each candidate's responses and at the end it has a profoundly incomprehensible code snippet for a deck of cards? I think about that one a lot
Replies: >>717463643 >>717463909
Anonymous
8/7/2025, 1:27:02 AM No.717463289
1726235374086935
1726235374086935
md5: 22f9e3cf29ede041b7de83c8cb7cbc6c🔍
>canada (the country known for making extremely abhorrent and low quality posts) gets filled with indians
>suddenly saar posting becomes popular
Replies: >>717463671
Anonymous
8/7/2025, 1:27:27 AM No.717463307
>>717460691
Four, I like moving my eyes to read.
Anonymous
8/7/2025, 1:29:51 AM No.717463467
>>717446772
Its just not optimised bro
No I don't know what a render context is
No I haven't run a frame through renderdoc
Anyone can tell its unoptimised bro
Replies: >>717465040 >>717466901
Anonymous
8/7/2025, 1:32:23 AM No.717463643
file
file
md5: 1a5a3eff19542e44ca426f570a0280a5🔍
>>717463253
found it.
Replies: >>717463909 >>717464992 >>717465069 >>717466164 >>717466637 >>717469803 >>717471895 >>717471979 >>717472085 >>717476569 >>717478932 >>717481527
Anonymous
8/7/2025, 1:32:52 AM No.717463671
>>717463289
What's wrong with being indian? *sharts all over your designated mechanical switch programming keyboard*
Anonymous
8/7/2025, 1:35:06 AM No.717463839
>>717450483
troonix shit
Anonymous
8/7/2025, 1:36:04 AM No.717463909
1742226958595641
1742226958595641
md5: effbdf6925c53edf377b3e8ccae2befd🔍
>>717463253
>>717463643
In the same vein
https://desuarchive.org/g/thread/47945161/
Replies: >>717464085 >>717464513 >>717464659
Anonymous
8/7/2025, 1:38:18 AM No.717464085
>>717463909
im not a programmer but i understand some things within it. if youre new i can understand having problems but some of the shit i see is profoundly stupid. these same people will use AI and say they made that code themselves too, guaranteed
Anonymous
8/7/2025, 1:38:23 AM No.717464094
>>717446772
bro it's the if elses, I saw that the game had a lot of if elses and someone pointed it out
what the fuck is an update loop and string comparison
Anonymous
8/7/2025, 1:40:59 AM No.717464273
>>717462509
at least it's pascalcase/camelcase
Anonymous
8/7/2025, 1:41:16 AM No.717464294
>>717460620
Everyone uses tabs, some people are just in denial.
Anonymous
8/7/2025, 1:44:02 AM No.717464496
>>717457892
If (cond) return null
You don't need the brackets
Replies: >>717464539
Anonymous
8/7/2025, 1:44:15 AM No.717464513
Auron_FF
Auron_FF
md5: c18251fa50a10dfb57b35252546626cc🔍
>>717463909
It's been ten years... Someone save me. Fucking hell.
Anonymous
8/7/2025, 1:44:50 AM No.717464539
>>717464496
cond && null

You don't need the if
Replies: >>717464669
Anonymous
8/7/2025, 1:46:42 AM No.717464659
>>717463909
>2015 thread
>2017 link
Wait...what?
Replies: >>717464901 >>717465031
Anonymous
8/7/2025, 1:46:49 AM No.717464669
>>717464539
Cam you do that in C++? I think it will complain about the return type being boolean
Replies: >>717464798
Anonymous
8/7/2025, 1:48:22 AM No.717464798
>>717464669
everything is allowed when you're doing javascript
Replies: >>717464845
Anonymous
8/7/2025, 1:49:09 AM No.717464845
>>717464798
I use TS because I'm not a lunatic
Replies: >>717464924
Anonymous
8/7/2025, 1:50:04 AM No.717464901
>>717464659
Probably some SEOslop tricks to stay relevant. All the comments are from 2015, and still just as cringe as they were back then.
Anonymous
8/7/2025, 1:50:22 AM No.717464924
>>717464845
Your minification step does all of those weird scary things
Replies: >>717464996
Anonymous
8/7/2025, 1:51:20 AM No.717464992
file
file
md5: b62a3ad3e84592c016900bab2dda2f29🔍
>>717463643
kek
Anonymous
8/7/2025, 1:51:24 AM No.717464996
>>717464924
And then compiler does weirder scarier things
Replies: >>717465059
Anonymous
8/7/2025, 1:51:54 AM No.717465031
>>717464659
It is from 2015. Timestamp probably got accidentally updated with some version update.
I have the same image on my /g/ memes with the filename "1433600928344.png". which is a timestamp in 2015.
Anonymous
8/7/2025, 1:52:01 AM No.717465040
>>717463467
if it runs like shit then yes, it is unoptimized
Anonymous
8/7/2025, 1:52:21 AM No.717465059
>>717464996
compiler entropy
Anonymous
8/7/2025, 1:52:32 AM No.717465069
>>717463643
This isn't funny anymore when the current answer if just to get Claude to do it
Replies: >>717465412 >>717465414
Anonymous
8/7/2025, 1:57:38 AM No.717465412
>>717465069
its still funny when you consider these were done during interviews
Anonymous
8/7/2025, 1:57:40 AM No.717465414
>>717465069
On the contrary, it makes it even funnier when you start asking specific questions about the code and the interviewee starts getting that deer in the headlights look.
Replies: >>717465614
Anonymous
8/7/2025, 2:00:47 AM No.717465614
>>717465414
what gets me is the one to one million question. dude had no issue committing to his shitty approach and even gave an approximation (a while), thats good candidate, charisma wise at least.
Anonymous
8/7/2025, 2:03:52 AM No.717465835
>>717450010
Okay, but being paralyzed because you're afraid of getting something wrong or being considered cringe means you right zero lines of code instead of too many.
Anonymous
8/7/2025, 2:06:26 AM No.717466012
>>717451660
If that really Returns the 12 Days of Christmas, that actually seems shorter than copy-pasting the whole song into a string. It's also a great reason why I could never be a programmer. I know the very basics, but that looks like literal garbage text.
Replies: >>717466805
Anonymous
8/7/2025, 2:08:46 AM No.717466164
>>717463643
>Have you ever used this "percentage" operator before?
devious
Anonymous
8/7/2025, 2:09:35 AM No.717466220
>>717446302 (OP)
never skip logic you niggers
Anonymous
8/7/2025, 2:10:32 AM No.717466292
>>717460945
That first style was actually used in the K&R but to be fair i don't know if // comments were allowed back then.
Replies: >>717467440
Anonymous
8/7/2025, 2:10:55 AM No.717466318
>>717451660
The IOCCC results for 2024 just came out
https://www.ioccc.org/years.html#2024
https://github.com/ioccc-src/winner
Anonymous
8/7/2025, 2:15:59 AM No.717466637
>>717463643
Huh. Maybe I should try getting a job in software dev.
Anonymous
8/7/2025, 2:17:13 AM No.717466708
1737115322259370
1737115322259370
md5: 2eea73b92685ae4f0dd57fcdff136018🔍
Hi.
Replies: >>717466923 >>717469357 >>717470823 >>717473230 >>717482713
Anonymous
8/7/2025, 2:18:08 AM No.717466763
The better the code for your indie game the worse it is
Thus the worse your code the better the game
Anonymous
8/7/2025, 2:18:38 AM No.717466791
>>717446302 (OP)
private bool IsEven(int number){
return number <<= 1 % 2 == 0;
}
Replies: >>717466912
Anonymous
8/7/2025, 2:18:45 AM No.717466805
>>717466012
>looks like literal garbage text
That's the point, you're trying to make it as obtuse as possible to save space
I'm pretty sure the actual program that generated it is huge and well written, no way someone did that by hand
Anonymous
8/7/2025, 2:20:13 AM No.717466901
>>717463467
>Premature Optimization Is the Root of All Evil - Knuth
Your response? Without sounding mad.
Replies: >>717467573 >>717475775 >>717476801 >>717478431
Anonymous
8/7/2025, 2:20:22 AM No.717466912
1523799477687
1523799477687
md5: 4f93ba7d59dcba80e26154955aa3f4f0🔍
>>717466791
>private
> == 0
Anonymous
8/7/2025, 2:20:41 AM No.717466923
>>717466708
i want to avoid this so fucking much. the worst part is theyre probabiy wiring this up to fucking event tick and calls it every frame
Anonymous
8/7/2025, 2:28:49 AM No.717467440
>>717466292
retard
Replies: >>717469625
Anonymous
8/7/2025, 2:29:38 AM No.717467485
>>717461628
I gamedev
I show
Anonymous
8/7/2025, 2:31:24 AM No.717467573
>>717466901
There's premature optimization and the other side of the coin is initial wrong decisions
Anonymous
8/7/2025, 2:41:24 AM No.717468226
>>717448514
>game requires something to be true or false at random
>cluelessly write isEven(rand()) for your RNG function
>rand() decides to return an integer in the billions
>program tries to allocate entire gigabytes of stack and crashes
Congratulations, this is literally worse than converting the whole thing into a string and checking the last character just for memes.
Replies: >>717468471
Anonymous
8/7/2025, 2:45:14 AM No.717468471
>>717468226
>I can't even
Anonymous
8/7/2025, 2:59:22 AM No.717469357
blueprints
blueprints
md5: 8e6bf60ec20ee34452dd159018c38e74🔍
>>717466708
I like to keep my shit at least somewhat tidy
Replies: >>717469972 >>717470823 >>717473230
Anonymous
8/7/2025, 3:00:43 AM No.717469427
would learning how to code in general be better before attempting a game?
Replies: >>717469515
Anonymous
8/7/2025, 3:02:15 AM No.717469515
>>717469427
how are you supposed to make a game without knowing how to code
Replies: >>717469693
Anonymous
8/7/2025, 3:02:28 AM No.717469530
>>717446302 (OP)
All you need is return number % 2 == 0 because that by itself is a boolean operation
Anonymous
8/7/2025, 3:03:54 AM No.717469606
My vote is yes. Making a good video game that not only involves coding but art, music and often writing as well....+ also having that game be a success? Its a difficult thing.
Anyone here who thinks its easy to do should just link their successful games because frankly I think you're just talk

>Shitty coders
Dime a dozen thanks to the "learn to code" meme which pushed zoomers into programming where they have zero interest nor skill. Zoomer coders are the absolute worst. That's true of all software related industries though and not just game development
Anonymous
8/7/2025, 3:04:05 AM No.717469625
>>717467440
?
Anonymous
8/7/2025, 3:05:11 AM No.717469693
>>717469515
RPG maker
Anonymous
8/7/2025, 3:07:10 AM No.717469803
cards
cards
md5: fde01fffa323a996f7b671f716d15236🔍
>>717463643
rate my OOP, /v/
Replies: >>717470158 >>717470546 >>717472101
Anonymous
8/7/2025, 3:09:42 AM No.717469972
file
file
md5: f3f7a15e1c59c12b170ed49bef946706🔍
>>717469357
i comment where needed, and stuff everything into named functions. im still new to it but i figure i should clean stuff up soon
Replies: >>717470095 >>717470823 >>717473230
Anonymous
8/7/2025, 3:12:05 AM No.717470095
>>717469972
Is this UE?
It's like I'm back 20 years playing with lego mindstorms
Replies: >>717470442
Anonymous
8/7/2025, 3:13:10 AM No.717470158
>>717469803
ridiculous white space
why are you making me scroll down so much
Replies: >>717470364
Anonymous
8/7/2025, 3:14:59 AM No.717470283
>>717455773
dude artist code lmaooo
Anonymous
8/7/2025, 3:16:14 AM No.717470364
>>717470158
i have a habit of using Allman identation everywhere because i think it's more logical
otherwise, yeah, i could've cut down the line count a bit, but i prefer the "one line - one operation" rule with a few exceptions
Anonymous
8/7/2025, 3:16:57 AM No.717470409
>gpt5 releases this week
Is it over for coders now?
It supposedly scores higher than all humans on every software test possible
Replies: >>717470502
Anonymous
8/7/2025, 3:17:06 AM No.717470415
fun making something and having people enjoy it, I imagine in a similar manner to cooking a meal for family/gf

I suck at math and it can be pretty tedious sometimes, I hate doing UI design honestly
Anonymous
8/7/2025, 3:17:13 AM No.717470419
inferior genetics
inferior genetics
md5: 84655f8f28d987e442640eda4fba0678🔍
>>717446302 (OP)
Unrealxisters... we got too cocky...
Replies: >>717482539
Anonymous
8/7/2025, 3:17:31 AM No.717470442
>>717470095
im using UE5.6 right now. I need to build from source and have a C++ project, but im using blueprint visual scripting only until i understand enough to switch to C++
theres stuff not exposed to blueprint visual scripting that can only be done in C++, which really sucks ass, but on the bright side they are slowly adding more nodes to do shit.
theres some benefits to 5.6 but on the other hand its also giga aids to do certain stuff. theres a tradeoff somewhere but if youre competent it doesnt matter

i still remember getting mindstorms NXT 1.0 for my birthday at lego land and learning to do stuff with it. it didnt even have a color module until later
Anonymous
8/7/2025, 3:18:35 AM No.717470502
1754524842786565
1754524842786565
md5: 73a687c0139222826cfe8a395273f079🔍
>>717470409
Replies: >>717476271
Anonymous
8/7/2025, 3:19:20 AM No.717470546
>>717469803
bro, your expression-bodied members and pattern-matching switches?
Replies: >>717470615
Anonymous
8/7/2025, 3:20:34 AM No.717470615
>>717470546
.net 5.0+ heresy
Anonymous
8/7/2025, 3:20:55 AM No.717470642
>>717448026
ya make game != make program
they are very different sets of skills
Anonymous
8/7/2025, 3:22:50 AM No.717470741
>>717455773
I would consider myself a decent programmer and I can't into music
>this is a scale, an octave is divided into 12 notes, makes sense right
>to make a chord you can follow this simple easy rule
>anyway here's a Lydian progression see if you can transpose it into an Aeolian mode, bitch and don't forget to diminish your semitones you fucking retard
>music notation? You can shove this 1300 page book up you ass and maybe you'll get it one day
>wanna play the piano? Why don't you hammer nails through your fingers instead, it'll be more pleasant.

I have a lot of respect for musicfags
Replies: >>717470815 >>717470953
Anonymous
8/7/2025, 3:22:58 AM No.717470749
>>717447000
gobbos on the way to END your shit
Anonymous
8/7/2025, 3:24:01 AM No.717470815
>>717470741
Once you listen to enough good music, you can more or less put up something that sounds like a basic chord progression
Then just keep fumbling around until it sounds good. Bonus points if you actually break the rules and it still sounds good.
Anonymous
8/7/2025, 3:24:04 AM No.717470819
>>717455773
Programming is just like a human language in that it's very simple once you tip your toes.
It just looks cryptic at first because you don't know yet what all the symbols means or how the grammar works.
Anonymous
8/7/2025, 3:24:07 AM No.717470823
>>717466708
>>717469357
>>717469972
>gamedev is the game
Replies: >>717471441 >>717471521
Anonymous
8/7/2025, 3:26:02 AM No.717470938
>>717449904
Creation is just Gamebryo, actually. ;^)
Anonymous
8/7/2025, 3:26:13 AM No.717470953
>>717470741
Just use suno
Music is a solved problem
Replies: >>717471220 >>717471347
Anonymous
8/7/2025, 3:29:49 AM No.717471173
functional oop
functional oop
md5: 92979e07af21c9363f79a956c1de4795🔍
This is to go beyond OOP.
I call it functional OOP. It is OOP and FP at the same time.
Replies: >>717471312
Anonymous
8/7/2025, 3:30:35 AM No.717471220
>>717470953
I like fucking around in suno but everything sounds kind of samey after a while. Even if you ask it to make the most brvtal black metal you can still perceive the patterns of the underlying popshit dataset.
But it can be good to explore ideas and pluck bits of melodies or rhythms that you enjoy.
Replies: >>717471649 >>717472243
Anonymous
8/7/2025, 3:31:54 AM No.717471312
>>717471173
congrats, you have invented scripted languages
Anonymous
8/7/2025, 3:31:56 AM No.717471317
yaml-syntax-1024x512
yaml-syntax-1024x512
md5: 92bd946d707e1ffb5bbba376221accb9🔍
>>717457639
YAML
Replies: >>717471385 >>717471559
Anonymous
8/7/2025, 3:32:27 AM No.717471347
>>717470953
this. i like to upload bass riffs and see what it spits out. of course it flexes on me in the first 10 seconds. asshole ai

raw: https://vocaroo.com/1aVyiRiJ4NOx
suno: https://vocaroo.com/105qGZXWwMzJ
Replies: >>717471649 >>717472243
Anonymous
8/7/2025, 3:33:16 AM No.717471385
>>717471317
>country: NO
Anonymous
8/7/2025, 3:33:57 AM No.717471441
1696768884238290
1696768884238290
md5: ef55427d8c54e929092cfb17ef35908d🔍
>>717470823
could be worse
Replies: >>717471869
Anonymous
8/7/2025, 3:35:29 AM No.717471516
1751979822287096
1751979822287096
md5: 90a8e5fb74e151ee608dc8cbc9047169🔍
>>717446302 (OP)
Pirate Software version
Anonymous
8/7/2025, 3:35:32 AM No.717471521
>>717470823
Ah, the next Zachtronics game
Anonymous
8/7/2025, 3:36:10 AM No.717471559
>>717471317
>significant indentation
eww lad
Anonymous
8/7/2025, 3:36:13 AM No.717471561
>>717460620
None, I use Prettier's automatic formatter by pressing Ctrl + S
Anonymous
8/7/2025, 3:37:46 AM No.717471649
>>717471347
the suno one sounds kino as fuck god damn
>>717471220
stop noticing that anon or the truth of all music will drive you insane
Replies: >>717471812
Anonymous
8/7/2025, 3:40:54 AM No.717471812
>>717471649
Maybe I have tru patrician tastes but I rarely get that feeling and I listen to a lot of music from all kind of genres.
Anonymous
8/7/2025, 3:42:02 AM No.717471869
>>717471441
You could take every single PS1 model ever made and put it in one scene and it still would have a higher polycount than this sandwich.
Anonymous
8/7/2025, 3:42:29 AM No.717471895
>>717463643
Holy fuck no wonder retards who aren't good at their job get hired because at least they're enjoyable lmfao.
Anonymous
8/7/2025, 3:44:11 AM No.717471978
>>717446302 (OP)
There are particular aspects that can be tricky.
knowing your market and STICKING to it, optimizing, and balancing choices are some of the harder aspects of it, I think.
the market and sticking to it part is hard because there is a lot of shit waiting to trip you up or get in your way, especially if you have any investors because they won't know shit and want to chase money trends.
Anonymous
8/7/2025, 3:44:13 AM No.717471979
>>717463643
The card one seems stupid to me. I get that it's a test and you're meant to want to scale things up, but when you're told the requirements is literally a pack of cards, making a loop to populate 4 different arrays with cards and suits is just ridiculous.

It would have taken half the time to simply write the cards all out individually, and the code would be far more readable doing so.
Replies: >>717472085 >>717472126
Anonymous
8/7/2025, 3:46:08 AM No.717472082
>>717460620
Only mentally ill people use real tab characters.
Anonymous
8/7/2025, 3:46:10 AM No.717472085
>>717463643
>>717471979
Also: Why's he complaining about people googling answers?

Using Google to see how to do something you're unsure of is standard practice.
Replies: >>717473087
Anonymous
8/7/2025, 3:46:19 AM No.717472101
>>717469803
c = int
suit(c) = c/13
rank(c) = c%13
Replies: >>717472287
Anonymous
8/7/2025, 3:46:38 AM No.717472126
>>717471979
>It would have taken half the time to simply write the cards all out individually, and the code would be far more readable doing so.

a trap some programmers seem to fall into is the desire to be clever getting in the way of work flow.
One example of this is the desire to write code in so few lines that it becomes enigmatic and a pain to come back to.
Replies: >>717472198
Anonymous
8/7/2025, 3:47:55 AM No.717472198
>>717472126
Exactly, and the interviewer clearly dings another one for "painstakingly writing out" the card decks.
Replies: >>717472363 >>717472610
Anonymous
8/7/2025, 3:48:44 AM No.717472243
>>717471220
>>717471347
This has been my approach. I plop my incomplete FL Studio projects in there and see what shit it pops out. My favorites are when the first minute or so mangles the melody and sounds like schizo shit, passes the original audio cut off and then fills in with the sickest fucking remix of whatever parts it did right before.

I'm convinced producers who use Suno to augment their original pieces are going to be sleeper titans in the industry.
Replies: >>717472845
Anonymous
8/7/2025, 3:48:52 AM No.717472252
>>717448682
Well, in fairness writing code like that is a genuine woman moment, so maybe the troons had a point about muh female brain
Anonymous
8/7/2025, 3:49:19 AM No.717472287
>>717472101
b-but what about a theoretical scenario where your boss tells you to add one more suit...?? then you can just define it in the enum and it will work without changing any of the logic
Anonymous
8/7/2025, 3:50:33 AM No.717472363
>>717472198
Here's your standard deck of cards:
for(i=0;i<52;i++)deck.push(i)

You need names or graphics? Get an artist to fill the lookup table.
Replies: >>717472429
Anonymous
8/7/2025, 3:51:47 AM No.717472429
>>717472363
You make artist's life easier if you provide a proper frontend that procedurally does this for them
And it's more fun
Replies: >>717472504
Anonymous
8/7/2025, 3:53:01 AM No.717472504
>>717472429
Your fontend is notepad.
Fill deck.txt with your card names. One line per card. In order.
Replies: >>717472859
Anonymous
8/7/2025, 3:54:34 AM No.717472593
1753966867729422_thumb.jpg
1753966867729422_thumb.jpg
md5: bd8dbcdc37b5d3707405f37a79675588🔍
>gamedev
what's the point?
https://x.com/jkbr_ai/status/1953154961988305384
Replies: >>717472770
Anonymous
8/7/2025, 3:55:01 AM No.717472610
>>717472198
I wonder if they would allow a few simple follow up questions before coding to outline the scope of work.
because they are definitely looking for candidates to figure out how much time and work is needed to be put into the request.
I never finished my education on coding, but I would have considered (but not necessarily asked) asking them if they just wanted a set of 52 cards, or if they wanted the framework for suits as well.
a simple yes/no and then right to work.
Anonymous
8/7/2025, 3:57:53 AM No.717472770
>>717472593
>we can't land on the moon but we made infinite realities
what is this tech tree
Replies: >>717472970 >>717473518
Anonymous
8/7/2025, 3:59:08 AM No.717472836
Kill yourself fucking retarded faggot fucking dipshit little retard little fag boy fucking faggot
Anonymous
8/7/2025, 3:59:16 AM No.717472845
>>717472243
Yeah, its very fun. Especially with a whole backlog of partially finished FL slop over the years. I'm glad they added tunable parameters to the generations. I haven't noticed much melody bungling, but I set my audio strength to 80%. I enjoy the noise it generates with high weirdness as well.
Anonymous
8/7/2025, 3:59:24 AM No.717472859
>>717472504
b-but i can spend an hour writing a fully automated, modular card-handing framework with an intuitive API that can handle any amount of card values, suits and int32.max cards in deck, and automatically gives a grammatically correct ToString() description for each specific card
because what if i am the artist too...?
Anonymous
8/7/2025, 3:59:52 AM No.717472883
1626848532427
1626848532427
md5: e59dfa0031eeda3ed1a4aad8a998bd7b🔍
god i hate programming
getting a cs degree was a mistake
what was i thinking
Replies: >>717473156
Anonymous
8/7/2025, 4:01:24 AM No.717472970
>>717472770
>we can't land on the moon but we made infinite realities
we can and have
starship hls is in development right now
Replies: >>717473496
Anonymous
8/7/2025, 4:02:09 AM No.717473010
1699476354812948
1699476354812948
md5: 3661233827e2be93b6eba6fc82792fba🔍
>>717446302 (OP)
the real joke is that the bottom solution is 1000x less efficient
Replies: >>717473326
Anonymous
8/7/2025, 4:02:32 AM No.717473037
GCip4ynXwAAO6Mo
GCip4ynXwAAO6Mo
md5: bad4be70a68a6545441c5417166e5357🔍
I had a talk with a publisher recently and have another one coming up because i want to gauge business sides of this shit including ai. Heres what ive come back with, accounting for just watching discourse myself, and exploring ai on my own (local)
>socially the consumer will rape you if you use ai and dont disclose it
>they will do the same if you disclose it but less intense
>typically only cares about art and audio (music, voice acting, you get the idea),
>copyright law has some spefic ruling on this so its clear in the sand from the standpoint of a business or monetary capacity
>code is the one that so far has no clear answer since you typically have a programmer on hand anyway so why bother
>legally speaking code can get a copyright, but can also only apply under certain license terms too
>code snippets online are public domain
>businesses have either "just make it work" or "dont let any ai touch our code" attitudes because it could be beamed to god knows where and use by who the fuck knows
>if you remove art and audio elements for ai usage in your game youre basically all in the clear legally right now
>ethics and personal opinion now dictates whether you can or cant do it for that company/product for programming

what do you anons think? id rather still trust a competent programmer than whatever the fuck ai slop vibecoded bullshit there could be as an alternative, but if youre without a programmer on hand then would ai be a reasonably ethical choice at this point? i hate it so much and i want to die especially because i focus on local non-nvidia solutions for this bullshit but at least im mostly in control
Replies: >>717473475 >>717473572
Anonymous
8/7/2025, 4:03:34 AM No.717473087
>>717472085
Because they're using google for something as basic as writing code to find odd numbers. The "reading voice" candidate didn't even know what he was looking at on his google result.
Anonymous
8/7/2025, 4:04:20 AM No.717473141
I want to make an incremental game. Something like Cookie Clicker or Realm Grinder or Universal Paperclips. Which engine or language would be best suited to it?
Replies: >>717473214 >>717473549 >>717473572 >>717473605
Anonymous
8/7/2025, 4:04:37 AM No.717473156
>>717472883
>why yes I do want to tard wrangle all of my coworkers AND everyone in every other department, who don't know how to use more than 10 words when describing their feature request
>AND all of the vendors I'll ever interact with
Anonymous
8/7/2025, 4:05:52 AM No.717473214
>>717473141
javascript, no one wants to play an incremental game that's not playable in a browser
Replies: >>717473605
Anonymous
8/7/2025, 4:06:04 AM No.717473230
>>717469357
>>717466708
>>717469972
complete noob here, does this nodebased workflow make things any easier in terms of gamedev in general and is that why every game is using unreal so that they can hire bottom of the barrel programmers? I'm only familiar with nodes and noodles because I've used blender over the years.
Replies: >>717473470 >>717473731 >>717473891 >>717474190 >>717481683
Anonymous
8/7/2025, 4:07:40 AM No.717473326
>>717473010
depends on how smart the compiler is
since it's a constant function that always returns the same value, it could've optimized it into "number % 2 == 0"
Anonymous
8/7/2025, 4:10:09 AM No.717473470
>>717473230
>does this nodebased workflow make things any easier
It's like reading the wikipedia article on a math function instead of just looking at the formula
Anonymous
8/7/2025, 4:10:13 AM No.717473475
>>717473037
>>businesses have either "just make it work" or "dont let any ai touch our code" attitudes because it could be beamed to god knows where and use by who the fuck knows
this is retarded because every ai company offers enterprise solutions where your code is never trained on or stored etc
Replies: >>717474297
Anonymous
8/7/2025, 4:10:29 AM No.717473496
>>717472970
>we can and have
nobody tell him
Anonymous
8/7/2025, 4:10:55 AM No.717473518
iu[1]
iu[1]
md5: 36757a7d9230f10176221d2c0ac435fb🔍
>>717472770
Space travel was never gonna happen anyways since it's a global effort. We barely got it to be a national effort only because we were competing against an enemy superpower in a glorified dick waving contest. That short window of time where society was united just enough to pursue interplanetary travel is long behind us.
Anonymous
8/7/2025, 4:11:23 AM No.717473549
>>717473141
https://candybox2.github.io/candybox/
https://github.com/candybox2/candybox2.github.io
Anonymous
8/7/2025, 4:11:45 AM No.717473571
if only there was a solution
if only there was a solution
md5: b4eedc67f23a501020a88d129cf99beb🔍
>>717448861
boy have i a present for you
Anonymous
8/7/2025, 4:11:45 AM No.717473572
>>717473037
>especially because i focus on local non-nvidia solutions
just use gemini, nothing beats the 1million context
>>717473141
unity
you can't make profit from a browser incremental
Replies: >>717474297
Anonymous
8/7/2025, 4:12:14 AM No.717473605
>>717473141
this >>717473214 but anything that compiles to web assembly because java sucks
Anonymous
8/7/2025, 4:14:33 AM No.717473731
>>717473230
The way it's supposed to work is a programmer writes C++ code like "here's an event for OnTakeDamage, and here's a node for SetHealth", and then the game designer (non-programmer) goes into the Blueprint and noodles up his little OnTakeDamage node to the SetHealth node, so the designer controls all the numbers/balance and the programmer controls all the functionality
Anonymous
8/7/2025, 4:15:29 AM No.717473785
1732896506479868m
1732896506479868m
md5: 4dcf686db4bfde99e0bf1f94a3e55345🔍
>>717446772
>its another 'RE engine/UE5 = bad' episode
>its another 'pointing out if/else statements as if the compiler doesn't fix that' episode
>its another 'muh pajeet code/models/optimisation' episode
I'm tired.
If you even entertain the notion or discussing gamedev on /v/ you have brain damage or hyper mega death autism.
Anonymous
8/7/2025, 4:16:23 AM No.717473846
whole lotta replies in this thread to just say that AI would be the best case use for dev work
Replies: >>717474509
Anonymous
8/7/2025, 4:17:09 AM No.717473891
>>717473230
the node stuff is just for nocoders to interact with these systems in a more intuitive way. it has basically replaced embedded scripting languages like Lua in the modern era
Anonymous
8/7/2025, 4:17:35 AM No.717473915
my dad told me when he was an engineer in the 70s he would write a program in assembly and then another guy who had memorized the compiler book would turn it into hexadecimal which they would put on a punch card that their computer could read. is he pulling my leg?
Replies: >>717473991 >>717474086 >>717474231
Anonymous
8/7/2025, 4:18:06 AM No.717473946
>>717459129
my notes are mostly schizo
>this shit sucks, but it makes the moon scale every time you kill lunar children. pray the player sleeps before he kills 400
Anonymous
8/7/2025, 4:19:09 AM No.717473991
>>717473915
from what i understand? yes
dark times
Anonymous
8/7/2025, 4:19:48 AM No.717474036
>>717447208
Code needs to be maintained and retarded shit makes that harder to do. Hard to maintain code is bad code waiting to happen.
Replies: >>717474317
Anonymous
8/7/2025, 4:20:40 AM No.717474086
>>717473915
If that surprises you, what if I told you that in the 40's, you could literally fuck your computer.
Anonymous
8/7/2025, 4:20:59 AM No.717474105
1740585376885431
1740585376885431
md5: 485ecf35ec9ff3cce1eece8463b9e2e4🔍
How hard is it to get into gamedev? Like if I wanted to make a lighthouse keeper survival game or something like that where there are survival systems, how retarded do I need to not be to do it?
Replies: >>717474230 >>717474252 >>717474360 >>717477787
Anonymous
8/7/2025, 4:22:26 AM No.717474190
>>717473230
>does this nodebased workflow make things any easier in terms of gamedev
no its for people that dont know how t program and it can get them familiar with the concepts and groundwork to actually do it in a real language eventually. its a competence skill check.
its also slower by several magnitudes than proper code but if youre efficient with it and smart about how you use it the penalty is less heavy
Anonymous
8/7/2025, 4:22:42 AM No.717474208
>>717446302 (OP)
>>717446302 (OP)
#include <iostream>
#include <string>
#include <bitset>
#include <cmath>
#include <functional>
bool isEven(int num) {
std::bitset<32> binary(num);
char lastBit = binary.to_string().back();
int lastBitAsInt = lastBit - '0';
std::function<bool(int)> isZero = [](int x) {
return std::pow(x, 2) == 0;
}; bool (*resultFunc)(int) = isZero;
return resultFunc(lastBitAsInt);
} int main() {
for (int i = 0; i <= 10; ++i) {
std::cout << i << (isEven(i) ? " is even\n" : " is odd\n");
} return 0;
}
Replies: >>717476224
Anonymous
8/7/2025, 4:23:03 AM No.717474230
>>717474105
You need to be able to code and probably some math (up to early calculus). Asset creation is the hardest part
Replies: >>717477787
Anonymous
8/7/2025, 4:23:03 AM No.717474231
>>717473915
no, punch cards worked like that. imagine the iteration time when you have a bug and there are 200 other people that use the mainframe on a set schedule so you basically only get like a 1 hour window a day to try to run your shit and that's only enough time to run it a couple of times
Replies: >>717474279
Anonymous
8/7/2025, 4:23:27 AM No.717474252
>>717474105
Programming isn't as scary as it seems. The most commonly used engines (Unity, Unreal, Godot, Gamemaker) have retardproof scripting and/or a lot of tutorials online.
What might really bite you in the ass is making assets, if you're not already an experienced artist.
Replies: >>717474319 >>717477787
Anonymous
8/7/2025, 4:24:08 AM No.717474279
>>717474231
I like the stories about people dropping their cards without writing numbers on them and having to redo it all from scratch
Anonymous
8/7/2025, 4:24:24 AM No.717474292
>>717446302 (OP)
Was that really helpful with no definition for Length?

>>717447318
Yes, just divide by 2 and subtract an int conversion of the result from it. Why the FLUX make an entire class just for this?
Anonymous
8/7/2025, 4:24:29 AM No.717474297
>>717473475
>this is retarded because every ai company offers enterprise solutions where your code is never trained on or stored etc
youd be surprised how often this isnt the case. its that trust you have to get with the company and the people ive spoken to do not trust anything, but some dont give a fuck regardless while others do. propping up a local solution is expensive to deal with and maintain so many will still opt for a company or just not use ai at all
>>717473572
i have some resources already i just prefer doing local where i can. if im in a spot with no networking and i can fire a local model up even if its not quite great its still better than being a retard that cant code i guess
Anonymous
8/7/2025, 4:24:47 AM No.717474317
>>717474036
>Code needs to be maintained
no it doesn't
Replies: >>717474406 >>717476520 >>717478148
Anonymous
8/7/2025, 4:24:51 AM No.717474319
>>717474252
Every asset you could ever need already exists in archive.org as an asset CD copy from 90's
Anonymous
8/7/2025, 4:25:47 AM No.717474360
>>717474105
gamedev is piss easy
especially if you leverage ai
go take some udemy courses for unreal or unity
you can torrent them too(they are just videos usually)
Anonymous
8/7/2025, 4:26:33 AM No.717474406
8090998
8090998
md5: c9d4111459c0d02393df75f4b0139257🔍
>>717474317
Tell me again about not maintaining code on 4chan.org.
Not a subject any of us here experienced first hand.
Anonymous
8/7/2025, 4:28:12 AM No.717474509
>>717473846
imo the best use case for AI is as an assistive tool and that particular use case should be fully socially acceptable. I'd prefer my project to ultimately be my work, but I'm not above using AI for inspiration or speeding things up. It's not much too different from copying code online or listening to my favorite video game songs to take and partially tweak ideas from. I just wish the anti-AI crowd wasn't programmed to be so utterly immovable over their stance. I understand the worries for job displacement, but it doesn't change the fact that this is an assembly line-tier innovation: It's not going away. It literally can't, and insinuating otherwise is literal copium. Even if every western democracy in the world banned it, China and the like would just be completely emboldened to take advantage. There's some ethical dilemmas that demand a middle road approach and attempting to act in denial just cripples you. Fuck if I want to take this point to the extreme; imagine some poor Brazilian kid gets access to some AI tools that make his dream game possible despite his lack of free time or other resources. With today's climate, he'd probably get slammed by a bunch of left-wingers for being a lazy asshole and not putting in real work. Just like that, the leftie became the crotchety boomer. It's a complicated scenario that isn't done justice by the black and white conflicts the brain-damaged masses are hypnotized into.

I wish artists would see it more for its practical capabilities rather than suffer mental breakdowns over an inevitable technology. It should say a lot that Gabe and Sakurai are already calling it absolutely necessary to incorporate it into our work at this point.
Replies: >>717475059
Anonymous
8/7/2025, 4:29:02 AM No.717474549
odd
odd
md5: c56a13f61eb83b33bc56c761451cd8dc🔍
bitwise goes brr
Replies: >>717474910
Anonymous
8/7/2025, 4:34:58 AM No.717474910
>>717474549
>0xDEADBEEF
Heh nothin personnel kid
Replies: >>717475154
Anonymous
8/7/2025, 4:37:08 AM No.717475059
>>717474509
I draw and I code and AI just doesn't support augment drawing the same way it augments coding
Replies: >>717475791
Anonymous
8/7/2025, 4:39:01 AM No.717475154
even
even
md5: 972ac29681b01733fdd1737dd08f3051🔍
>>717474910
I prefer CAFÉBABEs myself, they're hotter.
Anonymous
8/7/2025, 4:42:53 AM No.717475389
>>717458115
some of these are by an obvious nocoder

>typeof NaN is number
>0.1 + 0.2 != 0.3
floating point quirks

>true + true + true = 3
>true - true = 0
true == 1. Same as in C

>Math.min() == Infinity
>Math.max() == -Infinity
Because it is fast and implemented to be used recursively.

Probably defined something like

result = infinity;

for(x in args) if(x < result) result = x;

return result;
Anonymous
8/7/2025, 4:44:07 AM No.717475460
1535633745275
1535633745275
md5: cca66ee271003973eb528b59f8f294c9🔍
>>717446302 (OP)
Should gamedevs read SICP? Why haven't you read SICP yet?
Replies: >>717475501 >>717475704 >>717475826 >>717476615
Anonymous
8/7/2025, 4:44:46 AM No.717475501
>>717475460
I bought it so it looks nice on the shelf
Anonymous
8/7/2025, 4:48:10 AM No.717475704
>>717475460
because lisp sucks, the book is highly overrated and its entire reputation carried by a meme in the first paragraph
Replies: >>717478463
Anonymous
8/7/2025, 4:49:36 AM No.717475775
>>717466901
Measure twice cut once
Replies: >>717475881
Anonymous
8/7/2025, 4:49:51 AM No.717475791
>>717475059
That's fine. What's important is just whatever part of the process it makes easier.
Replies: >>717482121
Anonymous
8/7/2025, 4:50:25 AM No.717475826
>>717475460
Everyone should read it. The people who don't like it are aspiring code monkeys who realize it won't help them get a wage slave job for some evil surveillance company.
Anonymous
8/7/2025, 4:51:30 AM No.717475881
ruler-differences
ruler-differences
md5: 5f0e752c598e4b9d8c39712426f19a9b🔍
>>717475775
and use the same ruler, from the same end
Replies: >>717476238
Anonymous
8/7/2025, 4:52:50 AM No.717475961
AI has been helping me more than I would care to admit lately. I'm not like stupid, I know what the codes do but AI is great at simplifying things or coming up with shortcuts I missed. The key is to use it in small amounts to better your own work
Replies: >>717476103 >>717476757
Anonymous
8/7/2025, 4:55:22 AM No.717476103
>>717475961
i find ai great at things like
>fuzzy searching(what was the name of that thing that does this)
>telling me things i don't know
>warning me about potential blunders for new projects
>shitting out massive amounts of code i can't read
Anonymous
8/7/2025, 4:55:43 AM No.717476123
Pointing Hiro
Pointing Hiro
md5: fe1782619a6161f5f720a49770074265🔍
>Need a component to hold mass and other physics information
>Call it the HiggsComponent
That's why I like working on my own code, I can do whatever I want
Anonymous
8/7/2025, 4:57:02 AM No.717476216
>>717449852
This is satisfying
Anonymous
8/7/2025, 4:57:13 AM No.717476224
>>717474208
>std::function<bool(int)> isZero = [](int x) {
>return std::pow(x, 2) == 0;
>}; bool (*resultFunc)(int) = isZero;
Cmonkey here
what the fuck is this
Anonymous
8/7/2025, 4:57:20 AM No.717476238
>>717475881
Never switch rulers mid-project.
It's a nightmare, don't lie to them that you can easily make it work.
Anonymous
8/7/2025, 4:57:21 AM No.717476239
>>717460743
is it possible to learn this power
Anonymous
8/7/2025, 4:57:47 AM No.717476271
>>717470502
>rumor
kek
judging by the slop they opensourced recently, gpt5 is going to be a nothingburger
Anonymous
8/7/2025, 5:00:42 AM No.717476451
>>717446302 (OP)
Good coding is hard and takes lots of skill and research, but you can get a simple game running even with garbage code.
Notice that code quality and game quality aren't as correlated as most of the internet would say.
You can easily have good games (including commercially successful games) with garbage code and awful games with John Carmack levels of code.
The most important thing is get to get started and be curious and resourceful. Be critical of your code, but don't lose your mind over it.
Anonymous
8/7/2025, 5:01:09 AM No.717476475
>>717447208
based pragmatic coder take
Anonymous
8/7/2025, 5:01:59 AM No.717476520
>>717474317
hiromoot, you nigger
when will you add webp support
Anonymous
8/7/2025, 5:02:42 AM No.717476569
>>717463643
This was the average coding interview pre 2022
Now its 2 hard leetcode problems and 5 interview stages
Why couldn't I have been born 5 years ealier
Anonymous
8/7/2025, 5:03:37 AM No.717476615
>>717475460
I tried reading it after learning cepples for a while, and it was way too basic and beginner-oriented.
Anonymous
8/7/2025, 5:04:28 AM No.717476660
>>717446302 (OP)
>modulo cringe instead of just checking whether the first (or last, depending on how you view it) bit is 1 or 0
Replies: >>717476743
Anonymous
8/7/2025, 5:04:54 AM No.717476681
>>717447643
that is how a human would write it. but webdevs lose their humanity over time and then they write shit like repeatedly calculating
>"even".Length % 2
Anonymous
8/7/2025, 5:05:16 AM No.717476694
Just use AI boomer ludites
Replies: >>717476809
Anonymous
8/7/2025, 5:06:04 AM No.717476743
>>717476660
are you sure the compiler doesn't reduce % 2 to exactly that, at least when the 2 is hardcoded?
Replies: >>717476903 >>717476940
Anonymous
8/7/2025, 5:06:23 AM No.717476757
>>717475961
>don't know how to do thing
>"hello chatGPT give me resources on how to learn [thing] from the ground up to get a first-principles understanding"
>recommends me mammoth 9,001-page tome on the subject, academic papers, and official standards for any relevant protocols or such
It's so insanely good at filling in unkown unkowns I feel like the autodidact paradise of "you can learn anything on the internet if you just put in some time" is coming totally true.
Anonymous
8/7/2025, 5:07:15 AM No.717476801
1749170821009
1749170821009
md5: 140d99b578d30ae176913eede68edce3🔍
>>717466901
Anonymous
8/7/2025, 5:07:33 AM No.717476809
>>717476694
*rapes you*
Anonymous
8/7/2025, 5:08:26 AM No.717476857
>>717449852
>>717449131
>>717447000
Goblins should be green.
Replies: >>717477614
Anonymous
8/7/2025, 5:09:19 AM No.717476903
>>717476743
I don't know if the JS/Typescript "compiler" would do that. A modern c/c++ one probably would.
Anonymous
8/7/2025, 5:10:02 AM No.717476940
>>717476743
negative numbers switch em
Anonymous
8/7/2025, 5:20:41 AM No.717477487
file
file
md5: e1bff8e82a8663f7e4f1f09a3258cf1d🔍
I ain't no programmer, but Deepseek taught me python arrays. It removes those specific punctuation from all files with those extensions in the run directory. Thanks AI
Replies: >>717477602 >>717478495
Anonymous
8/7/2025, 5:22:44 AM No.717477602
>>717477487
nice anon
ai is really fucking handy for making your custom tools
Replies: >>717477720
Anonymous
8/7/2025, 5:23:05 AM No.717477614
Goblin_Diplomacy
Goblin_Diplomacy
md5: b2b16aa2989a9facf7559fc4b4245134🔍
>>717476857
Anonymous
8/7/2025, 5:25:21 AM No.717477720
file
file
md5: db7f96fef3c2b43d9757fb933a1b5ac9🔍
>>717477602
It also taught me that if statements default to true, and ifnot to false, so you can just do stuff like this
Replies: >>717477847
Anonymous
8/7/2025, 5:26:26 AM No.717477787
>>717474105
trust these anon's words
>>717474230
>>717474252
the scope of what you outlined is a solid idea for a beginner.
>lighthouse keeper
>1-2 primary structures
>half of the world is just ocean
>1/4-1/3 is beach/cliffs
you can start the world design simple and make it more detailed over time as you please
>survival based
survival systems are mostly math and timers, and you should expect to fiddle with the settings a bunch to tweak the survival part, but when you make it you can have all of those be options the player can fiddle with as well.

Go light on animations and stick to default assets for the engine you choose to start with as well, perhaps?
Anonymous
8/7/2025, 5:27:26 AM No.717477847
lee
lee
md5: 867cd6216cf43da51a6e603d298ecebc🔍
>>717477720
>if statements default to true
Replies: >>717477881
Anonymous
8/7/2025, 5:28:07 AM No.717477881
>>717477847
Okay maybe I said that wrong and don't know how to word it, but I get it
Anonymous
8/7/2025, 5:29:21 AM No.717477943
if(true == true) Infinity/0;
Replies: >>717477975
Anonymous
8/7/2025, 5:29:35 AM No.717477957
Can I use AI to learn how to optimize my code? Not going to pay 1 gorrilion dollar for some useless certificate paper.
Replies: >>717478080 >>717478081 >>717478217 >>717478420 >>717478720
Anonymous
8/7/2025, 5:29:57 AM No.717477975
>>717477943
Do NOT run this code
Anonymous
8/7/2025, 5:31:47 AM No.717478065
>>717446302 (OP)
what is the "even".Length % 2 part even doing in that?

is the point of the image that none of that matters and you could just return the inverse of (number % 2)
Replies: >>717478241
Anonymous
8/7/2025, 5:32:01 AM No.717478080
>>717477957
If you want to optimize your code then use a profiler to see what's actually slow
Anonymous
8/7/2025, 5:32:02 AM No.717478081
>>717477957
Ask it to roleplay as Casey Muratori and then show it example code.
Anonymous
8/7/2025, 5:33:39 AM No.717478148
>>717474317
lol
lmao
90% of the web runs on ancient PHP and Java code bases older than you are
Anonymous
8/7/2025, 5:35:08 AM No.717478217
>>717477957
show it a code, ask if it can be optimized it, post results
Anonymous
8/7/2025, 5:35:36 AM No.717478241
>>717478065
It's a shitpost replying to a shitpost, it's all ironic.
"even".Length is always 4, so all this is doing is returning true if number % 2 is equal to 4 % 2. Any even number mod 2 will return the same result (0), so therefore if the number is even, taking its modulus will return the same result as 4 mod 2, making the comparison true.
Anonymous
8/7/2025, 5:38:49 AM No.717478420
>>717477957
You mean like writing some shitty code and then asking it to write it in a better way?

Maybe. I've seen it do a great job at making certain suggestions, but then also give extremely retarded suggestions at other times. My most frequent complaint is something like:

>here is this file. Please write a unit test function inside the TODO comment on test_make_sure_thing_works. Do not make any other updates to the file or add dependencies.
>Okay, here is the updated code. I also refactored this other part because blah, blah, blah.
>*file has been completely changed*
Even the latest pro models are all pretty bad about this type of shit. So if you already know what you want, it's fine, but if you don't know better, it's likely you will get handed code that is more retarded or outright broken. Because at the end of the day, LLMs don't "understand" commands and instead just generate what is the most likely response to your query.
Replies: >>717478515
Anonymous
8/7/2025, 5:39:00 AM No.717478431
>>717466901
DRY
KISS
Replies: >>717479735
Anonymous
8/7/2025, 5:39:37 AM No.717478463
>>717475704
do you have an alternative to recommend?
I have the basics of object oriented programming in my head for C++
I know where I want to go for languages (foundation in C, then finish C++)
but for the overarching mindset behind things, how to approach things, where should I look?
Replies: >>717481094
Anonymous
8/7/2025, 5:40:00 AM No.717478479
>>717450757
When you have no shit going on, could be during a task, just think how you would put the system together and later after making it think of making another system work with the one you made, it's good practice even if they're bad. You need to build the muscle so when ya need it ya can flex it. For yourself,
Anonymous
8/7/2025, 5:40:24 AM No.717478495
>>717477487
in bash this is just
rename 's/\- !/' *.jpg *.jpeg *.png
rename 's/[!\-\[\] ]//' *.mkv
Anonymous
8/7/2025, 5:40:53 AM No.717478515
>>717478420
>>here is this file. Please write a unit test function inside the TODO comment on test_make_sure_thing_works. Do not make any other updates to the file or add dependencies.
>>Okay, here is the updated code. I also refactored this other part because blah, blah, blah.
>>*file has been completely changed*
>Even the latest pro models are all pretty bad about this type of shit. So if you already know what you want, it's fine, but if you don't know better, it's likely you will get handed code that is more retarded or outright broken. Because at the end of the day, LLMs don't "understand" commands and instead just generate what is the most likely response to your query.
dude what are you doing?
use cursor or vscode extension models
you can see diff changes and select which parts to keep
Replies: >>717478834
Anonymous
8/7/2025, 5:41:02 AM No.717478523
>>717456934
>dx11 does everything for you
Except now it's DX12 all the way down thanks to 11on12.
DX11 is completely dead and every DX11 context is now just wrapped in DX12 and sucks shit because Microsoft hates humanity and also fuck you in particular for liking DX11, I guess.
Replies: >>717479116 >>717479180
Anonymous
8/7/2025, 5:41:29 AM No.717478549
>>717460518
yes, for cheating
Anonymous
8/7/2025, 5:41:59 AM No.717478584
DX9 lived for ages
What happened to DX10?
Replies: >>717478653 >>717478672
Anonymous
8/7/2025, 5:42:57 AM No.717478627
>>717446302 (OP)
If you're using %2 in your even/odd function instead of i&1, you're doing it wrong.
Replies: >>717478850
Anonymous
8/7/2025, 5:43:27 AM No.717478653
>>717478584
it was bad so nobody used it. then DX11 came out and was better.
Replies: >>717478862
Anonymous
8/7/2025, 5:43:45 AM No.717478672
>>717478584
>what happened to the Windows 8 of Direct3D?
Anonymous
8/7/2025, 5:44:31 AM No.717478720
>>717477957
Optimize it for what? Performance at scale? Uptime? Optimization is about tradeoffs, not sprinkling pixie dust on code to magically make it better at everything. Sometimes code can be highly optimized at the wrong thing because the developers had the wrong priorities.
Anonymous
8/7/2025, 5:46:02 AM No.717478791
n7qxbx5pdgef1
n7qxbx5pdgef1
md5: 725a7d04e5b8d578cf334ba429c22b50🔍
I stopped using Unity and start using RPG Maker because I got tired of always coding and never actually making anything.
Replies: >>717478923
Anonymous
8/7/2025, 5:46:44 AM No.717478834
>>717478515
Cursor does exactly what I described. If you already know how to program, you know "what parts to keep", but a lot of people will just see accept whatever changes are suggested without realizing they're introducing some kind of antipattern or actual bug. If anon is a programmer already, then yeah they will probably learn by asking AI to clean up their code.
Anonymous
8/7/2025, 5:46:55 AM No.717478850
>>717478627
what about negative numbers?
Replies: >>717478995 >>717479205
Anonymous
8/7/2025, 5:47:07 AM No.717478862
>>717478653
>""""better""""
DX11 is still a downgrade on every game that ran DX9
Replies: >>717482651
Anonymous
8/7/2025, 5:47:28 AM No.717478884
413142431
413142431
md5: 46c11c9e4aa853c9a1af369e40740c21🔍
>>717459939
>eat my entire ass
Replies: >>717478915
Anonymous
8/7/2025, 5:48:12 AM No.717478915
>>717478884
he's gay btw
Anonymous
8/7/2025, 5:48:19 AM No.717478923
>>717478791
based
Anonymous
8/7/2025, 5:48:28 AM No.717478932
dceee117e8d7eec14d75a5676d38457c
dceee117e8d7eec14d75a5676d38457c
md5: 2ba5c2fae1f35e6b92d276b5536b4e33🔍
>>717463643
whats dumb about this is that these people shouldve been weeded out way before getting to a technical interview. i blame whatever shit company this guy works for.
any normal company will have low level guys or HR phone screen to make sure youre not dealing with retards or liars before actually doing a real interview
Replies: >>717479135
Anonymous
8/7/2025, 5:49:43 AM No.717478995
1750066767682
1750066767682
md5: 3af1505b2fbf9f69166b528ddb2049e9🔍
>>717478850
what about them?
Anonymous
8/7/2025, 5:50:17 AM No.717479024
YAKUBITES RISE UP
YAKUBITES RISE UP
md5: d3f3ebbca8921b255b0f8266409ab1ff🔍
>>717461698
>return ~i&1;
Welcome to Hyperborea my son.
Anonymous
8/7/2025, 5:51:54 AM No.717479116
>>717478523
vulkan is superior to dx12 but dx12 has way more market share and money going into it. its a shame
Replies: >>717479524
Anonymous
8/7/2025, 5:52:18 AM No.717479135
>>717478932
whats dumb is that interviews dont even happen anymore
every job posting is fake
Anonymous
8/7/2025, 5:53:14 AM No.717479180
>>717478523
there's DXVK for those poor souls still stuck with windows
Anonymous
8/7/2025, 5:53:41 AM No.717479205
>>717478850
No one uses one's complement.
Anonymous
8/7/2025, 5:54:05 AM No.717479219
~(-5) == 4
>true
:-D
Replies: >>717479856
Anonymous
8/7/2025, 5:59:45 AM No.717479524
>>717479116
>dx12 has way more market share
I think projects like dxvk are turning that around. DX10 and DX11 games that run like trash on Win11 are being rescued by a magical dll that just works, and most DX12 games are slop.

Steamdeck compatibility is also a nice incentive to target vulkan instead of dicking around with Microsoft APIs.
It's slow-going, but it's gaining traction with 0 marketing budget. Really more of a testament to how rotten the Windows ecosystem has become than the advantages of vulkan, but w/e.
Anonymous
8/7/2025, 6:03:30 AM No.717479735
>>717478431
GROSS
Anonymous
8/7/2025, 6:04:17 AM No.717479773
1732675000373732
1732675000373732
md5: e581d1dc13837420f0ebd3af6a3cdd44🔍
>Is running difficult?
>>No
>Oh yeah, but can you run as fast as Usain Bolt?

>Is running difficult?
>>Yes
>LMFAO fatass, imagine being so fat you can't even run

>Is running difficult?
>>Well it depends..
>It's a simple question retard, yes or no?
Anonymous
8/7/2025, 6:05:56 AM No.717479856
>>717479219
Depends on the hardware.
Replies: >>717479876
Anonymous
8/7/2025, 6:06:25 AM No.717479876
>>717479856
Virtual machine
Replies: >>717480397
Anonymous
8/7/2025, 6:10:34 AM No.717480060
{}
{}
md5: f50d3e3c455bdd73345fb0fe18fafd14🔍
Replies: >>717480183 >>717480530 >>717480808
Anonymous
8/7/2025, 6:13:03 AM No.717480183
>>717480060
I prefer
>if (conditional) {
>}
for less scrolling if a document has a lot of such brackets.
Anonymous
8/7/2025, 6:16:53 AM No.717480397
>>717479876
~(-5) could also just as easily be 2 and 5
Anonymous
8/7/2025, 6:19:24 AM No.717480530
>>717480060
{ on new line is more readable when you have deep nesting, and it visually separates the header from the body
Replies: >>717480703
Anonymous
8/7/2025, 6:20:56 AM No.717480615
if(
condition &&
stamina
){
fuck()
}
Anonymous
8/7/2025, 6:22:42 AM No.717480703
>>717480530
isnt that what indents should be used for?
Anonymous
8/7/2025, 6:24:44 AM No.717480808
>>717480060
I really don't care which way it is as long as things are properly indented.
If your brackets are at the same indentation as the internal statement, I will kill you.
Anonymous
8/7/2025, 6:29:50 AM No.717481094
>>717478463
go watch the first ~40ish handmade hero videos
Replies: >>717481212 >>717481507
Anonymous
8/7/2025, 6:31:23 AM No.717481171
bool isEven(int num) {
return std::isnan(std::pow(-1.0f, 1.0f / (float) num));
}

Haven't confirmed but I think this would work
Anonymous
8/7/2025, 6:32:02 AM No.717481212
>>717481094
sounds good, looks good.
adding it to my list.
Anonymous
8/7/2025, 6:35:30 AM No.717481419
>>717460089
to be fair, my game is also targeting the gtx 1060 3gb for medium high settings, with fsr3 quality for 60 fps at 1080p.
Anonymous
8/7/2025, 6:37:14 AM No.717481507
>>717481094
I've been meaning to watch that between working on vulkan, but I foolishly decided to watch it with a friend trying to learn and he keeps not being in the mood.
Anonymous
8/7/2025, 6:37:47 AM No.717481527
1731145470288703
1731145470288703
md5: fa7885bb783d34d10dfcecb8d4752ee0🔍
>>717463643
kek
Anonymous
8/7/2025, 6:40:49 AM No.717481683
BP_Character Functions
BP_Character Functions
md5: 13a693681a5cab666da9c261de83fed8🔍
>>717473230
It's for devs that don't want to touch the pain that is visualstudio + unreal. I came from making unity games and everything translates pretty well, but if you want a custom data type or class with things like json parsing or other bullshit, you need to use c++
Replies: >>717481726
Anonymous
8/7/2025, 6:41:38 AM No.717481726
>>717481683
WIth AI you might as well make your own engine
Either way you'll have a black box of code
Replies: >>717481786 >>717482156 >>717482278
Anonymous
8/7/2025, 6:42:42 AM No.717481786
>>717481726
what a midwit retarded take.
Replies: >>717481962
Anonymous
8/7/2025, 6:43:11 AM No.717481816
>>717449776
Other than the text hardcoding that doesn't seem bad.
Anonymous
8/7/2025, 6:46:05 AM No.717481962
>>717481786
not an argument
Anonymous
8/7/2025, 6:49:06 AM No.717482121
>>717475791
>just use AI saar
>please buy our product
AI niggers really
Anonymous
8/7/2025, 6:49:39 AM No.717482156
>>717481726
sar plz
Anonymous
8/7/2025, 6:50:06 AM No.717482183
>>717456914
>>717455216
pure soul. where do i follow you?
Anonymous
8/7/2025, 6:52:14 AM No.717482278
&#039;ai&#039;_thumb.jpg
&#039;ai&#039;_thumb.jpg
md5: fee9ffa95029608e581eefd17b699e75🔍
>>717481726
Replies: >>717482584 >>717482790
Anonymous
8/7/2025, 6:58:07 AM No.717482539
>>717470419
i enjoy both the fact that he "aura farms" in every thumbnail, and also that he's right, and all people do is slander him instead of proving him wrong. based optimization twink.
Anonymous
8/7/2025, 6:59:07 AM No.717482584
>>717482278
is that a man or a woman?
Anonymous
8/7/2025, 7:00:34 AM No.717482651
>>717478862
pretty sure there were some that ran better because something about draw calls. besides that it supports effects that DX9 simply couldn't.
Anonymous
8/7/2025, 7:01:39 AM No.717482713
1518723351283
1518723351283
md5: d3693a12535b2324f94882b48404ac07🔍
>>717466708
i'm glad i now know enough about blueprints and c++ to know that this image exists to make blueprints look bad. you cannot end up like this in any scenario. it's literally impossible.
Anonymous
8/7/2025, 7:03:07 AM No.717482790
>>717482278
what the hell is going on in this webm