On The Way
Player Movement
![PlayerMovement.gif](https://static.wixstatic.com/media/e9cfb3_bc70ea3236ed4ce2b2cb2544b401b379~mv2.gif)
![image.png](https://static.wixstatic.com/media/e9cfb3_9117bd41b57848818390b1f4f23cc624~mv2.png/v1/fill/w_380,h_411,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/e9cfb3_9117bd41b57848818390b1f4f23cc624~mv2.png)
An input system where the player can use the left / right arrow and swipe left and right to make character move left and right.
![image.png](https://static.wixstatic.com/media/e9cfb3_7c4362c4c2a44593994610f9a45ad6ac~mv2.png/v1/fill/w_218,h_235,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/e9cfb3_7c4362c4c2a44593994610f9a45ad6ac~mv2.png)
I set the movement distance into constant three lanes so that when the player moves is always on the specific lane.
Score(Distance)
![Score.gif](https://static.wixstatic.com/media/e9cfb3_416351aecaea47f9a71ebfef1d57eb16~mv2.gif/v1/fill/w_330,h_574,al_c,lg_1,pstr/e9cfb3_416351aecaea47f9a71ebfef1d57eb16~mv2_gif.gif)
![image.png](https://static.wixstatic.com/media/e9cfb3_96c3ebee79ea4e3c8681f0b2506c3447~mv2.png/v1/fill/w_600,h_117,al_c,q_85,enc_avif,quality_auto/e9cfb3_96c3ebee79ea4e3c8681f0b2506c3447~mv2.png)
The score was collected by the moving distance, which mean when the player keeps running the score will be increase.
![image.png](https://static.wixstatic.com/media/e9cfb3_996c84895dd346e3b9bb62ffcde6b419~mv2.png/v1/fill/w_397,h_162,al_c,q_85,enc_avif,quality_auto/e9cfb3_996c84895dd346e3b9bb62ffcde6b419~mv2.png)
The update score function, updates the information to the UI. And the get score function allowed to get score.
Revive
![Revive.gif](https://static.wixstatic.com/media/e9cfb3_31ea525d424c440ea4c173256fb35091~mv2.gif/v1/fill/w_330,h_574,al_c,lg_1,pstr/e9cfb3_31ea525d424c440ea4c173256fb35091~mv2_gif.gif)
![image.png](https://static.wixstatic.com/media/e9cfb3_a7ac3b259bbe4ee08dee929601ef1b1d~mv2.png/v1/fill/w_474,h_359,al_c,q_85,enc_avif,quality_auto/e9cfb3_a7ac3b259bbe4ee08dee929601ef1b1d~mv2.png)
Players are allowed to get coins by daily check-in and also get three of the same props. Using the coin, the player can revive by deducting 5 coins.
Game Over
![GameOver.gif](https://static.wixstatic.com/media/e9cfb3_cd34351033d24424bd2ae32b47a320d6~mv2.gif/v1/fill/w_330,h_574,al_c,lg_1,pstr/e9cfb3_cd34351033d24424bd2ae32b47a320d6~mv2_gif.gif)
![image.png](https://static.wixstatic.com/media/e9cfb3_5a6d51af8a1549b09ffdea918d026daf~mv2.png/v1/crop/x_0,y_0,w_600,h_258/fill/w_600,h_258,al_c,q_85,enc_avif,quality_auto/e9cfb3_5a6d51af8a1549b09ffdea918d026daf~mv2.png)
If the player does not revive or not have enough coins, it will come to game over.
Prop Spawner
![PlayerMovement.gif](https://static.wixstatic.com/media/e9cfb3_bc70ea3236ed4ce2b2cb2544b401b379~mv2.gif/v1/fill/w_330,h_574,al_c,lg_1,pstr/e9cfb3_bc70ea3236ed4ce2b2cb2544b401b379~mv2_gif.gif)
![Destroy and spawn.gif](https://static.wixstatic.com/media/e9cfb3_cd7722b143c34ede9cbf7973087422f4~mv2.gif/v1/fill/w_389,h_180,al_c,usm_0.66_1.00_0.01,pstr/e9cfb3_cd7722b143c34ede9cbf7973087422f4~mv2_gif.gif)
The props spawn randomly together as the terrain
![image.png](https://static.wixstatic.com/media/e9cfb3_b87df638b9f242b6a26513c108f20c94~mv2.png/v1/fill/w_419,h_428,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/e9cfb3_b87df638b9f242b6a26513c108f20c94~mv2.png)
This allow props spawn randomly but not duplicate at the lanes.
![image.png](https://static.wixstatic.com/media/e9cfb3_1aa2a61a3a0542b4819cd81eaf6f0551~mv2.png/v1/fill/w_227,h_276,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/e9cfb3_1aa2a61a3a0542b4819cd81eaf6f0551~mv2.png)
When the player gets the props, it will destroy the other props so that the player will not get many props at the same time.
Terrain Spawner
![Destroy and spawn.gif](https://static.wixstatic.com/media/e9cfb3_cd7722b143c34ede9cbf7973087422f4~mv2.gif/v1/fill/w_376,h_174,al_c,usm_0.66_1.00_0.01,pstr/e9cfb3_cd7722b143c34ede9cbf7973087422f4~mv2_gif.gif)
![image.png](https://static.wixstatic.com/media/e9cfb3_d492dc13742e402a8c9bb3f1ab8f5cd2~mv2.png/v1/fill/w_600,h_358,al_c,q_85,enc_avif,quality_auto/e9cfb3_d492dc13742e402a8c9bb3f1ab8f5cd2~mv2.png)
Spawn terrain to look endless
Cut Scene(Camera animation)
![Camera.gif](https://static.wixstatic.com/media/e9cfb3_dfedce791892481c8bce0da2da75b85e~mv2.gif/v1/fill/w_300,h_522,al_c,lg_1,pstr/e9cfb3_dfedce791892481c8bce0da2da75b85e~mv2_gif.gif)