Help with Dig it up

so you know how in dig it up the height can go into negative once you go into the mines so how would I recreate this in GKC.

you can probably use this guide

4 Likes

when you use that one it stops at zero and does not go in the netives

its literally what @Grahamathan15 says because if it tracks you going up than it must track you going down

3 Likes

Have block code edit the property so that it subtracts the height that you are on ground level.


What the code looks like:

Set text: Create text with: "Height: 
                ["y-value-prop" - 100 (or how high up your 0 is)]

The y-value-prop will go in the coordinate device, and when the property changes, broadcast a message that the game overlay runs in blocks.

3 Likes

Sure! I did forget one part above, but it’s in the screenshots:
image
image
Sorry I had to take two pictures it’s one long line.
Note that the 100 is replacable, it’s however high up the pretend ground level is.

cant you connect the other set text piece to the other one?

What do you mean?

well what’s the second block part? its kinda cut off in the image

It’s all one line. It was so long that I had to take 2 pictures to fit it all in. You can see that it is just a continuation.

oh I see it now

You can add &nb.sp; without the dot to make a space between the image

Oh I could have added a space but I just didn’t. I forgot that people might get confused (lol). Oh well, the problem is solved.

2 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.