My game has secret paths that can be taken in various parts of the game, and to help navigate, I wanted an arrow indicator above the party leader's head. It looks like this:
The arrow follows the party leader so long as they are on a specifically numbered region. To accomplish this, I used to the following code:
This is set to "Parallel," and so it only detects if a player is in the region specified (in this case, Region 1).
The problem is that I noticed a very tiny instance of lag as I would first enter into a region that triggered this indicator. After it was triggered, it all ran smoothly. The play testers have told me they have far worse problems. One of them has a slower system than mine, and his lags (i.e. game freezes) for about 5 seconds before it will let him continue. The other play tester has an older laptop, and his completely locks up the game when triggering the indicator, and he cannot continue to play.
Does anyone know of a way to fix this problem, or perhaps another way to approach it? Please keep in mind that I need to use a picture, not an icon, because the picture will appear above the parallax layers I'm using, but the icon will not.
Thank you for your time; any suggestions are welcome.
The arrow follows the party leader so long as they are on a specifically numbered region. To accomplish this, I used to the following code:
This is set to "Parallel," and so it only detects if a player is in the region specified (in this case, Region 1).
The problem is that I noticed a very tiny instance of lag as I would first enter into a region that triggered this indicator. After it was triggered, it all ran smoothly. The play testers have told me they have far worse problems. One of them has a slower system than mine, and his lags (i.e. game freezes) for about 5 seconds before it will let him continue. The other play tester has an older laptop, and his completely locks up the game when triggering the indicator, and he cannot continue to play.
Does anyone know of a way to fix this problem, or perhaps another way to approach it? Please keep in mind that I need to use a picture, not an icon, because the picture will appear above the parallax layers I'm using, but the icon will not.
Thank you for your time; any suggestions are welcome.