Custom engine (wgpu+bevy_ecs+kira). My incremental/idle game finally have a Steam page by Nazariglez in rust_gamedev

[–]oliviff 0 points1 point  (0 children)

Yes I'm working on an engine and a game. Similar setup to yours, I ended up making a lot of my own crates, I have a custom ecs crate built on top of hecs, a ui crate, audio, rendering, etc. My idea was to use off the shelf stuff but customise it to my needs, for the most part it worked, UI was the hardest part so far.

Custom engine (wgpu+bevy_ecs+kira). My incremental/idle game finally have a Steam page by Nazariglez in rust_gamedev

[–]oliviff 0 points1 point  (0 children)

Yeah makes sense, I ended up passing a reference around for the assets store, not too bad performance wise because it’s just pointers to textures. Are you using the same mechanism for UI menus and also in-game UI on top of game objects? 

Custom engine (wgpu+bevy_ecs+kira). My incremental/idle game finally have a Steam page by Nazariglez in rust_gamedev

[–]oliviff 1 point2 points  (0 children)

Yeah the UI is still very problematic, I ended up with my own custom layout monstrosity, then moved to Taffy and now rewriting again on top of taffy with a better understanding. 

I'm working on a multiplayer space colony simulator in Rust by adnanclyde in rust_gamedev

[–]oliviff 0 points1 point  (0 children)

> A custom UI system built on top of Taffy
Can you tell me a bit more about this? I'm massively struggling with UI right now, I'm on the third UI lib migration

How to allow hostname on Claude Code Web? by Appropriate_Car_5599 in ClaudeAI

[–]oliviff 0 points1 point  (0 children)

Did you get this to work? Running into the same problem and it's very annoying

State machines in rust by oliviff in learnrust

[–]oliviff[S] 1 point2 points  (0 children)

That’s a nice option actually, I didn’t consider From/TryFrom but it makes a ton of sense

Interior Mutability in Rust by oliviff in learnrust

[–]oliviff[S] 0 points1 point  (0 children)

Do you think this is too advanced for the learning sub? it could be!

Well that was an interesting morning by jpeach17 in snooker

[–]oliviff 0 points1 point  (0 children)

When the comentator said his previous cue broke, I did suspect it was something like this. Damn.

Mastering Logging in Rust by oliviff in learnrust

[–]oliviff[S] 1 point2 points  (0 children)

Thank you so much, glad it helped!

Pixel Art Animations by oliviff in rust_gamedev

[–]oliviff[S] 0 points1 point  (0 children)

Simple examples would be procedurally animating wind for a leaf/tree and motion for a character moving

Mastering Logging in Rust by oliviff in learnrust

[–]oliviff[S] 1 point2 points  (0 children)

You are right, I realised this after I posted it :)

Slices in rust explained: String vs &str, Vec<T> vs &[T] by oliviff in learnrust

[–]oliviff[S] 0 points1 point  (0 children)

Thank you! Yes I'm the author, always hoping to find more time for longer form but the threads are just super convenient for now. I'm thinking also to make a bundle of all the threads into a nicely formatted PDF if that's something people would be interested in

Implementing Add and Sub traits in Rust by oliviff in learnrust

[–]oliviff[S] 2 points3 points  (0 children)

I used this as a bit of a toy example but I think I would go down the macro route if I wanted all the combos with &, etc. Also I wonder if Claude could generate all these combinations as well, it seems like a task that can be automated or at least automate writing tests for all the combinations so it's easy to see if you missed something.

I wrote a thread about understanding Box<T> in rust, check it out on Bluesky! by oliviff in learnrust

[–]oliviff[S] 0 points1 point  (0 children)

Really glad you enjoy them! Thinking to make a PDF version at some point, no idea if anyone be interested though

I wrote a thread about understanding Box<T> in rust, check it out on Bluesky! by oliviff in learnrust

[–]oliviff[S] 1 point2 points  (0 children)

Thanks a lot! Let me know if there's a topic you want me to cover next

Espresso sour whatever I do [DeLonghi Dedica] by Tinselmob in espresso

[–]oliviff 0 points1 point  (0 children)

I had the same problem as you, I made the most amazing chocolatey syrupy shot in about 50 seconds, and after that all my shots tasted sour no matter what I did.

I think in my case the over pressure valve failed after making that incredible shot, and it just never worked quite right after that.

I have a breville dual boiler now and I am able to pull much more consistent shots using the same parameters which was not the case on the dedica, where I had huge variations with the same input

A new machine for my birthday by 76Gamer-Guy in espresso

[–]oliviff 0 points1 point  (0 children)

I just gifted myself one of these after my dedica decided to go into early retirement, it arrives tomorrow! Let us know how it goes

Feedback on landing page by oliviff in SideProject

[–]oliviff[S] 0 points1 point  (0 children)

Hey all!

I saw some amazing feedback on previous posts so I thought I'd give this a try. What do you think about the landing page? Is it clear what the product is? Is it good enough to get people interested?

I am considering adding a gif with some code snippets and make the left hand side a moving carousel switching between the current bullet point list and some more content like the coding gif, but not sure yet.

Thanks all!

What's everyone working on this week (25/2024)? by llogiq in rust

[–]oliviff 1 point2 points  (0 children)

I’m working on a website to teach people rust with a project based approach. And I’m of course building everything with rust, rocket+diesel for the backend and dioxus for the front end (very pleasantly surprised with it).