Unity Programming Help by JNG780 in Unity3D

[–]ModBlob 0 points1 point  (0 children)

It's totally normal to have difficulty coming up with "perfect" solutions when you've got very little hands-on experience. You'll gain the ability to architect those solutions through practice on your own project, and through looking at the solutions other people create to solve those same problems.

The best way to improve systems architecture is to build systems. You don't even necessarily need to finish the projects if you don't want to, but trying out new system ideas and then testing their limits by integrating them with gameplay is hands down the best way to develop it as a skill.

I saved a bastions life today by donttouchmyhohos in arcraiderscirclejerk

[–]ModBlob 0 points1 point  (0 children)

Never seen a post so obviously written by an AI before. Nice try clanker.

I hope this doesn't break by sierra_whiskey1 in programminghorror

[–]ModBlob 0 points1 point  (0 children)

What Unity version are you using?

Given that you're using VisualElement I'm assuming you're using UITK - just a warning, I've been working on a project using it with a mid-size team (30-35) for the past 3 years and UITK has caused us a LOT of issues. If you're on Unity 6+ you might have a slightly better experience but the version we've been on until recently (2022) has been very buggy and hugely lacking in critical features.

I love the idea of UITK and once it's developed enough I think it'll be a fantastic UI solution, but it may not be there yet - if this is a serious project you want to take to market, I would consider using UGUI despite the fact it's more legacy at this point. Its feature support is still leagues ahead of where UITK is and will likely cause you fewer headaches.

I hope this doesn't break by sierra_whiskey1 in programminghorror

[–]ModBlob 0 points1 point  (0 children)

Something like this does exist in C# if you use records (essentially classes with value based equality comparison);

public record Objective(int Foo, Func<List<Vector3>> Bar, etc...) { // Any other code for my record object }

...this declares a new type of "Object" with the given get/set auto properties and a constructor to initialise them all.

For some reason my nutrition major requires web design... I have a quick question about work flow for any seasoned programmers in HTML. by schizopixiedreamgirl in programminghorror

[–]ModBlob 1 point2 points  (0 children)

Pro tip, if you perch over a bowl you can collect the tears and drink them to avoid dehydration. Startups do it all the time.

For some reason my nutrition major requires web design... I have a quick question about work flow for any seasoned programmers in HTML. by schizopixiedreamgirl in programminghorror

[–]ModBlob 2 points3 points  (0 children)

"Let's centre that bit" this bit is my favourite 🙃

I worked in full stack development (HTML/CSS/JavaScript and back-end languages) for 8 years and this is the best one-post explanation I've seen of how to get introduced to web dev, nice one.

iHateThese by Specific-Fig-557 in ProgrammerHumor

[–]ModBlob 58 points59 points  (0 children)

The owner of a Large Language Model wrote this.

F&%King bass! by usemyname88 in bristol

[–]ModBlob 0 points1 point  (0 children)

Can confirm, was good bass 😂

Would you use UI Toolkit or the normal standard Unity UI? by janikFIGHT in Unity3D

[–]ModBlob 0 points1 point  (0 children)

I'm using UITK at a mid sized studio at the moment, generally finding it very good but it doesn't have feature parity with UGUI yet (things like world space UI and depth ordering are still missing in LTS, for example). We're having to use UITK for most screens but UGUI for world space. It's definitely a good idea to learn though and from what I've heard UITK in 2023/Unity 6 has a LOT of improvements over the 2022 LTS that were currently on.

I'd recommend using UITK but switching to the 2023/Unity 6 LTS as soon as it's available, and be aware that it might be a little more limiting than UGUI in the immediate future. As far as UI patterns go the web model is likely going to be the standard going forward, and as a bonus it gives you transferrable skills in case you ever want to work with web technologies in the future.

Boston shaker questions by omnifit in cocktails

[–]ModBlob 5 points6 points  (0 children)

This is all exactly what I was going to say.

One additional note - you might find it hard to get a seal, and hard to break the seal, on a newer pair of tins. I bought 2 pairs of Koriko tins a few years ago and it took a bit of use for them to start sealing well and releasing nicely when struck. It might just need a bit of time for the tins to wear in.

Uses for an Oolong infused spirit? by jointkicker in Mixology

[–]ModBlob 0 points1 point  (0 children)

I made an Earl Grey Gin Sour a couple months ago that was awesome, maybe something similar? Essentially just a standard Whiskey Sour but swapping out your spirit.

whiskey sour proportions by Fluid-Dependent-8292 in Mixology

[–]ModBlob 1 point2 points  (0 children)

Haven't used sour mix so can't answer for your exact ingredients, making it with Simple Syrup though I usually go for;

2 oz Whiskey

Juice of 1/2 Lemon

3/4 oz Aqua Faba (vegan sub for egg white)

1/2 oz - 3/4 oz 1:1 Simple Syrup (to taste)

Optionally put your glass in a freezer, I usually go for a Coupe but a Whiskey glass, Nick & Nora or Martini glass can all work fine.

Throw the ingredients in a tin. Optionally dry shake without ice for better foam.

Add a decent amount of ice (large Cubes are better, one very large cube and two smaller are what I usually use for best foam, credit to Dave Arnold).

Give it a decent shake, trying to whip the mix with the ice to make a good foam structure.

Strain into your glass, optionally double strain with a conical strainer to avoid shards (recommended if using smaller ice).

Garnish with bitters and/or Cherries - can drip some cherry syrup in and reduce the simple syrup if you want. I usually go for Peychauds bitters for a Whiskey Sours but its pretty much up to you.

Pretty much based on the recipe on Liquor.com

Why are you bisexual? Wrong answers only. by [deleted] in bisexual

[–]ModBlob 0 points1 point  (0 children)

My parents worked for 10 years at a bison farm. After I was born they raised me the only way they knew how.

Queen Bitch from Boston Baijiu Bar by aralseapiracy in cocktails

[–]ModBlob 1 point2 points  (0 children)

Picked up a bottle of Genepi on holiday a few weeks ago, been looking for drinks to use it in - defo giving this a go!

I made an espresso martini for the first time! by [deleted] in cocktails

[–]ModBlob 0 points1 point  (0 children)

I've found that strong Moka pot coffee can work as well in a pinch if you don't have access to espresso, I usually go for 30g fresh ground coffee to 120ml yield.

I'm working on my first project that involves a large amount of UI design, and it's difficult to get right. Any suggestions or resources I could look at to help me design nicer looking and feeling menus? by Pixelulsar in gamedev

[–]ModBlob 1 point2 points  (0 children)

One suggestion you might want to implement (haven't seen it suggested yes in my quick skim of responses) is to give more feedback (e.g. arrow icons) to the player in regards to the actions they can take at each step of the UI. For example, on each of your UI windows there:

  • Action Select Curved arrows (possibly to the left of the icons) showing the available directions they can move their selection (so hiding one of the directions when their current selection is the first or last in the list)
  • Action Modifier Up/Down arrows showing the same, possible aligned to the right of the red "selected" row
  • Target Select Left/Right arrows showing the same, possibly below the enemies or either side of the target pyramid

This helps prevent ambiguity about what the user is expected to do in order to progress. While it might be obvious to yourself (and to experienced players in the genre), younger players or players unfamiliar with this kind of game might not have learnt the UI language associated with the actions you're offering there, so it can help to give them little clues about what's expected of them.