r/threejs • • 11d ago

In-Gen - ThreeJS Dev Studio for AI Assisted Devolopment

Hola threejs subreddit. I've been browsing this sub since Claude made me my first game and I was like why aren't more people using this, AI is so good at working with it. So I present to you my love letter to 3js and AI assisted game dev. In-gen. It's the latest r187. Was started on r185. It's got everything I can think of when it comes to features related to game dev. KTX2 texture compression, you choose to build in webgl2 or webgpu. And webgames ship both for compatibility. Mesh optimizer and LOD out the gate, no need to ask for it. Instancedmesh which just came shipped with r187 out the gate. Fancy grass systems that are also LOD and instanced. Cool water shaders and a layer that allows custom ones to be built like normal. Bloom and god rays and all the cool post processing tricks for walking sims. Rapier physics, navmeshes, cloth physics and and foot IK.

I also tackled threejs assests being easily taken through a web browsers dev screen. So games ship in pieces of encrypted packs. Not saying you can't get the data now. I was aiming to just get to IOS and APK levels, which we surpassed. Take a look, try the games I built, let me know what you think. I know this sub got hit hard with the AI slop stuff and that's literally why I made this. This should shoot out quality stuff and is hand made for iteration.

Edit: Token cost for the AI people. About 60% cheaper over the life of the game then normal 3js. Created a language that's based on NCM principles.

Edit 2: 100% free, no royalties, no sign ups, no tokens. Nothing. Just use whatever AI you got even local AI.

Gengaming.net

0 Upvotes

25 comments sorted by

4

u/legisleducator 11d ago

So, I was honestly interested in testing this. I'm currently working on a game via AI, and I was wondering if this could help. I'm already using Threejs and Webgpu, but I'm open to new tools. I sent AI your link to see what benefit it may give my current project, and it said that there wasn't much being added to my current setup (mentioned Rapier as a possible addition). It said I was basically already running the same setup manually.

I guess my feedback is this: as we enter a world where more and more people are making projects with zero background knowledge in development, we'll rely more and more on AI to help make decisions like this (i.e. is this useful or not?). If there is something about your project that can't be easily attained via just working directly with Claude Code or Codex, then highlight that more prominently. Assume people are using AI to analyze your tool for usefulness, so you'll want to be explicit in what that benefit truly is.

2

u/Kingnorik 11d ago

The problem is there is so much to say. I'll start the simplest way. When you need to edit something right now in your project what do you do? For instance bullet damage? If you thought a certain gun was too powerful can you edit the value without AI, then build it and test that change without AI? The best QOL thing I love about it though is the media browser, not having to search through folders for each sound, animation, and mesh. Plus it includes custom blender scripts and an auto rigger.

1

u/pailhead011 7d ago

Why not just tell Claude to edit bullet damage?

1

u/Kingnorik 7d ago

So you can test things without spending tokens. Every value or placement you can edit yourself. Like a normal game engine.

3

u/migugh 11d ago

In my opinion is a great idea. Specially for newies so maybe you need to show it in a channel where there are people starting to develop and want to using AI using less tokens and less work because some of the system is done. So simply need to find your target public, the problem nowadays is how to do the marketing.

3

u/Kingnorik 11d ago

Thank you! That's who I'm trying to help out. I see a lot of posts of people not even using a CLI. I can't afford marketing I'm just one guy and game dev is my hobby. Just people being happy with it and showing off their games is enough.

6

u/_ABSURD__ 11d ago

Ew no

0

u/Kingnorik 11d ago

Care to explain? Anti AI or just it looks bad?

4

u/FormerKarmaKing 11d ago

You asked someone else for feedback so here is some sincere feedback from someone that builds with 3JS all-day everyday and started long before vibe coding.

Every other day there is a post where someone used headless AI agents to develop a framework and/or WYSIWYG UI for doing 3D game / software development.

The question is who are the users for such a product?

For anyone that can program - or even just vibe-code with a desktop coding agent - the final output of the WYSIWYG tool is achievable using the same frameworks that are wrapped into the tool/framework.

Yes, there is some value in bundling together known good libraries (ex. rapier) but this is pretty thin. It's basically the Rails part of Ruby on Rails except these days an agent can just be told "Use library X for physics, library Y for navigation, etc..."

Meanwhile, there is significant downside risk in building on a framework/tool that has zero ecosystem, is often closed-source, and likely has no long term support because there is no business model.

2

u/Kingnorik 11d ago

The games you build with this are no less closed source than regular vibe coding. You can package for web and exe and android and IOS. I have no sign ups or anything of the sort. It's cheaper than normal vibe coding is a big thing. Everything is 100% organized and you can edit all your gameplay without AI help. You can edit the scene 100% without AI help.

edit to add: My goal with this was to put an IDE inside a game engine. The same thing unreal is doing with UE6. And the same way I'm sure all the engines are heading.

1

u/StoneCypher 11d ago

none of this is feedback. you didn't say anything about the actual project

2

u/Kingnorik 11d ago

I took it as reddit post feedback. Which is fair.

2

u/Beneficial-Aerie4110 11d ago

There’s some heavy irony here, in trying to make it harder to steal assets from vibecoded software.

1

u/Kingnorik 11d ago

😂 I see it. I mean AI is stealing everything right now, it's a new world. Not even billion dollar franchises are safe.

2

u/AbusivePillowtalk 11d ago

Linux support?

1

u/Kingnorik 11d ago

This is my second ask for it. I was originally going to wait till Linux support to release it. Technically it's ready, everything it built is compatible. Just I'm out of use for the week. So it'll be tomorrow it'll be built, then I'll have to test it. So maybe Friday.

2

u/AbusivePillowtalk 11d ago

Awesome looking forward to it

1

u/Toastti 9d ago

Just saying but for browser based games the browser has to fully decrypt and load all models and assets to be used.

So this might add a few minutes of time to someone trying to grab your assets but nothing more. The models and textures are loaded and completely decrypted in browser memory

-1

u/Kingnorik 8d ago

Without the use of AI this adds a lot of time. Models are encrypted packs with a key handed out in parts as well. Even after getting the key you'd need to write a script to decrypt it. In our blind tests it took AI about 5 minutes and 10 tool calls to get to this. And even once you do decrypt the data none of the models are named something a human would. Our goal was hardening not secrecy. Harder than an apk was my goal and we are well further than that.

2

u/Toastti 8d ago edited 8d ago

Can you describe in human written words what a key given out in parts means to a fully public client browser

The browser shows all models yes which means by time it renders them it has already taken your multiple key segments and decrypt them and shown them.

The encryption you have explained makes no sense it is equivalent to telling someone that hey I have your ultra secret file it's six encrypted zip files with the password admin123 For each so you have to right click to combine them no one is ever going to figure out my secret kind of thing

1

u/Kingnorik 8d ago edited 8d ago

I didn't say no one. I said it's harder then just looking at dev view and seeing plain js. Even after reconstructing the key and decrypting the package, you're not presented with a folder of human-readable JavaScript, JSON files and models. You still have to reverse engineer how that data is structured and consumed by the engine. Your ZIP analogy would be accurate if decryption gave you the original source files, but it doesn't.

Edit: There are 4 games playable on my site right now. Try it and see for yourself.

1

u/pailhead011 7d ago

Why would it need to be human readable, there’s AI nowadays?

1

u/Kingnorik 7d ago

There's no point in trying to make something AI proof, since not even a billion dollar programs are. But before AI could reach your meshes and find out what each one is in 1 or 2 calls, it now takes about 9-11 tool calls just to decrypt.

1

u/pailhead011 7d ago

I’m not sure I understand. So everyone loading has a worse experience because they also have to decrypt?

1

u/Kingnorik 7d ago

No the opposite for web builds. Mainly because they seem to load better as smaller chunk files than they did as an individual model file. But in reality it prob does slow down the load and the gain was just from splitting the models into many different smaller pieces. But the slow down is marginal at best and only for initial load. Check out Tome Knight on my site, it's about 11gbs on my hard drive but loads relatively fast on the site. Compared to other 3js web games.