Change portal order percentage formula #76

Merged
WEGFan merged 1 commit from patch-portal-order into master 2020-02-19 00:39:12 -03:00
WEGFan commented 2020-02-16 05:27:10 -03:00 (Migrated from github.com)

The distance between the center of last block and where player starts flying to the end portal is 40.
The distance between the end portal and where player starts flying to the end portal is 300.

If you create an empty level, player will start flying to the end portal at ~569, so if last block X position is smaller than 529, the length of the level is fixed.

(Sorry for my bad english... the picture maybe easier to understand)
1

This is the code I found in Android version of the game, but I didn't find more accurate value for 40 and 529.
2

The distance between the center of last block and where player starts flying to the end portal is 40. The distance between the end portal and where player starts flying to the end portal is 300. If you create an empty level, player will start flying to the end portal at ~569, so if last block X position is smaller than 529, the length of the level is fixed. (Sorry for my bad english... the picture maybe easier to understand) ![1](https://user-images.githubusercontent.com/7558201/74601376-ab944380-50d8-11ea-8b2e-683d1ae739ea.png) This is the code I found in Android version of the game, but I didn't find more accurate value for 40 and 529. ![2](https://user-images.githubusercontent.com/7558201/74601407-0c238080-50d9-11ea-9676-083aaba0a3a4.png)
GDColon commented 2020-02-19 00:39:16 -03:00 (Migrated from github.com)

Whoa, awesome find!

Whoa, awesome find!
Sign in to join this conversation.
No description provided.