Giter Site home page Giter Site logo

fault-in-our-stars's Introduction

Fault in our stars

Technical challenge

Hello and welcome to my submission for the technical challenge.
To get started, clone the repository and open it in unity.
The tool is accessible via Window -> Star Creator
Doc is here

Techical writeups

It was an interesting project, it's always fun to start back on an empty clean codebase.
It was my first time with uitoolkit, but thanks to my front end web experience I wasn't too lost.
After using uitoolkit and uibuilder for two days I do not wish to go back to the old Unity UI ^^

After the facts I realize that I addressed this project in a somewhat different manner than I would have addressed a usual tool request.
Since it's a technical challenge I empathise on the "show your skill and editor knowledge", making me not take necessarily the easiest solutions.

For example I used Unity's JsonUtility for sereliazation which does not support array or dictionary.
This leads me to give up on the .json extention for a .starPresets which contains one json per preset/per line + the preset name.
In a normal project I'd have just used Newtonsoft that I probably had already installed anyway.

Another unnecessary thing was overly relying on AssetDatabase to ensure a folder exist instead of a simple SystemIO CreateDirectory.

Also, due to it being a technical challenge I was less worried about future-proofing it which helps explain my choice for preset management which is simply using star prefabs in a folder.
This solution ticks all the requirement of the technical challenge but in a real life situation, the tool would probably have evolved to handle more complex preset that would not be saved purely in a star prefab.

Finally a point I forgot to watch out for is proper commit history.
Usually for me this would have just been a merge request from a fork or feature branch and in the workflows I work with, we squash commit at merge.

fault-in-our-stars's People

Contributors

mnachury avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.