How to create bushes that become transparent when you go near them 🟨

Welcome to my 2nd guide! :partying_face:
This time, I completed it before I posted! [1]

Why did I create this?

I created this because, well, for one, there hasn’t been a guide on it yet. Two, I thought it would make a good guide for people that wanted to create a system where there are individual bushes that appear and reappear when you go near them. Kinda like Brawl Stars.

Read more on post #13

How does it work?

This is done with the coordinate device. It gets your current position and finds the blocks below, above, to the side, and in the corners of you. Then, it transmits on channels to disappear and reappear the bushes. It works anywhere on the map!

Warning(s):

  1. Copy-paste warning! Make sure you have ctrl + C, and ctrl + V handy! [2]

  2. Length Warning! [3]

Other things to note…

  • This can possibly take up to 10% memory depending on how many bushes you need.

  • The code is pretty simple, not much to it.

  • The most annoying part will be copy-pasting the barriers and correctly channeling them/naming them. [4]

  • Any channels or properties can be renamed to whatever you want.

  • If you are a picture person, this guide will be easy to understand! If you are a text/reader person, this guide will also be easy to understand!

  • If I do not screenshot or say something about a certain setting, that means to leave it on default.

  • Any LAG you may encounter is nothing that I can fix. The game is just loading too many barriers at once.

When you are done, the devices will look like this...

image

Steps...

Step :one:

First, place a coordinate device with the following settings…

Player Pos Changes >>> Transmit on "Coor-Change"

Update Property >>> "On"

X Pos Property >>> "X-Pos"

Y Pos Property >>> "Y-Pos"

Step :two:

Place two properties. The following settings should be in each one…

Name of Properties >>> "X-Pos" and "Y-Pos"

Property Type >>> "Number"

Default Value >>> 0

Property Scope >>> "Player"

image

image

Step :three:

Place a relay with the following settings… [5]

Relay Audience >>> "All Players"

Relay channel >>> "Coor-Overlay"

Relay when receiving on >>> "Coor-Change"

image

Step :four:

Place an overlay with the following settings… [6]

Overlay Type >>> "Text"

Overlay Position >>> Your preference, I put it on "Bottom_Left"

Visible on Game Start >>> "Yes"

Content Scope >>> "Player"

image

image

Some Code…

Here is a screenshot if the code you need to put on here…
image

image

It should look like this: [7]
image

Step :five:

Place a trigger down. The only thing you need to change is this:

Trigger when receiving on >>> "Coor-Change"

image

Put this in the blocks: [8]

Step :six:

In the editing options, the show grid should be “On”

Make a barrier as small as one of the squares. Apply these settings to it.

Note: The random numbers is the coordinate of the barrier. Make sure to put it together with no spaces.

Now, do that a bunch of times and you get this!
image
WARNING: PUTTING A BUNCH OF BARRIERS TOGETHER LIKE THIS CREATES LAG. NOT RECOMMENDED

Done!
It should work now if you walk into it.

How did I do?
  • Awesome! [:star::star::star::star::star:]
  • Good [:star::star::star::star:]
  • Ok… [:star::star::star:]
  • Bad [:star::star:]
  • Super Bad [:star:]
0 voters

  1. If you want to create this on a MUCH SMALLER scale, use zones to detect when you go in and out of an area. ↩︎

  2. Use Command + C, and Command + V if you are on a mac. Also, for props and devices, you use C to copy. The ctrl and Command part of it is for the code. ↩︎

  3. No dropdowns, or “Hidden details to hide the steps.” ↩︎

  4. Naming them is optional. ↩︎

  5. The relay is used to make sure that everyone’s overlay gets updated. ↩︎

  6. The overlay is used to make sure where to put the barriers later on, and what to name the channel. It is EXTREAMLY important. ↩︎

  7. If you want to know how I included spaces, include them in your code. ↩︎

  8. The channel it should broadcast on is basically the X and Y put together. (e.g. 175620) ↩︎

12 Likes

this is nice and all, but what about zones?

zone (player enters zone) → bush (hide prop)
but with a player scope

4 Likes

This saves memory and space because it doesn’t have all the zones and channels.

Btw can someone create a difficulty poll? I gtg.

ok…? wait, block code is 500 memory apiece but oh well

Difficulty
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
0 voters
4 Likes

this is only worth it when there are lots of props
otherwise just use zones or triggers as a player coordinates device is 3,500 memory

2 Likes

That was said in the guide Foxy…
Anyways, another nice but overly complicated guide lol. Great job slim!!! So you just ended up using the og idea right?
:D

slim

I might be able to go back on laptop tomorrow and help with abilities!

3 Likes

I’m just going to pretend I read all this… “Nice guide, Slim! You might want to add dropdowns…”

2 Likes

but I think most maps already have the player coordinate device, so I think it might count as resourceful? idk…

anyways good job SlimArtist!
(can I call you that? or should I say SlimArtist20375)

2 Likes

only platforming maps really
and usually you call someone without the numbers or by a nickname unless your pinging them

2 Likes

It says in their bio to call them slim.

3 Likes

huh, I use them for all my maps… but alright, also thx for the name tip.

1 Like

This is nice slim! We need more complicated guides like these ones…

awwww no guild?

1 Like

I had to go so I couldn’t explain it very well. What I meant was if you used zones, it would be a mess. The reason why I didn’t do zones on my map is because it would be a NIGHTMARE to create. All those wires would be a mess.

Thats why I created this guild, if you don’t want to deal with that mess, do this instead. It works well, but any lag you may encounter isn’t anything you can fix.

:tired_face: I just woke up and I already made a spelling mistake. @Kosm0-o +1 please.

2 Likes

Yes, please call me Slim or Slimartist. I am trying to get the mods to change my name to get rid of the numbers. Idk why I put it there in the first place.

well there aren’t so many users here and I guess people have numbers on other sites because the original name is already taken

1 Like

I put it here instead :laughing:

I didn’t mean to type it this time.

@Kosm0-o Bring my “guild” count to 11.

3 Likes

I did just now. Not for each step, but it doesn’t seem so long now that I added :one:.

1 Like

Loved it, but I am not good a coding and using the blocks. I may try it when I’m older. Thanks for the time!

2 Likes

Great guide with a lot of explanations and pictures! When I read the title I immediately thought of brawl stars :laughing:

2 Likes

Thats what I was going for lol