# TWA. Atlas H (Amoeba) **Code archive**: [[H-Atlas_CodeArchive]] (internal use only) #### Debugging / Improvements **Most essential** - [ ] YELLOW - [ ] Set the music object inactive in the DeactivateSong(), together with VFX - [ ] Smaller VFX for SSX amoebas? - [ ] If no audio from N, add public property (Heartaches or something like that) - [ ] Vibration or some audial resonance, when at the door - [ ] SECRETS - [ ] If all secrets collected -> a 3D cutscene reveals: transparent blocks appear --> a groups of transparent balls (with insides of different colours) fall down from platform to platform down the screen. Like marbles. Invisible walls keep it at place from both sides - Amoeba freezes and/or moves to a fixed check-point next to this secret. Buttons deactivate until the cutscene ends. - A separate script is called from the script with secrets OR a separate script for secrets also controls the animation - [ ] When *secret* is eaten, it explodes in small green dots that disappear in 2-3 seconds (triggers relative to amoeba) - [ ] VICTORY - In case both XXS & S instantiate (sometimes can happen) -> check it and destroy the spare one (S) - If at finish xxs don't gather, they both disappear - The movement at the finish is too shaky **Moderate** - [ ] PURPLE - [ ] *Somehow fixed. But may reappear!* In PH_XXSController.cs, remove each destroyed from the xxsList. Right now, the initial SplitParent fills each field of the list. That is, clones get removed. But initial SplitParent fills their fields in the list - [ ] Allow ORANGE when PURPLE is not fully complete (e.g., 4 gathered, 1 separate) - [ ] FINISH - [ ] VFX for disappearing amoebas **Non-essential** - [ ] (JSON) Instantiates XXS if this version riches the finish line. Add blending for the XXS version - [ ] GREEN & BLUE (partially fixed) - [ ] Movement breaks sometimes after levitating and dropping - [ ] Also buggy on Orange & Purple (split & gather) ## Notes **Operation** - At start of the scene, SceneController.obj activates animation. Buttons are inactive at that moment bc the PuzzleController is inactive. It gets activated after the introduction scene completes, and IntroductionController.cs (SceneController.obj) activates it. **Json operation principle**: Collects indexes in two lists (outsides and insides) to blend sprites through alpha channel in the [[DESIGNS/ToyWorldsAtlas/Orangery_Doc|Orangery]]. If more than 10 colours (10 for inside and 10 for outside) -> erases last elements from the list **Victory** (Finish.cs --> Puzzle_H.cs --> Victory.cs) - Finish.cs sends the collided amoeba to Puzzle_H.cs - Puzzle_H.cs deactivates buttons > gathers if split & moves to the finish > Turn on blending between selected colours (in a loop) **Sprites** - 150ppi, 260 (small) **Parent-ship** - Amoeba (oldest parent) holds JsonObj.cs - Small (middle parent) holds the collider and the rigid body. It is referenced in the PuzzleController. Affected by colourant buttons public GameObject[] outsidesArr = new GameObject[6]; // (0) = Uncoloured // (1) = Green // (2) = Red // (3) = Blue // (4) = Orange // (5) = Purple public GameObject[] insidesArr = new GameObject[4]; // (0) = Uncoloured // (1) = Pink // (2) = Grey // (3) = Yellow ## Idea Backlog **Current concept** - [ ] Laboratory constructs itself (at the beginning of the page game, animation) **Pixel automota** - The goal is to consume the rest of cells with a particular colour - The player hits one of the sides of the slime with a colourant button (as if it was a ball)? - the colour changes the rules for growth - each line of colours is either one of two colours, or the colour off. E.g, orange — food. Green — toxin. White — nothing - The amoeba behaves differently next to the food and to the toxin ## Image ![[DESIGNS/ToyWorldsAtlas/Gameplay/AtlasH_dig.png]] ## Resource & Reference **Resource** - [Rainbow palette](https://www.schemecolor.com/rainbow-sprinkles.php) - Green ([mono palette](https://colors.muz.li/palette/04b390/037d72/c1fff9/82fff3/ffffff)) - Red ([mono palette](https://www.toptal.com/designers/colourcode/monochrome-color-builder)) - Blue ([mono palette](https://colors.muz.li/palette/0870CB/06698e/c2eeff/85ddff/ffffff)) - Yellow ([mono palette](https://colors.muz.li/palette/F3DB04/aaa203/fffcc0/fff982/ffffff)) - Orange ([mono palette](https://colors.muz.li/palette/FE9B0A/b28307/ffeec2/ffdd85/ffffff)) - Pink: CF63A8 ([pink - mono palette](https://colors.muz.li/palette/CF63A8/914587/ffdefa/ffbcf6/ffffff)) - Grey: B9B3C1 ([mono palette](https://colors.muz.li/palette/B9B3C1/807e87/bbb3c1/b3b8c1/7d8187)) **Reference** - [Conway's Creatures](https://conwaylife.com/wiki/List_of_common_still_lifes) - [Exit Palette](https://vimeo.com/44486668) -- change the colour of platforms to change their behaviour. E.g., levitation - Loco Roco ![[NEPOBJEDIVI/atlas.borders]]