Basically I am implementing an element in a game where the player can inhabit another region. Once they have clicked to inhabit it, I want the flag of their army to slowly become the texture for that region.
At the moment I am just applying the texture of the flag straight away using transform.renderer.material = BritishFlag; Is there a way to have the flag slowly take over the region, to represent a time period of invasion?
Should it be a full-flag fade from flag#1 to flag#2, or a left-to-right "wipe" (a line with flag#2 on left, flag#1 on right?) Or will the flag just fade in like a ghost materializing? Or, it might look better to have the flag just go up a pole? Or maybe unfurl (like a rubber flag being slowly stretched out)? Or have the entire flag+pole start small and grow?
– Owen-ReynoldsI was thinking like a rubber flag being slowly stretched out. Basically the world view is of the world map (like the defcon game) and then once the players invades another region the flag slowly changes from grey (representing an u-inhabited land) to the flag of the players army. Hopefully that's a bit clearer
– defternikoThat's two things. One problem with a fade-in is that it can't communicate very precisely how long until it's done. I can see a raising flag and know "4/5ths," but not so much knowing a fade-in is 4/5ths done. A stretching-out flag would just be a scale change (can see how it would look by sliding scale.x yourself.) If you have an outline of a full grey flag, easy to see how close you are to a take-over.
– Owen-Reynoldsokay thanks very much owen, I think I know what to do now
– defterniko