I am making a map that tracks a players X/Y coordinates, but it isn’t working. It is so they can see where exactly they are at.
What specifically doesn’t work? Are you following a guide? If so, which part isn’t working?
Presumably you’ve got it set up like this.
Coordinates device is connected to two properties, x and y, which have their respective inputs x and y in the aforementioned device. You are using the create text with block in the blocks setting of an overlay, where you add the x and y using the get property block. That should work.
Yes, I am using that, but it isn’t working.
Can you show me a screenshot of your block code, coordinate, and property settings?
You need the “create text with” block.
Don’t use that, just link the properties using the settings and you don’t need this channel stuff either.
Properties automatically update. In the overlay settings it should look like this (lemme grab a picture)
And make sure in your player coordinate device the x position is linked to the x property which is set to number and the same for the y @Ayden1.
Oh didn’t see the first picture sorry.
You only need one “create text with” piece.
No, see what I just posted?
You only need one, use the multiple inputs with the gear icon on the block create text with if you have to.
Welp, I see that Turtle has it figured out. I hope you are able to get the coordinates to work!
Remember the starting X is not 0, but the Y is.
Yep. Try it now, but make sure that your properties and coordinate devices look like this.
Yes, that looks correct. I would name the properties X and Y for better organization. Just a suggestion.
Name them x and y that’s easier.
Same for y but y’know it’s called y. Make sure scope is set to player.
So whole setup with the miniguide @Ayden1, this might be helpful.
- Create a Player Coordinate device and set it like so:
- Create two Property devices and set them based off of this screenshot.
- Create a Game Overlay device and add block code as below, and set the settings as follows.
To make sure the overlay looks presentable, feel free to add some spacing and stuff, and labels with x and y in between by adding more inputs using the gear icon on the block.
Thank you for the help!
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.