Sponsored By

Game Dev Digest Issue #94 - Patterns, Math, and VFX

Game Dev Digest Issue #94 - Patterns, Math, and VFX. The latest from the free weekly Unity3d/gamedev newsletter.

Mike Marrone, Blogger

May 14, 2021

8 Min Read
Game Developer logo in a gray background | Game Developer

This article was originally published on GameDevDigest.com

Issue #94 - Patterns, Math, and VFX

Dig into this week's issue with some programming patterns, 3D math techniques, VFX tutorials and ton more. Enjoy!

Model View Controller Pattern for in-game UI - This article describes an approach to structuring UI in Unity. This approach is based on the Model View Controller (MVC) pattern, but it’s slightly adapted for Unity. This isn’t the only way to structure your UI, but it has worked well for all my previous Unity games.
Bronson Zgeb

Pooling WaitForSeconds in Unity - Pooling does not have to be confined to visual elements. Another classic optimization for Unity is the WaitForSeconds yield instruction. [For a great alternative, check out More Effective Coroutines [FREE]]
Paul Marsh

Creating a Discord bug-hunting leaderboard - Setting up a pipeline from in-game bug reporting to a Discord bot via a Postgres database.
sidequestninja.com

Climbing ladders mechanic in Unity 2D platformer games - Climbing ladders is quite popular in 2D platformers. This mechanic allows players to easily move their characters above and below different parts of the levels without the need to jump or fall. It introduces another layer of complexity to game environments. In this tutorial we are going to look into how we can create ladders and give our characters the ability to climb them.
pavcreations.com

Making Hearts Fly With Unity VFX Graph - Learn how to use Unity’s VFX Graph to make stunning visual effects, like a flock of flying butterflies! The VFX Graph uses simple, node-based visual logic.
raywenderlich.com

Snow in Unity - Under 60 Sec - Hey guys! So in this tutorial, you'll see a technique I use for making interactive snow. This is really useful for showing a trail behind a car or even footsteps. Of course, all under60sec. Let me know what you think!
Daniel Santalla

Tutorial: Cross Products - Today we're going to learn about cross products!
Team Dogpit

Math: line intersections - Lately a lot of my shaders have used a bit of raymarching, where I primarily rely on finding the intersections between a line (ray) and a shape. In this post I will go over the general approach for calculating these intersections and provide a list of HLSL implementations. The shapes discussed here will include planes, quadric surfaces (e.g. a sphere) and some useful combinations of them.
Kelvin van Hoorn

Per-triangle occlusion on the GPU in 1ms with Unity - This is a post about 3D rendering techniques, it requires intermediate knowledge of 3D real-time engines. [Source available on github]
alexisbacot.com

Put a Little Shake On It - Creating Camera Shake can be achieved in a few different ways. I decided to use animation to control the change in my camera’s Orthographic Size. This approach will allow me to create an animation clip that I can play every time my player takes damage. The process to achieve this result was quite simple.
claudiograssi.medium.com

Unity Arcade High Score Table - Xevious, like many arcade games, has a very basic high score table. The user has a fixed amount of time to enter their initials. The mechanism for it is to use the joystick to move the characters up and down the alphabet. Once you have the correct letter you press fire and it moves the virtual insertion point on by one.
Paul Marsh

How to run jobs using ComponentDataFromEntity in parallel - ComponentDataFromEntity is one of the most commonly used API in Unity’s Entities package (ECS). The main drawback is that once you use it in a job, you can’t run it in parallel as is. The Unity runtime won’t even allow you. It will just throw an error. You can still make it run in parallel but there are rules and I’m going to show you how in this post.
Coffee Brain Games

Show us your game developing skills and may the stream be with you! - We’re calling every small and mid-size game developer! Show off your games and win a 5,000 EUR worth product placement campaign with us. It doesn’t matter how popular your game is - the most important thing is the fun and creative side!
inSTREAMLY

Unity 2021.2.0 Alpha 17 - Unity 2021.2.0 Alpha 17 has been released.
Unity

Videos

Dissolving Ground Trail Effect in Unity using Shader Graph
Dissolving Ground Trail Effect in Unity using Shader Graph - An overview of a dissolving effect along a trail of particles, using particle system and shader graph
AE Tuts

Basics of Mipmaps in Unity Part 1! Import Settings and Custom Mipmaps! | Game Dev Tutorial - Mipmaps are scaled down versions of textures Unity generates and draws when a texture takes up a small area on the screen. This saves memory and looks better to boot! In this video, I go over Unity's mipmap generation settings and show how to create custom mipmaps. I also quickly demonstrate a cool trick Nintendo used to make Mario Sunshine's water!
Ned Makes Games

How To Create Unique Space Effects Using Incompatible Materials - Mini Unity Tutorial - In this Mini Unity Tutorial we learn how to create cool space effects which could be used for various things.
Jimmy Vegas

Creating a RADIAL PROGRESS BAR (Unity UI Tutorial) - Today we'll create a Unity UI circle or radial indicator to show the progress of our button press! I'll show you how to design the UI, write the C# code and put it altogether.
SpeedTutor

How to Edit a Game Trailer - 3 Part Outline - How to edit a game trailer at the most fundamental level? Use this high level outline.
Derek Lieu

Assets

Mega Bundle Sale! Mega Bundles to chart your course
Mega Bundle Sale! Mega Bundles to chart your course - Save up to 95% on level-design assets to chart your course, create vast environments, and stylize your storytelling.

$14.99 Bundle - save up to 76%
This bundle contains: Loading Screen StudioSwarm Of BatsUmbra Boundary Builder, and Runtime Transform Gizmos.

$29.99 Bundle - save up to 83%
This bundle contains everything from the $14.99 bundle, plus Dungeon MakerFog Volume 3Jujube Map Editor | 3D Level DesignerVertPaint, and Simple Waypoint System.

$39.99 Bundle - save up to 95%
This bundle contains everything from the $14.99 and $29.99 bundles, plus Grabbit - Editor Physics TransformsTerraWorld - Automated Level DesignerMesh Deformation Full CollectionAsset Usage FinderMedieval Village EnvironmentImpostors - Runtime OptimizationAdvanced Terrain GrassFullscreen EditorMantis LOD Editor - Professional EditionSci-Fi EffectsTechnie Collider CreatorTileWorldCreatoruContext ProTask Atlas, and DreamOS - Complete OS UI.
Unity

AbcConsole - Mobile-friendly debug console! It is simple, but has all the necessary elements. Check and copy logs generated on the actual machine. You can define your own debug methods, and enter and execute them. You only need to enter a few characters of the method name, and you can comfortably use AUTOCOMPLETE to enter the name!!
kyubuns Open Source

AutomaticDynamicBone - A plugin that can automatically generate hair and skirts with physical bone.
OneYoungMean Open Source

Unity SerializeReferenceExtensions - Provide popup to specify the type of the field serialized by the [SerializeReference] attribute in the inspector.
mackysoft Open Source

Unity Layout Element Extended - An extension of Unity's LayoutElement script that enables more flexible adaptation. With this you can now match another RecTransform's dimensions (width, height, or both) and now set maximum preferred values.
QuantumCalzone Open Source

Particle System Color Changer [FREE] - If you have ever used Unity's Particle System then you know the pain of going into all child particle systems to change their start color to a new one! The end of this pain came! Use Particle System Color Changer to change the color of all children with only 1 single click!
The Developer Affiliate

Material Maker - Material Maker is a procedural materials authoring and 3D model painting tool, based on the Godot Engine. Materials and brushes are defined as graphs where nodes create or transform textures, and can be exported for the Godot, Unity and Unreal game engines. [Read about their new update on GameFromScratch]
Material Maker

Tag Processros - Auto compile-time support for Unity Animation Parameters. [Read about it on Paul Marsh's blog]
Paul Marsh Open Source

HUMBLE SOFTWARE BUNDLE: ROYALTY-FREE RPG GAME DEVELOPMENT ASSETS - Creating an RPG but don’t have a deft hand at art assets? Not everyone can be an artist or visual designer. Not to worry, thanks to GameDev Market and the RPG Game Dev bundle you’ll gain access to thousands of assets like Omega Modern Graphics Pack, RPG Game 1700+ Icons, Medieval Fantasy Characters, and Customisable Pixel Art Character Kit to help add some spark to your creations! Plus, your purchase helps support Child’s Play, AbleGamers, and our May Charity of the Month, Active Minds!

$436 WORTH OF AWESOME STUFF
PAY $1 OR MORE
Humble Bundle Affiliate

Spotlight

Farewell North
Farewell North - Restore color to an island lost to time.

Restore color to a dark and desolate archipelago in Farewell North, an open world adventure where you play as a collie traveling a chain of foreboding islands alongside your human companion. Explore at your own pace to restore color, while uncovering a unique story about saying farewell.
Farewell North

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.

Read more about:

Featured Blogs
Daily news, dev blogs, and stories from Game Developer straight to your inbox

You May Also Like