[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now open. Apply here!


[Advertise on 4chan]


File: 1760372486636718.png (609 KB, 1000x667)
609 KB PNG
Janitorial staff edition

/gedg/ Wiki: https://igwiki.lyci.de/wiki//gedg/_-_Game_and_Engine_Dev_General
IRC: irc.rizon.net #/g/gedg
Progress Day: https://rentry.org/gedg-jams
/gedg/ Compendium: https://rentry.org/gedg
/agdg/: >>>/vg/agdg
Graphics Debugger: https://renderdoc.org/

Requesting Help
-Problem Description: Clearly explain your issue, providing context and relevant background information.
-Relevant Code or Content: If applicable, include relevant code, configuration, or content related to your question. Use code tags.

previous >>108928416
>>
File: output.webm (3.7 MB, 1280x720)
3.7 MB
3.7 MB WEBM
Working on wheel/pedal support, UI is a little fiddly but I think this can accomplish everything anyone would want.
>>
File: FB_IMG_1736210774983.jpg (47 KB, 1080x1184)
47 KB JPG
are you niggers getting any progress done on technological innovations for porn games or still making minecraft clones?
>>
>>108929655
can you go one day without touching your penis or are you completely gone at this point
>>
>>108929655
unironically, yes, I am.
>>
>>108929655
what about a porn minecraft
>>
>>108929655
I think porn should just be banned entirely
>>
>>108929339
Wheel and pedal support officially in the next nightly build. No need for awkwardly holding your pedals in the middle anymore like with DOSBox.
>>
>>108929286
Where are his golashes?
The clown will easily slip him
>>
i donnu if its the right place to ask but

im using XUnity.AutoTranslator-BepInEx to help my cousin, who doesnt know english, play unity games
...or at least thats the plan. our native languege is [spoiler]hebrew[/spoiler] and the translator reverse the order of the letters.
is there to reverse them again/ prevent the reverse from happening in the first place?
>>
>>108931084
Looks fun
>>
rejigged sprite rendering, you guys will make fun of me but it does 250k now at 60fps...
>>
>>108932211
He cannot because he'll get instabanned for doing so because it's 2026 and all servers are fucking shit and the game is a shadow of its former self.
>>
>>108931084
based dev
>>
>>108932740
Who cannot?
The clown for being a dick?
Or the Janitor for 'powergaming'?

Both are believable
>>
visibility with radius 60, might need to tone down the sprites
>>
I wouldn't trust the AI to write code in the "real" part of the project but it's great for writing shitty non-critical Python tools and such so you don't have to deal with Python garbage.
>>108933051
Luckily for the janitor, the admins are either busy with vore ERP in dorms or dilating in real life, so he'll get away with it this time.
>>
>>108933919
have you used claude, it's scary good. you can see where this is all heading
>>
>>108933976
That's the one I use. Very good at syntax, but still pretty bad at actual software engineering, which is why I don't let it write anything more than individual, small functions. I've seen some absurd design suggestions from it, even on max effort, so I am not trusting it to design my program for me.

But it definitely can write the annoying boilerplate shit.
>>
>>108934020
fair
I can't get over how fast it is, it's completely impossible for a human to do what it does
>>
just tried PCVT, ray marching and symmetric shadowcasting in like 30mins with claude. this is symmetric looks better
>>
>>108934020
it's good for boilerplate shit and well defined algorithmic problems. anything with a paper written on it.
>>
>>108933919
I've gotten good enough at tard wrangling the AIs that I'll even let them write C now. Basically you just need to generate extremely specific design documents, have the work broken up into small chunks, have them write lots of tests so they can iterate automatically when they fuck things up. And never never ever let them fill up the context and compress the conversation.
>>
File: apu-looking.jpg (26 KB, 191x191)
26 KB JPG
>>108931084
>>
>>108929655
yeah. im making a porn game in the style of A Scanner Darkly and Waking Life
starring Temari from the Naruto series.

I'm not releasing it, it's a personal VR project.
>>
File: 1765820239144974.jpg (31 KB, 456x320)
31 KB JPG
>spent a week on fucking "data driven" shit
>all because of modding
>could have made things a thousand times easier by just hardcoding everything and just compiling it
>>
>>108936111
What exactly did you want to do "data driven"?
>>
>>108936111
making your game data driven is supposed to make development easier, you did it wrong
>>
File: 1750963525577279.png (6 KB, 399x25)
6 KB PNG
>>108936124
Entities, meshes, materials, everything is in a fuckshit JSON file now that is loaded at startup instead of me just hardcoding it in a code file like God intended.

Honestly not even sure if "data driven" is the right terminology, never really bothered with reading up on it, I just know I need it to not be hardcoded and this is the (easiest) way to do it.
>>108936133
That's because most development is done either by multiple people, some/many of whom can't compile (designers, artists etc) or in languages like C++ where compiling can take a long time. I'm working alone in Jai, even with extensive metaprogram code generation it compiles in less than a second, pic related.

However I still want to do this because assuming I ever release it I do want to allow modding and whatever annoyances I'm having now are not even 1% of what I'd suffer later trying to rework all this. Has to be done now when things are very early.
>>
>>108936176
It's because having tweakable data all in one place makes it easier to work with, doesn't matter how fast your code compiles
>>
>>108936219
Yeah but that doesn't change if the definition of an entity is in entity_definitions.json or entity_defintiions.jai/cpp, the latter even gives you some validation and autocomplete without needing JSON schemas.

Now one thing JSON will make easier is hotloading changes into your program without restarting it, but I haven't looked into that yet.
>>
>>108936176
>Entities, meshes, materials, everything is in a fuckshit JSON file now that is loaded at startup instead of me just hardcoding it in a code file like God intended.
>Honestly not even sure if "data driven" is the right terminology, never really bothered with reading up on it, I just know I need it to not be hardcoded and this is the (easiest) way to do it.
It can make development easier, but it's easy to screw up your performance here if you then end up doing hash table lookups each frame on the resource filenames to use
>>
>>108936341
>hash table lookups each frame
you use data files to initialize the game state you dont read from them every frame
>>
>>108936342
did you miss the 'if'?
>>
>>108936352
there's no reason to ever do that
>>
>>108936341
Yeah currently I dump the data into an array and then everything stores indices, the key to index map for it exists just in case but after init it should be used very sparingly if ever.
>>
Let's say, hypothetically speaking, you were developing a commercial game. Let's also say, hypothetically speaking, you were considering sdl3-gpu to ship on mac. Is it worth using for first class Mac support? Or should you go with Vulkan 1.3+ and ship with moltenVK? Need your input, chuddies.
>>
>>108936451
no mac support is not worth it
>>
>>108936451
I'd make sure if the game was ever run on a Mac it would instead play this on repeat:
https://youtu.be/48rz8udZBmQ
>>
File: ov.png (100 KB, 555x294)
100 KB PNG
>>108936451
If you're already using SDL-gpu for other platforms, you might as well also use it on Mac
>>
>>108914671
>Unless you want credit, of course.
How.. do you think you earn your degree?
>>
>>108936451
first class mac support is either slang(this is just metal, but you have the option to start off with vulkan+MoltenVK and port to metal later) or metal.
Actually it seems like you could use slang with SDL_gpu. So that might be decent? I just don't think there is any way for you to access the good slang features, such as accessing metal's mesh shaders (since metal has no geometry/tesslation shaders, you may need to emulate that with mesh shaders, which is pretty complicated since I only found one example for mesh shader tessellation and it only works for quads, not triangles, so finding resources is pretty scarce).
webgpu/MoltenVK/Angle/SDL_gpu are all abstractions, you will not be able to access every feature metal provides, and first party graphics debugging tools won't understand your abstraction (Vulkan tools would work on windows/linux).
Do you need every feature that metal supports? no, unless you are targeting the macbook neo/iphone and you are trying really hard to push the limits of the hardware (you aren't, I already know that you are using low poly models).
I think most m1-m4 apple users are going to be fine with just using x86 windows emulation with crossover (or whatever free wine emulator exists).
The only benefit of the app store is monetization ($100 per year dev license) and crash reports.
Should you use slang? I don't know... I tried to search if it has any fatal limitations, but it seems like it does a decent job at keeping limitations tied to the limitations of the API and not so much on the limitation of slang (but from what it looks like, there is probably a large chunk of fragmentation depending on which features you use).
But I tried to check if it supports variable rate shading and someone just vibecoded a part of it... but hey, if it works, it works.
https://github.com/shader-slang/slang/issues/7974
>>
>>108936736
>since metal has no geometry/tesslation shaders
Fucking really? Is this so all of their crap can work on iOS or something?
>>
>>108934020
Sounds like you can let it do the actual writing you just have to tell it how to put it together.
>>
>>108936991
geometry/tessellation shaders are kind of against the whole thin driver philosophy.
it's really hard to write a fast geometry/tessellation shader implementation + keep it consistent between implementations.
if your goal is cross platform performance, you should avoid geometry/tessellation shaders.
>>
>spend like three days fucking around with voxel meshing pattern masks
>finally find something efficient that should work
>realize the geometry won't work out
>'source above' water voxel must be whole
>source must be 7/8ths or else it does an ugly convex meniscus thing
>normals must be in 45° increments
>anything other than a direct slope on stair-steps is ugly
>square water looks cheap
>interpolating heights at the corners would look slavish and breaks instanced rendering
>up to 768 instances would have to be generated at startup
I was tempted to reach for 1765820239144974.jpg. However, I will instead do this: make safe-but-ugly patterns, and then replace common ugly situations with better instances.
>>
File: ygg-mmo-backend-tierlist.png (1.65 MB, 1536x1024)
1.65 MB PNG
This is my ad for a MMORPG backend tier list https://www.youtube.com/watch?v=0wBSayrO-DI
>>
>>108937798
This stuff isn't unique to MMOs that's how all games work
>>
>>108937811
It's true data structures and the like are applicable to all software, but the tier list is dedicated to the topic of MMO/MMORPG
>>
>>108937831
No I mean that's literally how all games work, all games have spatial partitions and staggered updates and stuff
>>
>>108937849
I'm not arguing they don't, but they don't all have other things like a server/client, horizontal scaling, the need broadcast to observers, etc
>>
>>108937798
nonsensical tier list
>>
Anyone else use batch/shell scripts as their build systems?
>>
>>108936111
You can keep all that hard coded shit and load mods through dlls instead of letting toddlers edit text files.
>>
>>108937798
Looking good cris.
>>
One day you will be half as good as cris anon, I believe in you
>>
>>108938461
"letting toddlers edit text files" is how real mod systems work, DLLs are insecure and not user friendly in the slightest
>>
>>108938624
>real mod systems don't let you debug your mods
>>
>>108938631
I guess so
>>
>>108935817
I forgot about that
post Temari
>>
The End of AGDG
One more final (You)
>>
File: yes.png (17 KB, 777x574)
17 KB PNG
>>108938122
>>
>>108936991
>Is this so all of their crap can work on iOS or something?
This gen is so retarded man I swear
>>
>>108938122
No, I just click "build" in Visual Studio
>>
>>108937066
Kinda wild that apple made something with being cross platform a goal when you think about it
>>
>>108941442
Wish we could use Metal on more platforms than Mac, would gladly use it over Vulkan.
>>
zig or c-like c++ like a normal person?
>>
>>108942375
I found Zig to be pretty annoying, but C++ metaprogramming is fucking ghastly so I think I'd still prefer Zig.
>>
>>108942418
did you write anything significantly-sized in zig? what did you find annoying?

i'm only playing around with the language, because it looks good on paper, and the only things so far that irk me is the confusing build system and bad error messages
>>
https://www.youtube.com/watch?v=9VNNR7Czoeg
>>
>>108942824
god im sick of you AI cunts, learn to program
>>
>>108942506
Nothing significant no, didn't like the syntax much at all and the stuff you mentioned as well, so I ended up switching to Odin, though be warned Odin's metaprogramming is nearly non-existent.
>>
File: 1758042214176673.jpg (37 KB, 400x300)
37 KB JPG
>>108942824
>How Unity's New AI Assistant BREAKS You
I hate this style of titling stuff and I can't even put a finger on what it is exactly, but it's still some sort of pattern that triggers my anger.
>>
luddite uncs crash out
>>
>>108942998
Odin seems like a really basic language
>>
>>108942375
C-like C like a normal person
>>
>>108943083
It is, it has more than C but it's still supposed to be a "C with modernizations and some retarded decisions fixed".
>>
>>108943246
By the way the author defends all his design decisions makes me think he just couldn't be bothered implementing good features
>>
>>108942908
Um bro, if you aren't spending $20,000 a month in AI tokens, how are you expecting to make it???
>>
>>108942375
for me it's odin
>>108943083
I find the complete lack of bullshit to be what I enjoy about it. It has some nice features but mostly just small things.
>>
>>108944454
lack of things in a programming language isn't really a good thing
>>
>>108944540
c++ is always available for you
>>
>>108944540
If you want a language with everything and the kitchen sink, use C++.
>b-but it's shit
That's what happens when a language adds everything.
>>
bros, I'm getting filtered by sdl3 gpu. I already went through a triangle tutorial and read some code examples. but I don't really have a deep understanding, I'm just memorizing the order in which functions are called. How the hell do you *really* learn this shit, so you can whip up a renderer from scratch?
>>
>>108944925
havent you posted this like 10 times already?
>>
>>108944925
Despite what JBlow says you start by learning OpenGL and then realize everything else is just a fake and gay version of OpenGL.
>>
>>108944943
He should learn Vulkan so he actually knows what's happening and won't need to API hop ever again.
>>
>>108944962
>so he actually knows what's happening
they're both abstractions
>>
Yeah, there's a lot of graphics terminology I don't know. Also I don't know any shading languages. I guess I should just do learnopengl.
>>
>>108944943
If you're on Windows and thinking of learning OpenGL, you should learn DirectX11 instead, which is just a superior version of OpenGL.
>>
>>108944969
Yeah so how about he doesn't learn a shitty dead API that has active bugs that will never be fixed?

Stop telling people who are learning to learn OpenGL holy shit, this is outright sabotage.
>>108944991
This, is you really want to learn something other than DX12 or Vulkan, go with DX11 at least. There's a reason that even back in the day, 95% of games ran on DirectX, not OpenGL, as primary API.

DX12 if you want to potentially get a job with it later and you're fine with being bound to Microsoft in some ways. Vulkan if not. If you REALLY don't want to learn things properly, at least go with DX11.
>>
>>108944925
actually use vulkan instead of some API that abstracts it away. It's not actually that complicated. Even if you want to use sdl3 gpu or something in production after actually knowing how modern apis works makes it way clearer.

It's not actually that complicated it just had a bunch of fucking boilerplate but conceptually what is actually going on is pretty clear.

Just follow https://docs.vulkan.org/tutorial/latest/00_Introduction.html
and anything that isn't clear talk to an ai about it
>>
>>108945009
Practically it doesn't matter if you use GL or Vulkan
>>
how much should I revenue split if someone wants to do a remake of a game I made and sell it?
>>
>>108944925
just read code and focus more on games.
focus on the engine more when you hit a performance wall.
>Stop telling people who are learning to learn OpenGL holy shit, this is outright sabotage.
webgl is the one of the good things about opengl.
You actually have an excuse that justifies not using an engine because engines use C# and scripts like godot, which don't translate to wasm as well as C or C++.
(BUT I have noticed the wasm has started adding in new features that might make C# more competitive, since they are adding in garbage collection and exceptions).
webgpu has great potential, but it at it's current state, the only feature webgpu offers is a compute shader and 32bit atomics (these are good features).
Also maybe in a few years we might see SDL_gpu support webgpu (which might work with slang).
But overall, it's better if you first think of a game, and then just try creating the game using the path of least resistance.
That path of least resistance could even be using an engine. Since people are able to finish games in a week using unity / godot, does it really hurt to try it out to make a prototype, then move to your engine because of the limitations the unity/godot can't solve?
You could even vibe code it if you don't know C# or gdscript.
>>
>>108945510
nobody cares webdev
>>
>>108945535
it's more about never trusting opening exe's.
>>
>>108945621
imagining making games that have such low value people won't even open your exe to play it lol
>>
>>108945639
would you even open an exe if the game was good?
>>
>>108945667
how else am I going to play it?
>>
>>108945677
sorry, maybe I'm different, but I don't open EXE's.
the game needs to have at least 100+ downloads and at least 1 positive review before I download it.
I don't even trust steam games that are free.
Like, how do you even make money if it's free? And if it's free? why is nobody playing / reviewing it?
>>
>>108945736
Yes you are different, most people open EXEs when they operate their computer
Infact I'd say 99.9999% of computer users open EXEs
>>
>>108945746
I was wrong about saying "would you even open an exe if the game was good?".
if the game is "good", that means it was already getting good reviews, so you already solved your problem and you are succeeded at releasing a game.
But before that, unless you can just rally a nice wave of hype and a bunch of wishlists, your game isn't going to catch people's attention just from being good, and the exe is not going to help either, especially if the first few reviews aren't a 10/10.
And I watch a lot of streamers play games, and I honestly probably try playing the same game as the streamer, if it was a web game, but if I had to download it, hell no, the streamer needs to do the dogwhistle thing where they need to tell the viewers that the game is free and they can download it at X. But if it's a web game... the viewers could probably tell just from the fact they can see the streamers browser.
>>
>>108945858
you have the attitude of a kid in 2002 playing flash games on his moms computer after school
>>
File: 1777023350883003.png (951 KB, 1419x894)
951 KB PNG
>>108945866
That would be a compliment, because I would like to go back and play more games on flashpoint, than watch streamers. Since that sounds like a better use of time.
But honestly watching streamers is more enjoyable than playing the game itself...
So many games are feel so empty.
Do you not watch any streamers?
>>
>>108945858
>I watch a lot of streamers play games
embarrassing
>>
claude just wrote a slynk client in python to interact with the running lisp game, lmao. if these things can ever reason end to end it's so fucking over.
>>
>>108945985
the only remaining challenge is architecture and minimising my involvement, i can see going "add this" "now add this" "now fix this" "now add this" creates the slop pile.
>>
>>108946008
it's taken to prefer modifying the image to keep it in sync. Can just type things into existence and the game updates now, without needing to restart
>>
>>108946023
might add a cluade prompt to the game so you can go 'move player back to 0 0', 'spawn monster near player', etc etc.
Hated AI but it feels like the first legit new thing in software for two decades
>>
>>108946034
lmao brevs we in the future, i love lisp and ai
>>
>>108945904
No, the only time I watch anyone else play video games is when it's a long form edited video. The number of people that still edit their playthroughs on Youtube can basically be counted on one hand so there's about one video a month I watch.
>>
>>108946100
boomer stuck in the 2010s
>>
>>108946108
Watching people play games is the goofiest dumbest shit possible. Like, bro, just go play the game yourself you fucking loser.
>>
>>108946146
yeah why watch a movie together with someone why not just watch it yourself
why go to dinner with someone just eat alone
>>
>>108946163
Those are different experiences lmao. It'd be like "man I'm hungry, I better go watch xxsniperjack420z on youtube eat a steak"
>>
>>108946176
streaming is a social experience where you share playing a game with another person
>>
>>108946179
It's not a social experience you parasocial retarded faggot. Sitting on a couch is a social experience.
>>
>>108946179
damn zoomers are completely cooked
>>
>>108946179
>its a social experience
Man, gen z is cooked
>>
>>108946185
You can literally talk to the streamer in chat
>>
>>108946193
>>108946194
cooked is gen z slang you clowns
>>
>>108946195
lmfao, lol, hahaha, omg, you idiot

>>108946198
Ah yes, no one ever said "cooked" before gen Z. Definitely nothing like "your goose is cooked"
>>
>>108946206
The context you're using "cooked" in is gen z slang
I'm 40
>>
>>108946213
>bringing something back means you made it
>>
>>108946222
it was never used in this context
>>
>>108946231
Yes, yes it was. Like, multiple times throughout history.
>>
>>108946250
No, "your goose is cooked" means something different
>>
>>108946100
The problem with playing games is that my face is like like this 99% of the time:
:l
It's so difficult to get any sort of emotional reaction from a game.
Then when I watch streamers, it's like a podcast, they just make me laugh, because it's not even the streamer who's funny most of the time, it's chat.
I think streaming content has diluted the quality of let's play videos, since I think game grumps used to be pretty funny.
>>
>>108946252
Oh please do tell, what is the large difference between them.
>>
>>108946252
There's literally literary examples from over 150 years ago of saying someone is cooked.
>>
guys I don't know how to feel about this argument could someone stream themselves reading it so I know what to think
>>
>>108946231
>>108946252
https://www.reddit.com/r/DragonBallZ/comments/1gykgm4/gen_z_trunks/

This is from the DBZ dub before gen z was practically alive. I could probably slog through tons of media and find a billion examples of people saying they're cooked or you're cooked. All gen z did was start using it often. It's the same thing as cap, except cap had a smaller retirement but it existed in the 90s then came back and gen z acted like it was all their unique special word.
>>
>>108946277
How about you read it, then I say funny things in the comments and then it becomes this big social experience for us?
>>
>>108946286
yes they said it but it meant something different
>>
>>108946295
Okay, what did it mean and how was it different?
>>
>>108946358
Why do you refuse to answer this question?
>>
>>108946425
Are you seriously sitting here refreshing asking me 5 times to answer your dumb off-topic question lol I don't know I don't speak zoomer
>>
>>108946431
> I don't know I don't speak zoomer
good, I'm 36. Go ahead and explain. You've made the statement twice yet have refused to explain it for over an hour.
>>
>>108946452
Yes, because I don't know
>>
retard
>>
>>108946471
You're seething extremely hard over something entirely incosequential
Go do something productive
>>
>>108946477
>seething
You're making a statement about something but refuse to back it up and explain it because it's completely bullshit.

Meanwhile, I'm hitting refresh every couple rounds if I die in CS2.
>>
>>108946492
I can't explain it becuase I literally do not know what zoomers mean when they call something "cooked"
There's nothing else to say
>>
>>108946496
...so you're saying it's different but also don't know what it means to even be able to make that statement? Lmao.
>>
>>108946508
If I don't know what it means then it means it's different from the meaning that I already know, genius
>>
File: file.png (106 KB, 1530x753)
106 KB PNG
>>108942375
Get in the beta and use Jai, white man.
>>
>>108946532
>language that uses semicolons in 2026
>>
>>108946519
...No, it means you're retarded because there's only one meaning lmao.
>>
>>108946557
if that was the case i would understand what they meant
this is a really dumb argument
>>
Imagine admitting that you don't know what something means, especially something as basic as 'cooked'.
>>
>>108946583
i dont talk to zoomers outside of 4chan
>>
Imagine admitting that you have no social life outside of 4chan.
>>
>>108946599
why would I hang out with people half my age?
>>
>>108946605
You do know some zoomers are like 32 now right?
>>
>>108946610
zoomers are under 30
>>
>>108946611
Nope lmao, the current cutoff is 96 but that's bullshit. It used to be 93/94 which made way more sense but for some reason in 2018 pew changed it to 96. Either one would make zoomers in their 30s if only on the cusp.
>>
>>108946619
go find something else to rage about that isn't me not knowing your stupid slang
>>
>>108946622
>rage about
You're over thinking it. Which is surprising because you barely seem capable of thought.
>>
>>108946633
You've been shitting up this thread for hours with your ongoing tantrum about nothing
>>
>>108946634
>tantrum
>hours
>>
so how 'bout dem games?
>>
>>108947586
Right after the engine is done
>>
>>108947586
These things, they take time.
>>
>>108948161
"These things take time!" - Sora Kingdomhearts, 2019
>>
File: 1778806559577332.png (1.25 MB, 1804x1660)
1.25 MB PNG
TheCherno is starting a new game engine series that will make heavy use of AI to write code "like he would've written"

Your thoughts?
>>
Are geometry shaders still dogshit in the year of our emperor Reiwa 8?
>>
>>108948781
>Your thoughts?
Always hated that fag
>>
>>108948781
games/game engines are like the worst case scenario for ai (ai is best with a limited context window where it doesn't need to know anything other than like the 200 lines around it so i can do it in an isolated way, global state is like the worst possible thing for it)
but if you use it well and you are still architecting things and just using it to fill in the blanks it's fine.

Someone whose made engines before and knows about them will use it very differently than new people. Really bad idea for new people to rely on it past like asking questions or those really contained uses i mentioned.
>>
>>108948799
Why would you use geometry shaders in the age of mesh shaders?
>>
>>108948781
His job is making youtube videos not making games, there are no games made with his game engine. Of course he needs to make videos about the latest hot thing.

>>108948867
Contexts are pretty big now. Pretty sure Opus 1M can hold the entirety of his project in memory lol. Even for actually large projects you can use AI to great effect with a lot of documents (also generated by AI) that help them load exactly what's relevant and do work in small chunks.
>>
>>108949372
you have no idea what you are talking about something saying they have "1m" of context doesn't mean it can understand that.
If you use them at all it is extremely obvious.

How LLMs work in principle are given some set of data, transform it into another set of data. The more data that isn't relevant that you include lowers the probability the output is what you actually want.
Being able to include 1m tokens of irrelevant data doesn't mean the output would be better.

Having an issue where you have say 100 lines of code as all you need for context means the probability you get good output is approaching 100%.

If it needs to read all over your code and be aware of a bunch of stuff at once that isn't directly relevant in order to write something just definitionally it's going to be far less likely to actually produce what you want.

Just because you have 1m context doesn't mean you should fill it with garbage and expect to get anything good out of it, realistically for how ai coding works that will primarily be filled with unrelated information like previous chat history or previous changes.

There is almost no situation in which actually using 1m of context actually makes sense or is something you should do unless you are just looking for some like project wide analysis, which even then it's probably better to use multiple smaller context requests that look into things more specifically.

There are obviously strategies to have restrict focused context for certain kind of requests, but because of how games in particular work where you are working with actual memory, caches, GPU stuff, synchronization and a bunch of stuff all over not all of which is even represented in the code (different paths for different hardware for example) any actual engine wide stuff just by definition will require it include a bunch of irrelevant context, so the output will just be worse.

If you are doing some functional back end w/ pure functions that just isn't the case.
>>
>>108949443
That's why you also have a lot of tests so the agent can iterate changes when it fucks things up. I have a system where it can manually progress ticks as fast as possible with an input replay and compare screenshots at key frames for different pixels.
>>
>>108949443
>but because of how games in particular work where you are working with actual memory, caches, GPU stuff, synchronization and a bunch of stuff all over not all of which is even represented in the code (different paths for different hardware for example)
I don't know about AI but I don't think you know a lot about game engines
>>
can i get a leak of the latest jai compiler version anons?
>>
File: dj2.mp4 (3.71 MB, 1504x1600)
3.71 MB
3.71 MB MP4
Dijkstra map debug view for pathfinding
>>
>>108946286
gen z are retarded, they think they invented the cool S
>>
>>108935817
Powered by AI
>>
File: IMG_2343-scaled.jpg (594 KB, 2560x1920)
594 KB JPG
Anyone has experience with making far away fog effect that don't look like shit?
I have a 8x8km map with mountains & valley, and I'm trying to get the effect in pic related - but just toying with Unity's built-in fog settings I can't find a way to make it to both look nice and be clearly visible without fucking up visibility too much.
Do I just suck at art and need to tweak those settings some more, do I have to implement full fucking atmospheric scattering for this, or is there some custom fog formula I need to implement as post-processing?
>>
>>108949682
>Powered by AI
nope. ive never used AI. that style is so easy to achieve that if you have eyes and can't figure it out then you're probably stupid.
>>
>>108949558
There's a new one?
>>
>>108949558
>>108950180
Actually more interesting would be the damn email to ask for access. It was posted on the Jai subreddit but redditor faggots immediately deleted it because "UR NO SUPPOSED TO POST IT".

I don't have time to go on some wild goose chase trying to find the email, I'll just keep using the leak until I happen upon it and request access.
>>
File: 1483297756504.jpg (29 KB, 604x453)
29 KB JPG
>>108943005
>exaggerated terminology
>capital letter on each word
>random all CAPS on some word
>>
Fuck redditard jan jans, gave me a ban for speaking my mind
>>
>>108951563
>imagine posting on leddit in year of our lord 932 + 1045 + 49
couldn't be me
>>
>>108951781
>the numbers add up
we're both wasting time
>>
>>108936451
MoltenVK is fine, but be aware that it supports a restricted subset of Vulkan, so if you just develop for Windows first and then later want to support macOS, you might find you've used features that MoltenVK can't support. SDL_GPU on the other hand, being designed to be fully cross-platform, will only let you write code that can be converted into Vulkan, Direct3D, and Metal. For example, Vulkan supports geometry shaders. Metal does not. If you create a rendering pipeline using geometry shaders, you'll be fucked; on the other hand, SDL_GPU does not support geometry shaders and locks you into the modern approach of vertex shaders, fragment shaders, and compute shaders for everything else, which is compatible with all modern APIs.

With that in mind, I'd say that if you're going for macOS support from the beginning (or developing on a Mac), you can do either one, but if you're developing on Windows or Linux and just want to include macOS support without actively making sure your program works on it regularly, then you should use SDL_GPU.
>>
>>108953122
>MoltenVK is fine, but be aware that it supports a restricted subset of Vulkan
No, it supports pretty much everything except for vendor-specific things that would require a fall back option anyways.

>geometry shaders
Well supports everything except for dumb outdated shit you should not be using
>>
https://www.youtube.com/watch?v=H29dADzyuQo
I very much liked this game, but damn the non-Euclidean shapes Godot devs contort themselves into trying to implement basic shit kek
>>
File: 1659398016486194.png (30 KB, 1282x992)
30 KB PNG
>>108949604
I knew ive seen something like this before
timestamped: August 2, 2022
>>
>>108954918
not me, but i have posted something very similar with the same sprites years ago.
>>
>>108954903
>non-Euclidean shapes
You use that word like you don't know what it means.
>>
>>108946146
>he never sat around the television with his siblings, cousins or friends watching the oldest one get to the end of the World Circuit in Tyson's Punch-Out
>>
>>108949781
let me start with
t. non-gamedev
the way I see it, it's a depth map from camera's perspective or player's perspective, to that pass you apply a de-saturation, blue/sky color tint and probably a blur filter
>>
>>108955382
You use that language like you don't know it.

Would you find it harder to contort yourself into a square or into a triangle whose angles do not sum up to 180?
>>
File: lighting1.png (844 KB, 1018x711)
844 KB PNG
>>108954918
>>108949604
RTX on
>>
>>108949781
This is why you make your own game engine. If this was your own engine you could have experimented with a Beer-Lambert fog (if Unity already doesn't use it and playing around with blend modes.
>>
>>108955429
There's also a height component that's important for the mountain landscape aesthetic. Never desaturate as a standalone operation, rather it should be color mixing with grayish fog color.
>>
>>108955888
...woah
is this your roguelike?
>>
>>108956069
I simply made a quick level as a lookalike with my overengineered lighting. You wouldn't be able to guess the game from that.
>>
>>108950214
>>108950180
there is 2.029 or something
also you can find the email pretty easily on google
>>
>>108955960
>This is why you make your own game engine.
It's trivial to add new fog types to commercial engines, Anon.
That's like saying people need to make their own car if they want to change how much the window is open.
>>
>>108944925
just give in to the vulkan
https://www.howtovulkan.com/
https://youtu.be/7bSzp-QildA
>>
>>108956335
when do you need your own engine then
>>
>>108956443
When you actually want to make an engine and making a game with it is just a tertiary objective.
>>
>>108956443
When you want to actually have fun making it instead of 3-5 years of despair and rage at the engine fighting you every step of the way.
>>
>>108956502
correct

>>108956510
wrong.
>>
>>108956443
>when do you need your own engine then
if you need to ask you don't need one
>>
what would it take for you to use another man's engine
>>
>>108956510
this
nothing is more frustrating to me then fucking with some garbage system and ui another retard made. I want my OWN retarded systems and uis, that way if I fix it it's on me.
>>
File: javelinbomb.webm (3.95 MB, 1280x720)
3.95 MB
3.95 MB WEBM
Today's top meta war crime: the javelin bomb
>>
>>108956704
Need to do something I can't just add myself in whatever engine I'm already using.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.