This is a guide on how to prevent seeing certain objects when viewing the map in the level editor (ALE).
Note that this does not hide them from the objects list, and I currently do not know of a way to do so.First, select the object that you want to 'hide'. It only works with one object selected at a time, so only one.
Then hold the Shift key and drag the object to a new location (you don't need to hold Shift down the whole time, just while you begin dragging it).
Finally, press CTRL + Z, and the object should disappear, now having X and Y locations like this:
This could be useful for maps that have an open source, perhaps if you want to hide (a) certain object(s) from anyone's viewing.
Hiding objects can also be achieved by adding a ton of numbers to the X/Y location of an object, but this gives the object an undefined X/Y value, guaranteeing that you must find it in the object's list (plus it's easier in my opinion).
Also, giving the player undefined X and Y values will set them to spawn at the center of the map.
Also, you
don't need both X and Y to be negative. You can actually set an object (such as the player) to start offset from the center of the map by setting X or Y to the desired value, as long as the other one is undefined.
In-game testing with all objects- 'Wall' object result: Disappeared and displayed in the chat.
- 'Movable' object result: Started at the center of the map with the top left corner aligned to the center. Movable still functioned as normal.
- 'Region' object result: Aligned the center point with the center of the map (seen with a USE button parameter), but prevented the region from activating triggers through any way (i.e. USE button), although the region functioned as normal when moved via triggers. If attempting to move a movable to the region, the movable with instantly teleport to the region regardless of its speed, and touching the movable will cause the player and screen to glitch.
- 'Pushing area' object result: Gave no damage, stability damage, or pushing effect regardless of size. Because you can't move pushers, they are useless with undefined X/Y values (setting their values via triggers has no effect).
- 'Background' object result: Disappeared and gave this weird shadow effect near the center of the map.
- 'Water area' object result: Simply started at the center of the map and functioned as normal
- 'Player'/'Enemy'/'Vehicle'/'Decoration'/'Gun'/'Barrel' objects result: Started at the center of the map with no other effects.
- 'Lamp' object result: Started at the center of the map, although the flare could not be broken.
- 'Trigger'/'Timer'/'Engine mark' objects result: Functioned as normal with no effects.