Sahab Masrour

Sahab Masrour

Lessons Learned: A Cautionary Tale of Game Development

Today, I want to share a personal story – a cautionary tale about a project that went wrong, highlighting the importance of clear vision, strong leadership, and a focus on the core development process. For about 2 years, I poured my heart and soul into a large-scale game project at AirinTech. We had a dream […]

Zenject: Embracing the Pains and Rewards of Game Architecture

Zenject pros and cons

When it comes to Zenject, a powerful framework for dependency injection in game development, it’s not surprising to find some critics voicing their concerns. I must admit, I understand where they’re coming from. Some developers dislike Zenject because of its learning curve and the initial complexity involved in setting it up. It can feel overwhelming, […]

[Video] ParrelSync: تست سریع پروژه های Multiplayer در Unity

معمولا هزینه زمانی تست پروژه های multiplayer در یونیتی بیشتر از پروژه های معمولی است. و داشتن تعداد مورد نیاز clone از آخرین بروزرسانی پروژه نیازمند گرفتن بیلد ها مکرر و اجرای آن روی سیستم های متعدد است. در این ویدیو آموزشی سعی کردم تجربه خودم در استفاده از ParrelSync در یونیتی را با شما […]

Component-based Object Pooling in Unity

Object pooling

Recently my Unity project required a generic object pool. In the past, I used more complex systems and needed to use functions like GetComponent to access the spawned object’s components. For myself, I made a mre performant one by removing the complications. This can be found in my GitHub repository A tutorial has been added […]

Develop modular NPC in Unity with FSM (Finite State Machine)

NPC development in Unity with Finite State Machine (FSM)

State Machine is one of the most used design patterns for developing AI or multi-state systems, but not the best. If your are new in game AI and NPC development, learning Finite State Machine design pattern could be a good start point. This design pattern help you to develop your simple NPCs but if you’re […]

Tip: Unity “New Input System” and its compatibility with Cinemachine

Go for the answer very quickly. One of the problems with Cinemachine, especially with the Virtual Camera (vcam) and FreeLook Camera is when New Input System wants to handle moving parameters like Aim Many solutions have been proposed for this. Write Extensions from CinemachineExtension or with MonoBehavior Solution Obviously, the two components (Cinemachine and Input […]