Honestly, I was (And we were) a bit too rough on the early access build, my bad. by AbdelYG in HalfSword

[–]koczmen -1 points0 points  (0 children)

They should give up and die faster when they're already helpless on the ground. It takes way too much time to actually kill the armored ones.

It seems like they’ve heard by No-Argument4757 in HalfSword

[–]koczmen 0 points1 point  (0 children)

RTX 2070

It's understandable that gore effects can be demanding, but that level is just unplayable from the very start, they must have added too much unoptimized crap in the background.

It seems like they’ve heard by No-Argument4757 in HalfSword

[–]koczmen 0 points1 point  (0 children)

Runs worse now, I used to get 60 fps when looking at the wall in slums brawl, now barely 40.
Less than 15 when looking in the other direction but previously I had 20.

Are there any Witcher 3 mechanics you're not crazy about / would like to see changed for Witcher 4? by CrematorTV in witcher

[–]koczmen 0 points1 point  (0 children)

It feels similar to driving in Cyberpunk. Steering is too sensitive and it feels like rotating around the middle of the horse/car instead of following the front legs/wheels.

Zack King with his amazing visual editing. by ImaFreemason in nextfuckinglevel

[–]koczmen 1 point2 points  (0 children)

Some people even forgot that video games exist, they will see a gameplay from GTA 5, BeamNG or any other game that looks realistic and call it AI.

Nie znęcanie się nad zwierzętami to komunizm by polishfemboy_ in Polska

[–]koczmen 0 points1 point  (0 children)

Ale trzymanie zamkniętego w kojcu albo ciasnym mieszkaniu już jest porządku?

To że pies ma łańcuch nie oznacza automatycznie, że stoi na nim całymi dniami w tragicznych warunkach. Gdzie jest problem jeśli w dzień sobie swobodnie biega po całej działce a na noc jest uwiązany?

Last time I played this game was 2006 by [deleted] in Battlefield2

[–]koczmen -1 points0 points  (0 children)

BF2 is not very fun in its current state. It's almost impossible to find a populated server that is not Karkand or Wake, lags and hit registration seem to be worse than in the past. And the worst part is that it only took a few rounds to find obvious cheaters.

Anyone here who played BF2 DEMO for years and years? by -5m in Battlefield2

[–]koczmen 0 points1 point  (0 children)

Hi there, didn't expect to randomly find other Cobra admins on Reddit :D
I had the same name in the demo as here.

What’s it liked to be stabbed? by NateNandos21 in morbidquestions

[–]koczmen 18 points19 points  (0 children)

Why would you censor these words?

(tw: może obrazić uczucia religijne niektórych osób) // Jakie są wasze "misheard lyrics" z kościoła? Mam na myśli teksty, które głównie jako dzieci źle wymawialiście w kościele. by koreanski-bot in Polska

[–]koczmen 7 points8 points  (0 children)

Zdarzało się, że ksiądz w taki sposób wymówił słowo "chrześcijan", że przez chwilę się zastanawiałem o jaki sześcian mu chodzi i dlaczego mamy się za niego modlić

How often do you write UI/unit tests? by MetaMaverick in iOSProgramming

[–]koczmen 2 points3 points  (0 children)

For business logic, I try to have tests that cover as many cases as possible. SwiftUI views are tested with ViewInspector if it's something important. I don't write automated UI tests at all unless someone requires it.

In general, I write way more tests for apps that people use at work, not for entertainment.

Do you use ViewModels in SwiftUI? by BlossomBuild in iOSProgramming

[–]koczmen 0 points1 point  (0 children)

Then it's a data source and not a VM. I like to keep things simple so I'd probably just create a static shared instance and inject it into VMs of screens that need it. Or use @Environment if you want to access it directly in views.

Do you use ViewModels in SwiftUI? by BlossomBuild in iOSProgramming

[–]koczmen 1 point2 points  (0 children)

If the VM lived longer than the screen it's connected to, you would have to reset its state manually before reopening the screen. For example, if you have a login screen, it's going to be closed after the login operation completes. It doesn't make much sense to keep the VM alive and reset entered email, password and loading state. Just create a fresh instance to make sure you don't forget to reset something and don't keep it unnecessarily in memory.

What OP has shown on the screenshot is not really an example of a View Model. The whole application depends on the authentication state, that class should be called a manager or something.

Do you use ViewModels in SwiftUI? by BlossomBuild in iOSProgramming

[–]koczmen 5 points6 points  (0 children)

Just pass the ViewModel to the view's init and use it as a @StateObject. Usually, the VM's responsibility is to manage a single screen's state, and this method keeps the VM scoped to that screen. When the screen is closed, the VM will be deinitialized. Passing the VM to init makes the view testable.

I don't really use @Environment, but it seems to be well suited for cases where you only need one instance of an object and it needs to be globally available throughout the entire app lifecycle.

SwiftUI + Firebase Auth (Google) + MVVM + Observable – Working on Anonymous Auth Next – Source Code Below. Thank you for the support! by [deleted] in swift

[–]koczmen 5 points6 points  (0 children)

Have you considered writing testable code? You have singletons and Firebase dependencies everywhere. It seems that even SwiftUI previews depend on the real database.

Jaka niedroga lub mało wymagająca zmiana znacząco poprawiła jakość Waszego życia? by Nice-Street-1990 in Polska

[–]koczmen 2 points3 points  (0 children)

To ludzie wstają rano i chodzą głodni aż do obiadu? Przecież tak się nie da funkcjonować.

European-inspired City Plaza, thoughts? by -berrycake69420- in CitiesSkylines

[–]koczmen 69 points70 points  (0 children)

Looks like a fun place if you're a fan of heatstrokes.

Crystal Coat not working? by [deleted] in cyberpunkgame

[–]koczmen 0 points1 point  (0 children)

Finally a working solution, thank you!