10 articles

Article image for [Unity] Implementing CullingGroup More Easily [Vision]

[Unity] Implementing CullingGroup More Easily [Vision]

What is the CullingGroup API? It is useful when you want to switch behavior based on whether an object is visible or how far it is from the player. For example, you can deactivate objects that are not on screen, skip distant character AI, or prevent enemies from spawning while a spawn point is visible to the camera.

Published 2021/03/16 mackysoft.net

Title card for Spawning Random Enemies in a Roguelike [C#]

Spawning Random Enemies in a Roguelike [C#]

The 'improved level generation algorithm' update for Treasure Rogue is now complete, so this article walks through the implementation in detail with code.

Published 2020/06/18 mackysoft.net

Article image for [PlayFab] Registering and Updating DisplayName [Unity]

[PlayFab] Registering and Updating DisplayName [Unity]

This article covers how to register and update a player's display name in PlayFab. Since players need to be logged in first, please see the login article if you need that context.

Published 2020/06/08 mackysoft.net

Article image for Explaining a Roguelike Map Generation Algorithm

Explaining a Roguelike Map Generation Algorithm

I made a roguelike game called Treasure Rogue, so I will explain the map generation algorithm I implemented for it. Treasure Rogue generates tall, vertically oriented maps, but the basic implementation should also work for Mystery Dungeon-style map generation.

Published 2020/06/02 mackysoft.net

Article image for [PlayFab] Getting a Player Profile [Unity]

[PlayFab] Getting a Player Profile [Unity]

This article uses PlayFab SDK 2.86.2005 18. The feature covered here requires the player to be logged in first, so if you want to learn about logging in, please see the article below.

Published 2020/05/30 mackysoft.net

Article image for [PlayFab] What Is PlayFabAuthenticationContext? [Unity]

[PlayFab] What Is PlayFabAuthenticationContext? [Unity]

While using PlayFab, I started wondering what PlayFabAuthenticationContext actually was whenever I saw it attached to various request types, so I dug into it. From here on, I will simply call it AuthenticationContext.

Published 2020/05/27 mackysoft.net

Article image for [PlayFab] Implementing a Leaderboard [Unity]

[PlayFab] Implementing a Leaderboard [Unity]

This article covers PlayFab's leaderboard-related APIs. Since players need to be logged in first, please see the login article if you need that context.

Published 2020/05/26 mackysoft.net

Article image for [PlayFab] Generating IDs and Logging In [Unity]

[PlayFab] Generating IDs and Logging In [Unity]

This article uses PlayFab SDK 2.86.2005 18. PlayFab has many features, but the first thing you need to do before using any of them is log in. This article explains anonymous login and login methods that support account recovery.

Published 2020/05/25 mackysoft.net

Article image for [Unity] Implementing a Defense Buff with ModifierList [Modiferty]

[Unity] Implementing a Defense Buff with ModifierList [Modiferty]

Modiferty is a stat management library. If you are not familiar with it yet, the article below will help you understand the basics.

Published 2020/05/24 mackysoft.net

Article image for [Unity] Using Modiferty for Game Stat Management [Modiferty]

[Unity] Using Modiferty for Game Stat Management [Modiferty]

I built a library called Modiferty while making a game and published it on GitHub. It is broadly useful in games where characters and weapons have stats.

Published 2020/05/21 mackysoft.net