The coordinate device- a replacement for the zone?

While I was thinking of some ways to be memory efficient, came across a thought that was saying,

Doesn’t the coordinate device just check if a player’s coordinates are less then a certain area?

So I decided to investigate.

So far I have made this. [1]

I want to expand on it, but don’t know how to not get notified when I’m in the zone, just when I first enter it.

Can anyone else help figure this out?

Another note: This would only work if you already have the coordinate device, as it costs over 1000 memory.


  1. It’s a google drive file. It took 15 minutes to upload :skull: ↩︎

3 Likes

Oh oops. The video is still processing lol

Sorry!

Edit: It’s done processing!

2 Likes

Fascinating very fascinating actually

Doesn’t zones take 200 memory while the player coordinate takes possibly 3% or 2% amount of memory in your map?

1 Like

Good thing I mentioned that!

2 Likes

This basically what the pseudo tag system is
Its basically just a moving zone with a distance formula

Memory wise
Idk if coordinate zones are more efficient than reg zones

But capability wise
It has much more potential for plenty of pseudo related or certain mechanics

3 Likes

isnt it technically not pseudo if your using the coordinate device because it can act as a tag device?

nice however im not that experienced so can you explain a little more @slim

Ah- ok.

In total, it costs 70 memory to check this. Assuming you already have the coordinate device used elsewhere in your map.

Pseudo meaning fake
And the pseudo tag system is not actually a tag device so therefore pseudo tag
Idk what ur going on about but i wanna
Go further with the coordinate device
Mathematical formulas will be of much help here so if you know those and have a decent idea that’ll be good

So far what ive done and created with the coordinate device
Was
Pseudo zones (literally the first thing i did when it came out)
Pseudo tag system (2nd thing i did when i finally had the idea of it)
The pseudo projectiles (gave up cuz debugging was a pain and game overlays decided to be unreliable)

I am saying I know Pseudo means fake so is it really fake if the coord device is just like the tag device?

It acts like it yes
But it dosent make it the official tag device itself
Plus it has more possibilities

1 Like

But back to the focus
It looks like slim wants multiple zones using the coordinate device
So its a matter of mapping out the coordinates and deciding how close you need it to be to trigger and fitting all that into the coordinate devices blocks along with an if block containing the mapped out coordinates

2 Likes

so yeh for example
(not for real size just for example)
the zone would be from z: 200
to y:200 to If im correct make a square

The formula im using pretty sure makes a circle
(Distance formula)
But the actual distance dosent seem to be parallel to the grid so you’d have to experiment a bit with the distance you want to be able to adjust the size accordingly

2 Likes

But im pretty sure i can simplify my blocks by using the absolute value block (i think)
And fit more room for mapped out zone coordinates

You could check if a players coords in between 2 values:
A < x < B
A < y < B
A: Minimum the player can go
B: Maximum the player can go
However, this will trigger every time the player coords are updated, so we could use a true/false property that checks if the player is in the imaginary zone.
We could use checkers or block code.
:nerd_face:

3 Likes

Exactly. As you can see in the video, I had trouble getting “less than” and “greater then” in the right spots lol.

The circular zone could potentially be made with block code:
if (|x{player}-x{zone}|+|y{player}-y{zone}| < zoneRadius)
| playerInZone = true

2 Likes

There are a lot of devices popping up…

hmmmmmmmmmmm…
:face_with_monocle: