devtrackers.gg logo devtrackers.gg → Barotrauma
  •  

Tweets by Undertowgames on 27 Jan


3 months ago - undertowgames - Direct link
@icoso_games If I just want to see if some part of the code is reached, I use a breakpoint or a conditional breakpoint. Also saves me from having to recompile or restart the game if it's a change that can't be handled by VS's Edit & Continue.
3 months ago - undertowgames - Direct link
@BinaryImpactG Why are you using all those extra spaces in the function calls (e.g. newTimer.Start ( this ))? Seems completely unnecessary and goes against every C# style guide I've ever seen. There's also some other issues in the snippet the IDE seems to be warning you about.
3 months ago - undertowgames - Direct link
@rocket2guns @BinaryImpactG That's an even more important point than the stylistic issues, having stepped in the coroutine pool of spaghetti back when I was getting started with Unity I would never recommend it to anyone, especially not for something like this.
3 months ago - undertowgames - Direct link
@regenerateleft @BinaryImpactG I don't think it's good to teach bad practices to beginners. I'd also argue that doesn't make it any more readable, as that's not the way brackets are used in natural language, math or anywhere really.
3 months ago - undertowgames - Direct link
@regenerateleft It teaches a habit you might have to unlearn if you ever join a project where you need to program together with others in a consistent style.
3 months ago - undertowgames - Direct link
@regenerateleft Another issue is the unnecessary use of coroutines. They can lead to problems if you start (over)using them as a go-to solution for these kinds of problems (see e.g. https://stackoverflow.com/questions/61464452/in-unity-when-should-i-use-coroutines-versus-subtracting-time-deltatime-in-upda)
3 months ago - undertowgames - Direct link
@regenerateleft The way I see it, a consistent, "standardized" style improves legibility. You're going to run into correctly formatted code (at the very least in Unity documentation or tutorials), and have to be able to read it even if you used this style of formatting in your own code.
3 months ago - undertowgames - Direct link
@regenerateleft I'm not saying coroutines should never be used, my point is that they have significant caveats one should be aware of. I've myself caused myself a lot of headaches in the past by overusing them, when there would've been simpler and less GC-heavy approaches available.
3 months ago - undertowgames - Direct link
@regenerateleft There are several suggestions in that Stack Exchange link above if you're interested.
3 months ago - undertowgames - Direct link
We've just released a small hotfix to #Barotrauma's Holiday Update: https://store.steampowered.com/news/app/602960/view/6331529188469895369. Now we're heading out of the office for our Christmas vacations - until next year! #gamedev #indiegames http://pbs.twimg.com/media/Fkbv8OLXkAE5kFX.jpg
3 months ago - undertowgames - Direct link
@DanilShel1 Dirty bombs will be given a new purpose in the upcoming faction overhaul, but we're still a bit unsure about the dementonite tools - they're pretty niche, and with so many other ways to speed up repairs, not that necessary either.
← More from Barotrauma





Recent Barotrauma Posts

Is the traitor mechanic just doomed to be unused and be usable?

3 days ago - Dynamoon

Hotfix v1.0.8.0

4 days ago - Dynamoon

bug

4 days ago - Vihis

Game randomly started freezing

5 days ago - /u/Regalis11
Get Discord notifications

Other sites

  • devtrackers.gg
  • disc.wiki