ID:160648
Aug 6 2008, 9:09 am
|
|
How would I go about creating doors (and walls) that are in between tiles?
|
Aug 6 2008, 9:43 am
|
|
Why would you want doors or walls that are in-between tiles?
|
In response to CaptFalcon33035
|
|
So that I don't need to take up an entire tile.
They don't necessarily have to be in between tile but at one edge of the tile so that the player can enter and exit the square but not in the direction the door is blocking. |
In response to LastTroubadour
|
|
Override Enter(), check if the atom attempting to enter is trying to enter from one of the wrong directions, and don't allow it to if it is.
|
In response to Glarfugus
|
|
Not quite what he wants. I think he needs to look up the pixel_x and pixel_y variables.
|
In response to Popisfizzy
|
|
I'm thinking he means he doesn't want players to be able to enter or exit the door through the side of it.
|
In response to Popisfizzy
|
|
pixel_x and pixel_y in addition to what the parent of your post suggested. He clearly wants to block entrance from some directions, but not all.
|
In response to Glarfugus
|
|
In that case:
turf |