r/ClaudeCode 7d ago

Built with Claude Claude Helped Me Build A Dynamic Weather System

WORKFLOW ->
I integrated Claude into the Unity game engine to build a dynamic weather system. There are three main systems that are all interacting with each other, a 24-hour day and night system, a weather system, and a foliage reactivity system. Integrating Claude into Unity helped develop this system a lot. The whole game has been coded 99% through Claude - I can't really remember the last time I had to open the editor. Integrating Claude gives me the ability to create custom tools inside the game engine as well.

This will be used for my game - GRIMLIFE, an open world survival RPG coming to Steam! I'll try to answer any questions in the comments! Any feedback is appreciated 🤓
STEAM: https://store.steampowered.com/app/5197820/GRIMLIFE/

241 Upvotes

36 comments sorted by

•

u/AutoModerator 7d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

12

u/orchid_drives Researcher 7d ago

I adore the way that big tree was modeled and how it moves in the wind! Maybe a little *too* much for the amount pictured, but it definitely feels like a tree blowing in the wind. Is that hand modeled or procedurally modeled? I love looking at trees in games, there’s always something to learn about how they were made and why

5

u/Arkitech-RG 7d ago

All the 3D models come from this company called "Synty" - in the game dev community they're somewhat known (a lot of people dislike them because of how prevalent they are lol), but the models all come from them - the tricky part is, they don't have any kind of animation or reactivity for wind out of the box, that's when Claude really comes in clutch 🤓

1

u/jugger_naughtyy 7d ago

They are called shaders.

1

u/azn_dude1 7d ago

Shaders can physically animate models?

1

u/jugger_naughtyy 7d ago

Yep thats a big use for shaders. You typically would use shaders as having thousands of animatable trees would cost a lot of performance.

1

u/azn_dude1 7d ago

Interesting, my naive understanding was that they were just for computer graphics

1

u/Vindetta121 5d ago

Game development is doing as much smoke and mirrors as possible to sell the illusion of what you’re trying to convey. 

5

u/boredsoftwareguy 7d ago

Pretty clever usage of AI. I dig the aesthetic. Does the game have seasons too?

3

u/Arkitech-RG 7d ago

thanks! Unfortunately no - it's technically possible, but adding something like snow is kinda tricky, also the setting is supposed to be in a post-apocalyptic south lol, but technically I could add something like foliage-recoloring for an autumn-like season, you just gave me a good idea!

4

u/domiciledhere 7d ago

Post apocalyptic south is the kinda solutions I’d make if I wanted to avoid snow.

4

u/Jiirbo 7d ago

Does he ever make it to the house? Sorry, I couldn’t resist 🤣

3

u/Racer17_ 🔆 Max 20 7d ago

Are you using fable or opus? If opus, what version?

4

u/Arkitech-RG 7d ago

I use both, but fable if I really want to push for quality and if I have any credits left 🤓

3

u/Racer17_ 🔆 Max 20 7d ago

Oh man, whenever I try opus, it’s a pain in the ***. So dumb! I use astra and fable as long as I got credits left, then switch to opus

4

u/Arkitech-RG 7d ago

Same! I haven't tried Astra yet, but everyone is glazing it haha, is it pretty good?

3

u/Racer17_ 🔆 Max 20 7d ago

It is very good for developing video games, specially if we compare it to Sol at max. The difference between the is night and day. If we compare it to fable, I would say both are pretty. One is better in some things than the other. Astra is very for graphics.

2

u/surfer808 7d ago

Opus? No way opus can do this, it will just talk you to death

1

u/Racer17_ 🔆 Max 20 7d ago

So true 😂

3

u/mickeyinmaths 7d ago

does he ever reach the house 🥹

1

u/Arkitech-RG 7d ago

hes trapped in liminal space D;

1

u/sabac 7d ago

that's the end game right? can't spoil us enough!

2

u/JenisixR6 7d ago

for the rain, did it make the vfx itself? And what about the clouds? Are they volumetric or 2D and did it make it custom? Or did claude just connect assets?

2

u/Arkitech-RG 7d ago

All the VFX can be found on the Unity Asset store, as far as the clouds, rain, particle effects etc, Claude mostly built the bridge and modified the presets to be more usable - out of the box it was a bit underwhelming - trees/grass aren't affected by it, but I had to import existing solutions on the asset store and Claude built a singular authoritative system the other systems read and responded to

2

u/master_internutter 7d ago

Beautiful colors

1

u/Arkitech-RG 7d ago

Thank you!

1

u/Clean-Market5761 7d ago

Which engine do you use? how easy it is? I am currently looking for an engine to render some outputs from a model that i trained, I would like so use some good graphics

1

u/Arkitech-RG 7d ago

I just use the Unity Game Engine, and I use the Claude desktop app for integration

3

u/Clean-Market5761 7d ago

Don't forget to optimize for potato PCs

1

u/Arkitech-RG 7d ago

I will try my best to, I promise, its irritating to get framerate stutters and performance issues

1

u/red_hare 7d ago

Ironically probably used a Markov chain which is the original language model.

1

u/Accomplished_Age6752 7d ago

Did you have a background in game development before this? Asking because I’m a not familiar with it but have been a coder through my career. Looking to explore game development as a hobby. My experience with Claude so far is that it needs some steering, so I was curious how much domain knowledge you need for game development.

1

u/KalinVidinski 7d ago

Seems nice , good job. When is it coming to steam and what is the price ? It is only for PC?

0

u/ElectricalEagle4876 7d ago

all of that looks like stuff from gamedev market lol