How do I make a coordinate system?

Yes, I know, there are guides about it, but those guides rely on pictures instead of mostly wording.
Can someone please help me out on this?

Use the uh… Player Coordinates device? Linked to an x and y property linked to an overlay using block code to dynamically update the x and y position.

Like the “Set Overlay Text” block with a “Get Property” block. And some extra text for formatting.

3 Likes

Materials: 1x Property, 1x Coordinate, 1x Overlay

Hope this meant platformer, because that’s what I’m doing.

Make a height property (name it whatever, but I’ll call it Height)

Coordinate device: when coordinate changes, update a property. Make sure it’s Y axis (up & down)
Also make it send on a channel

Overlay: Text
Make a block

When receiving on channel:
Set Text: Create text with:
-“Height”
-Get Property Height
- m (optional, or whatever measurement unit)

And to make it the game score, just set the map score to the height property.

2 Likes

If you want X, just do the same, but link it to the X axis. Also, the default of x is not zero, remember that.

There is a device called the Coordinate Device

Can someone post a screenshot of the block code?

Summary

I’m just using this for a game

I actually know that, thanks for telling though!

Oh, thanks! Thanks for your cooperation, but I’ll see if I can help Eneatix tomorrow before I close this topic here.

This is the most simple version of the block code:
image

Thank you @WSG for the help

1 Like

It still doesn’t work

Did you make the property? Is the channel that the block activates on from the coordinate device? Is the block in the overlay device?
image

Once Eneatix gets help, I’ll close the forum btw
Little reminder if that’s ok

Not gonna lie, I am kind of discombobulated. @Di726 , if that’s ok, can you show a picture of what you said? It looks like it’ll work, however, I am confused on what the block part.
bump