Skip to main content

Posts

Featured Post

Content Writing VS Content Marketing: How are Both Different From Each Other?

Regardless of how long the businesses have been introduced to digital marketing, it is often seen that they confuse the terms of marketing. One being content writing and the other being content marketing, brands are always confused between the two.  We get it that both have content in the beginning, so what difference does it make? Well, that, my friend, is a misconception that people often have. Because of such uninformed thoughts, businesses are making decisions that can drastically affect their returns. We may want to highlight how every decision that an entrepreneur takes is directed towards the end game. That being the returns on their investment. However, when you make wrong decisions, the chances of getting profits out of it are rare. Keeping that in mind, we have seen many businesses make the same mistakes. How, you may ask? They confuse a writer with a marketer, leading to them hiring a writer first, expecting them to bring sales without a strategy, and losing money in the...
Recent posts

Save and load from scriptable objects in Unity complete workflow

  ########################## 1. Create a scriptable object class as following and create the scriptable object in Resources folder in project directory ########################## using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Data", menuName = "Data/SaveFile", order = 1)] public class Saves : ScriptableObject {     public List<KeyValueData> savedDataList; } [System.Serializable] public struct KeyValueData {     public string key;     public string value; } ########################## 2. Read and log saved data For reading create a SaveSystem class as follows ########################## using System.Collections; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; public static class SaveSystem {     public static SavedDataSerializer LoadData()     {         string path = Appl...

Which all files and folders to backup to zip a Unity Project

  In order to be able to recreate the Unity Project from a backup zip, just remove Library and Temp folder when backing up the project to a zip file. This will significantly reduce the zip size.

FFmpeg stack two videos and merge audios

FFmpeg -i rtmp://192.168.137.1:1935/live/xyz -i rtmp://192.168.137.1:1935/live/abc -filter_complex "[0:v][1:v]vstack=inputs=2[v];[0:a][1:a]amerge=inputs=2[a]" -map "[v]" -map "[a]" -an -f flv rtmp://192.168.137.1:1935/live/qwe The above command stacks video from two streams and merges audios into one. I tried following commands before I came up with above.  ffmpeg -i rtmp://192.168.137.1:1935/live/xyz -i rtmp://192.168.137.1:1935/live/abc -filter_complex "[0:a][1:a]amix[a]" -map 0:v -map "[a]" -c:v copy -f flv rtmp://192.168.137.1:1935/live/qwe ffmpeg -i rtmp://192.168.137.1:1935/live/xyz -i rtmp://192.168.137.1:1935/live/abc -filter_complex "[0v][1v]xstack=inputs=2:layout=0_0|1920_0[stacked]" -map "[stacked]" -preset ultrafast -vcodec libx264 -tune zerolatency -an -f flv rtmp://192.168.137.1:1935/live/qwe ffmpeg -i rtmp://192.168.137.1:1935/live/xyz -i rtmp://192.168.137.1:1935/live/abc -filter_complex "[0v][1v...

Large Numbers to Words Table | Large Number Literals | Scientific Notations of Large Numbers

Big numbers represent incredibly large quantities. They are used to count things that are too numerous to keep track of with smaller units like thousands or millions. Here's a breakdown of each: Million: This is a relatively common term and signifies one thousand multiplied by itself two times (1,000,000). You might use millions to describe the population of a large city. Billion: This represents one thousand multiplied by itself three times (1,000,000,000). It's used for even larger quantities, like national budgets or global internet users. Trillion: This is one thousand multiplied by itself four times (1,000,000,000,000). Amounts in the trillions are very rare in everyday life. Following trillion, the naming system becomes less common and more standardized. Here, the naming convention relies on a base of one thousand and a suffix based on the Greek numerals for each power of one thousand. Number Literal Notation 10 1 Ten ...

Unity Mobile Game Optimization Checklist

- On Image and Text components that aren’t interacted with you can uncheck “Raycast Target” on it, as it will remove them from any Raycast calculus. - Click on your textures in your “Project” window. Click on the “Advanced” arrow, and now check “Generate Mip Maps”, Unity especially recommends it for faster texture loading time and a lower rendering time. - Set the “Shadow Cascades” to “No Cascades” (Quality settings) - If you have dynamic UI elements like a Scroll Rect with a lot of elements to visualize, a good practice is to turn off the pixel perfect check box on the canvas that contains the list and disable the items that aren’t visible on the screen. - Set all non moving objects to "Static" - Above Unity3d 2017.2 you should turn off "autoSyncTransforms" on the Physics tab - Always use Crunch Compression Low on textures - Try to keep the “Collision Detection Mode” on “Discrete” if possible, as “Dynamic” demands more performance. - You can go to the TimeManager w...