The Z position in hopscotch

coordinates

#1

So,in HS,we have y and x coordinates. Why not Z coordinates? Is it possible to calculate Z in hopscotch?
@pomtl
@omtl


#2

We do have z coordinates.

It can be changed with the bring to front and send to back blocks.

It’s probably possible to create a go to () layer block by modifying the webplayer. I forgot the specific method you’d need though. (If anyone’s interested I think I saw that the layers are an array, not sure though. I didn’t pay attention)

But it’d be easier to just create one in Hopscotch.


#3

I’ve never seen Z coordinates in HS


#4

you mean not as set position z


#5

Z is depth, and no you cannot mod the webplayer to change it as far as I know. It has to be coded in the app for it to exist and be used. The webplayer just tells the app what block to show. The code for the block is in the app’s code. Unless depth is an object variable built in the Webplayer, which is possible but unlikely


#6

So,how can we code it in the app?


#8

Bring to front and send to back are basically the same thing


#9

How would z work in a two dimensional screen?


#10

Can it only work in a three dimensional screen


#11

Bring to front+send to back are two inaccurate examples.

:D


#12

Technically, yes.

:D


#13

Oh.