Hello 2019! Happy New Year to the amazing gamedev community. Here's a great way to start the year. Sit back and have a moment to enjoy this weeks curated #UnityTips from the awesome gamedevs on Twitter.
As always, be sure to give the sharer of your favorite UnityTip a shout out on social media.
clearing up the last of my requests someone needed to know how to raycast in 2D? The important thing to remember is that Ray stays the same it doesn't need to be a ray 2D to work as long as the hit is physics raycast as 2D. #unity3d #unitytips pic.twitter.com/3JlrQtJcve— RKSlither_YT (@RKSlither_YT) December 16, 2018
Unity 3D AudioSources: use logarithmic rolloff. Volume then actually attenuates inversely to distance, as does sound pressure -> minDistance is your loudness on a linear scale.— Niko Stenberg (@niko_stenberg) December 17, 2018
0.25=speech, 2=lawn mower, 16=jackhammer. You're welcome.#gamedev #unity3d #unitytips
For those who are using the Tile Palette, when you want to delete a larger area of tiles hold CTRL and drag the mouse, it will make the eraser bigger. #unitytips #Unity2DChallenge #indiedev pic.twitter.com/S71zkOhdia— Eduard Constantin (@_Eduard26) December 18, 2018
#gameaudiotips #unitytips— Damion (@DamionSheppard) December 18, 2018
If your game isn't first person, get your Audio Listener off the CHARACTER
You will probably need to tweak, but the CAMERA is a better starting point
Put your ears where your eyes are, just a like a hooman
Try and catch is super useful. You write what you want to do in try, if it hits an error it goes to the code in Catch and executes that. Though you could also write it differently I find this way more readable. #unitytips pic.twitter.com/mQTYEkIVLD— Shahriar Shahrabi (@IRCSS) December 18, 2018
The suspension force in a vehicle is related to its mass and acceleration, but not necessarily to the weight or gravity. In these three cases (g=-9.81, g=0, g=unknown) the suspension may be experiencing the same "weight", thus applying the same suspension force. #unitytips pic.twitter.com/qE8euPrrRw— Vehicle Physics (@VehiclePhysics) December 18, 2018
To make sure that everything fits in camera’s view you can simply calculate a frustum slice at any distance and use DrawWireCube with z=0 to see it the Scene Viewhttps://t.co/lZr4f71jMW#unitytips #gamedev #indiedev pic.twitter.com/OdFKtJonCx— Room of Snakes🐍 (@roomofsnakes) December 18, 2018
You'll have a much easier time managing pixel perfect sprites in #unity by using top-left sprite anchors. It might seem convenient in some scenarios to use center, but you'll likely run into half-pixel scaling issues or other headaches. #unitytips #gamedev #halfpixelsarentreal— babyjeans (@babyj3ans) December 26, 2018
Rucksack is the most flexible and extensible inventory solution with UNet support that enables you to easily setup player inventories, NPC inventories, banks, premium shops and much more!
Odin puts your Unity workflow on steroids, making it easy to build powerful user-friendly editors for you and your entire team.
With an effortless integration that deploys perfectly into pre-existing workflows, Odin allows you to serialize anything and enjoy Unity with 80+ new inspector attributes, no boilerplate code and so much more!
Prior to Devdog, I ran an online games industry news media for and about Nordic game developers for nearly two years.
During that time, I often reached out to new game developers directly, apart from interviewing the ones who sent a press release directly to me.
A few weeks ago, we bought a Unity Asset that really let us down.
In developing our own assets, we spend a lot of time on the Asset Store, researching the market and getting inspired.
Item Collections in Inventory Pro are powerful collections that can contain items, stack, unstack, merge items and much, much more.
As we'll soon see, however, these features aren't only useful when creating a traditional RPG inventory system, but can be used in many aspects of your game.
We're a developer and publisher of best-in-class tools and asset for the Unity game engine. We develop and sell but also publish products like Odin for talented developers and artists around the world.