In the first years of Unity, there wasn’t solid support for 2D game development inside the engine — for years, the right way to refer to it was “Unity 3D”. Though it was possible to develop 2D games with Unity, without official engine support, it wasn’t a smooth process like...
Read "The Fundamentals of Unity 2D col..."
On June 14th I released my newest solo game called “NO MORE ROOM IN HELL”. You can download it for Windows, MacOS, Linux or play directly on browser from its itch.io page: https://giacomelli.itch.io/no-more-room-in-hell. What is it? A 2D top-down survival shooter game where you will be a rookie soldier in...
Read "NO MORE ROOM IN HELL released"
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"