Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

playjoa

5
Posts
1
Topics
9
Followers
1
Following
A member registered Apr 30, 2021 · View creator page →

Creator of

Recent community posts

You should not be storing the full sprite in string, you should create some kind of ID for a sprite in a scriptableObject or something and save that in the extras. I created a little class that helps me store data in a single string in a KvP way, hope it helps:

public class SingleStringKvP
{
    private readonly Dictionary<string, string> _kvPairs = new();
        private const char PairSeparator = ';';
    private const char KeyValueSeparator = ':';
        public SingleStringKvP(string startingValue)
    {
        Parse(startingValue);
    }
    public SingleStringKvP()
    {
    }
        public void AddValue(string key, string value)
    {
        _kvPairs[key] = value;
    }
        public string GetValue(string key)
    {
        return _kvPairs.TryGetValue(key, out var value) ? value : string.Empty;
    }
        public override string ToString()
    {
        var builder = new StringBuilder();
        foreach (var kvp in _kvPairs)
        {
            if (builder.Length > 0)
                builder.Append(PairSeparator);
            builder.Append($"{kvp.Key}{KeyValueSeparator}{kvp.Value}");
        }
        return builder.ToString();
    }
        private void Parse(string startingValue)
    {
        if (string.IsNullOrEmpty(startingValue)) return;
        var pairs = startingValue.Split(PairSeparator);
        foreach (var pair in pairs)
        {
            var kv = pair.Split(KeyValueSeparator);
            if (kv.Length == 2)
            {
                var key = kv[0];
                var value = kv[1];
                AddValue(key, value);
            }
        }
    }
}
(1 edit)

Thank you so much, if you are stuck the solutions for the puzzles are on the GitHub page! :D

Thank you so much for the feedback! Will look out for these on my next games! :D

Thank You so much!! A no timer option would be a cool adition I'll see what I can do in the future! :D

Just published my first PC game! Used to work on mobile games, but now I'm looking forward for expanding!


You're stuck in a house with no clue how to get out, explore the enviroment, find clues and notes that will help you get out! You have 15 minutes. Good Luck! 


Feedback is always good and it helps. Just keep in mind this was made in 5 days for a test! :D

Hope You Guys like it:

https://playjoa.itch.io/escape-room


Trailer: