Issue #30 — Cheatsheets & Checklists, Perf & A11y, Sprites, 2D Shadergraph, Free Effects, Plus More
A ton of great content this week. If you want some comprehensive and simple to follow guides on improving different aspects of your game there are posts from The Game Dev Guru for you on performance, and RayWenderlich.com for accessibility.
If you love the graphics side of things, this week was heavy on the 2D shaders, shadergraph and effects. Check out the open-source assets near the bottom too.
On top of all that, there are some great courses and tutorials on everything from AI, to creating an FPS, to procedural content, and more.
Improving Accessibility in Unity Games — Part 1 — Take your games to the next level with support for a range of accessibility options. Help deal with subtitles, color blindness, audio controls and more!
Checklist for a Top-Performing Game in 2020+ — In this post you’ll get access to a Unity Performance Checklist to:
✓ Improve your CPU performance
✓ Reduce the GPU load
✓ Decrease memory usage, loading times and build sizes
The Gamedev Guru
Cheat sheet for Unity — One-click to view all Unity keyboard shortcuts. Newly added to CheatKeys!
Managing credentials at Unity — As part of our Secure Software Development Life Cycle (SSDLC) at Unity, we’d like to share our credential management strategy. Managing tokens, keys, and credentials in code, otherwise known as secrets, can be a daunting process.
Allocating Memory Within a Job: Part 2 — Last week’s article came to the conclusion that allocating Temp memory from within a job was safe. This week we’ll look into that a little deeper to find out that it might not be as safe as it looks!
Digging into Terrain Paint Holes in Unity 2019.3 — Unity 2019.3 continues to bring more exciting updates to Unity’s Terrain system, including — by popular demand — the ability to create holes in your Terrain!
Build your own first-person shooter in Unity — Build Your Own First-Person Shooter in Unity leads you step-by-step through the process of making the game Zombie Panic — a frenetic battle for survival inside a castle heaving with the undead. Available as a free PDF download.
Learn to create AI in Unity ML using Deep Reinforcement Learning. — This course is a series of articles where you’ll learn to implement reinforcement learning agents on Unity. You’ll build a strong professional portfolio by implementing awesome agents with Tensorflow that learn to play video games!
Unity Multiplayer: Nearby Connection Bible — We’re now going to talk about the first of the third party API handling the zero conf connections. Part of the series “Multiplayer Unity Games with Zeroconf networking”.
Behind the Lost Crypt: Art in our new 2D Sample project — We’ve recently hosted a webinar about our new 2D sample project, Lost Crypt. Huge thanks to all of you who joined and contributed to a great discussion about all things 2D! Many of your questions were about art creation and the integration between tools like Photoshop and Unity. You can watch the webinar recording and read their answers below.
Photoshop layers to Unity Sprites — Wow just learned that you can save ur image as a .psb which automatically separates your layers into sprites when you import the image into unity :-0
jenny jiao hsia
Toon-shader that dithers behind objects — How I made a dithering toon-shader!
Dissolve Shader Breakdown — This shader effect uses noise and step functions to discard pixels (and for colouring edges) to create a dissolve effect. We can also have the dissolve based off other values, such as the fragment/pixel position to dissolve across the Y axis of the mesh for example. I’m also using a view space position based UVs to avoid seams in the noise.
Shader Graph Normal Calculation — In my last tutorial, I went over the basics of manipulating vertices in both vertex and geometry shaders. If you remember, the challenge that kept arising was how to deal with normals. Especially shader graph normals. I had some solutions, but they weren’t as robust as I might like. Today we’ll explore how to fix normals, and how not fixing them can affect your lighting.
Game Dev Bill
2D Sprite Overlay Effects — The idea is to use soft sprites in a separate layer to fake lighting. There are other ways to make nicer lighting, but this is a really simple setup so I wanted to share :)
Baked Light Light Maps and Probes — This is the fifth part of a tutorial series about creating a custom scriptable render pipeline. It makes it possible to bake static lighting into maps and probes.
Camera Shake — You will learn to write a script to simulate camera shake. You will use Perlin noise to control the frequency and magnitude of the shake effect.
MeshGraphic.cs — Did you know that by extending UI.MaskableGraphic, you can draw arbitrary meshes in Unity3d UI? I’ve put together a simple ‘MeshGraphic’ implementation here.
PrefabDataCleaner — Made a tool for purging prefab instance data that has been left behind by field renames etc. Check your prefabs for bloat.
SerializeReference — My new favourite feature from Unity 2019.3 is the new attribute [SerializeReference]. You can use this to serialize interfaces!
Juan Francisco Mora
InspectorName — You can use the “InspectorName” Attribute to change how an enum displays as inside the inspector! (2019.2+).
C# Coding Standards — Here is a partial list of the C# coding standards my team uses and advocates. Most of these are industry-wide conventions and thus using them will ensure that your code is easily readable by people who are not you.
Vulkan Support for Oculus Quest in Unity (Experimental) — We are very excited to announce Vulkan support for Oculus Quest in Unity! In an effort to provide our developers with the latest advances quickly, Vulkan support is available in Unity 2019.3 in an experimental state.
Unity 2020.1.0 Alpha 22 — Unity 2020.1.0 Alpha 22 has been released.
Lost Crypt: Explore Unity’s new 2D features — Webinar recording: Global evangelist Andy Touch explains how we used 2D lights, shaders, and post-processing in our new 2D sample project Lost Crypt. Get the project & learn more about our suite of 2D tools.
Splatters Effects in Unity — Learn how to add impact splatters to your game!
Monetize your games | Integrating Unity Ads into a Project — In this video you will learn how to integrate relevant ads natively into your game experience while maximizing revenue. Rewarded video is more engaging than any other online advertising format. With nearly 70% of users demonstrating favorable attitudes to rewarded video, Unity reaches them at scale without negatively impacting player retention.
Dissolving Logo With Particles : Unity Tutorial — In this video you will learn how to dissolve your logo using a particle system.
2D Glowy Outline Shader Graph: EASY CODE FREE Unity Tutorial — Learn how to create 2D Glowy Outline Shader Graph using shader graph and post processing in Unity engine. This is easy tutorial for beginners in shader graph and it doesn’t contain any coding.
Unity 2D Shader Graph — Dissolve Effect Tutorial — Unity 2D Shader Graph — Dissolve / Erosion Effects Tutorial. 2D Shader Graph is so cool. Let’s see how to create a 2D Shader in the Universal Render pipeline.
Gabriel Aguiar Prod.
Endless Runner: Procedural Track Generation (Unity Tutorial) — In this video you will learn how to generate a procedurally generated random endless race track constructed from square prefab segments which connect to one another and don’t overlap. The example game is a small endless runner game made with Unity.
Entering production in HDRP from an artist point of view — I did a little talk on Unity3d HDRP during the Global Game Jam 2020 in Koblenz, hosted by @BinaryImpactG. It’ll cover some HDRP basics and some nifty tips :D
BEST OF MADE WITH UNITY #56 — Week of January 30, 2020 — Here is a list of the top content made with unity for the week of January 30, 2020.
RockTomate — Introductory Sale 30% Off (will be $65). Ends Feb 19th!
Do you want to build your game for MacOS, Linux and Windows and upload to your FTP server — all in a single click? Do you want to bake nav-meshes and lighting for all of your scenes without having to manually open them?
RockTomate can help you! It’s an editor extension that lets you create automated jobs that can be executed via GUI, C# and Batch Mode!
Every action property can be resolved through formulas. Think of them like Excel formulas, but simpler. With formulas, you can get get variable values, or even run small functions!
Full Features List:
✓ Compact and Clean UI
✓ Comes with prebuilt Jobs
✓ Run through GUI or C# API
✓ Run from CLI — hook up to your CI server!
✓ Run jobs within jobs!
✓ Create reusable variables
✓ Control flow — loops, branches etc.
✓ Easily extendible
✓ Full C# source code
✓ Responsive support!
HardCode Lab Affiliate
Asset Store: 2D Sale — Through February 16, 2020, customers can save 30% on select 2D asset store purchases. Start building your 2D game with powerful assets!
Unity Project Window Menu Customizer — Editor extension that allows you to customize the menu that appears when you right-click on Project view.
baba_s Open Source
Introducing Ninichi’s Puzzle Pack (Royalty Free Video Game Music) — Do you need some music for your puzzle game? Do you want music that’s interesting to listen to and enhances the gameplay without overwhelming it? If so, have a listen to the video game music tracks in Puzzle Pack.
ProGen — Procedural Building Generator — ProGen is a custom Unity grid system that provides functionality to create procedural buildings and it uses theme(s) (or scriptable objects) which holds parameters to define how a building should be constructed. Some parameters include how many rows, columns, floors a building should have as well as styles for walls, roofs, doors, windows, windows with or without balconies, and additional parameters.
ProGen Randomizer is also included which provides many options to randomize building generation in real-time. ProGen Editor is included to allow creating a theme and including themes in the ProGen custom editor.
Dilmer Games Affiliate
kMirrors — Planar reflections for Unity’s Universal Render Pipeline.
Kink3d Open Source
kMotion — Motion Blur for Unity’s Universal Render Pipeline. kMotion provides full object motion blur for Unity’s Universal Render Pipeline. It does this by generating a full camera and object motion vector texture, which can then be used for various temporal effects.
Kink3d Open Source
kNormals — kNormals generates a world space normals texture for Unity’s Universal Render Pipeline. It renders all opaque objects using a shader that outputs world space normals, writing them to a global texture shader variable. This texture can then be used for many screen space effects and on-GPU tools.
Kink3d Open Source
NG Tools Free — NG Tools is a package containing 23 tools to greatly improve your experience through Unity.
The Five Gods of Kung Fu — The Five Gods of Kung Fu is an action game heavily influenced by fighting game inputs.
In order to keep the land from being torn apart you will need to find and master the five ancient fighting styles and defeat the different clans who want rule over the nation.
The full game will feature (at least) 5 different fighting styles based on the Kung Fu movies of old. Animal styles like Snake, Tiger and Praying Mantis but also Drunken Kung Fu and others will feature unique mechanics that fit their style. Stances can be switched on the fly for stylish combos.
Not a game for button mashers! A unique input system using the face buttons of a gamepad for inputting motion like strings. I also incorporate ideas from fighting games which you will need to practice in order to truly master them.
You can subscribe to the free weekly newsletter on GameDevDigest.com
This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.