Introduction If you have tried to change the current playback position (currentTime) of large audio files using the HTML5 audio tag, even using the preload attribute, you probably struggled with the fact that the audios would never play at that position but would start playing again from the beginning of...
Read "HTML5 audio tag, large files and..."
Last weekend I participated in Trijam #154. Trijam is a weekly game jam where your goal is to make something playable (and fun!) in just 3 hours. The theme The theme for this game jam was “There is a twist…!”. When you have just 3 hours to make a game,...
Read "Trijam 154 entry: Who Kill..."
Now you can play my game Puzzimals directly in the browser through itch.io: https://giacomelli.itch.io/puzzimals What is Puzzimals? Don’t let the cute look or super fun animations fool you, Puzzimals is a cube-matching game challenging you to match identical tiles in 100 levels of thought-provoking puzzles in a world map. Packed...
Read "Puzzimals on itch.io"
Introduction If you already worked on a project where the data access solution has used SQL commands, instead of some ORM solution, you probably saw some SQL commands inserted directly inside the C# code. I worked on projects with that approach too, but I saw a great problem with that:...
Read "SqlAsFile"
Unity 2020.2 The Unity 2020.2 was official release on December 15, 2020 with a lot of fixes, API changes, changes, improvements and features. You can find the new features directly on the Unity manual accessing this search: newin20202. To read all items, access the complete release notes. Stats Fixes: 828...
Read "Unity 2020.2: What's new"
Unity Editor has a kind of an easter-egg where you can enable internal menus, like Project / Save As Template, Screenshots, etc. Unity Editor internal menus Enabling internal menus To enable those menus, go to Help / About Unity, then type internal, after that, you will see some new menus...
Read "unitytips: Editor internal..."
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Indices. Introduction Indices provide a succinct syntax for accessing single elements in array/collection. Consider the array below: The 0 index is the same as sequence[0]. The ^0 index...
Read "unitytips: Indices"
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Tuple Patterns. Introduction Some algorithms depend on multiple inputs. Tuple patterns allow you to switch based on multiple values expressed as a tuple. The tuples provides concise syntax...
Read "unitytips: Tuple Patterns"
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Property Pattern. Introduction Property Patterns enables you to match on properties of the object examined in a Switch Expressions. The switch expression provides for switch-like semantics in an...
Read "unitytips: Property Patterns"
Unity started to supporting C# 8.0 with version 2020.2 beta and now we can start to use some new features like the Switch Expression. Introduction Switch Expressions can dramatically simplify and reduce the LOC (Lines Of Code) to make a switch. The switch expression provides for switch-like semantics in an...
Read "unitytips: Switch Expressions"