Keep your project safe! A brief overview on how to backup Unity projects. The best ways to perform conventional backups and manage source control of Unity, including a tutorial on setting up your own self-hosted Gitea repo.
Continue readingHex tile background in Unity
A basic effect made in Shader Graph (because it’s an awesome technology that allows me to not use shader code lol). Created for Hexagone, it’s a tiled background with a scan line and a gradient effect.
Intermediate coding tips
Summary
A brief overview of some things that seemed to come up a lot in interviews and/or things I learned on the job that proved useful. Aimed at intermediate level users.
GitHub
Drawing Lines with the Mouse in Unity
Summary
A simple and cheap way to draw LineRenderers and add EdgeCollider2Ds to them using the mouse (or touch if on mobile). Highly expandable and versatile gameplay mechanic.
Created for our upcoming game Hexagone
Continue readingUnity Navigation System
Summary
A static class that handles Breadcrumbing for easy menu stacking and navigation. Easy to call/use from any input system as well as with in-game buttons.
Full script below (Creative Commons 4.0)
Continue readingCustomisable Save System
Summary
An updated Save System for Unity using simple AES encryption/obfuscation. I had previously implemented a BinaryFormatter but that turned out to be vulnerable to Insecure Deserialisation attacks so this is the updated version.
Allows for encryption and storage of a wide array of data. So long as it can be serialised, it can be saved!
Though it’s not covered in the video, the code also contains things like a custom SetPref/GetPref system, support for multiple files with different data structures, and is just generally very cool!
Universal Sound Player for Unity
Summary
A Sound Player for Unity that can be called from anywhere once placed in the scene. Especially useful for UI sounds and such, but pretty versatile beyond that as it contains settings for multiple different types of sounds (effects, dialogue, etc) and is easily expandable.
It even has some use in 3D gaming as the GetVolume aspects are still static functions. Meaning any AudioSource can modify its volume, accordingly.
Continue readingIntroducing ArmanWritesStuff!
Now introducing to ArmanWritesStuff!
This is a new brand I’m using to practice my writing skills as well as my voice acting abilities.
I’ll be reading my own short stories and perhaps the works of others, time will tell. No set genera or theme, but if you think you might be interested then why not subscribe!
Check out the subreddit here https://www.reddit.com/r/ArmanWritesS…
Steam integration with Unity – Achievements, Leaderboards, Building
Summary
Setting up Steam integration for Unity. The video goes into the basics of creating achievements and leaderboards using the Unity Steamworks package. Also covers building/uploading to Steam via the Steamworks SDK. No paid addons used.
Continue readingMaze Generator – Expandable Procedural Tile system for Unity
Description
This is my attempt at a maze generator in unity, it should be viable for any tile-based game. It takes tiles (corridors or rooms) of a fixed size and builds a customisable path from start room to end room, and then adds similar paths at random points along the chain.
Continue reading