Change portal order percentage formula #76
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: serg2-mirrors/GDBrowser#76
Loading…
Reference in a new issue
No description provided.
Delete branch "patch-portal-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)
This is the code I found in Android version of the game, but I didn't find more accurate value for 40 and 529.
Whoa, awesome find!