A developer shares their experience building a first game in Unity, inspired by M.C. Escher's 'Relativity' lithograph. The game features a rotatable 3D cube where players collect items, with gravity and perspective shifting as the cube rotates. Key challenges covered include: setting up a HUD canvas for UI elements, building a JSON-based level editor, implementing grid-based player movement using DOTween for smooth transitions, handling cube rotation, creating a main menu with responsive layouts, migrating to Unity's new Input System for multi-device support, implementing portals using shader graphs, building a theming system, and integrating Unity Analytics and ads. The post is an honest beginner's account of learning Unity from scratch, including the stumbles and workarounds encountered along the way.

12m read timeFrom adayinthelifeof.nl
Post cover image
Table of contents
My first attempts with UnityThe ideaThe canvasThe level editorSlowly going forwardRotating the cube/fieldThe main menuControlsCube sidesPortalsThemesAds & AnalyticsRelease

Sort: