Directional windows and dealing with them

How, what and why to code in BYOND.
Post Reply
User avatar
actioninja
Joined: Mon Jul 30, 2018 6:40 am
Byond Username: Actioninja
Location: comatose

Directional windows and dealing with them

Post by actioninja » #480412

Is there any non nightmare hellcode way of dealing with directional windows and movement? So far they've proven to be a fucking insane mess.
Image
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: Directional windows and dealing with them

Post by oranges » #480413

no, which is why we got rid of most of it.
User avatar
actioninja
Joined: Mon Jul 30, 2018 6:40 am
Byond Username: Actioninja
Location: comatose

Re: Directional windows and dealing with them

Post by actioninja » #480421

Yikes.
Image
confused rock
Joined: Fri Sep 25, 2015 12:18 am
Byond Username: The unloved rock

Re: Directional windows and dealing with them

Post by confused rock » #480450

Which sick fuck made putting glass on grilles create a full window? Maybe otherwise they’d be tolerable
Image
Image
Image
Image
User avatar
MisterPerson
Board Moderator
Joined: Tue Apr 15, 2014 4:26 pm
Byond Username: MisterPerson

Re: Directional windows and dealing with them

Post by MisterPerson » #480468

I get that it's not possible to check in window/Cross() because we don't pass vital information like the fucking direction of movement to Cross(). But if we did pass that info, side-only blockers would be fairly trivial.

Directional windows were annoying to repair for players btw. Made fixing bombs 2-3 times as hard because there'd be 2-3 windows per tile, especially on those grille sandwiches. And rotating them was the worst.
I code for the code project and moderate the code sections of the forums.

Feedback is dumb and it doesn't matter
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Directional windows and dealing with them

Post by PKPenguin321 » #480541

confused rock wrote:Which sick fuck made putting glass on grilles create a full window? Maybe otherwise they’d be tolerable
he's talking about handling them codeside, not ingame
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
confused rock
Joined: Fri Sep 25, 2015 12:18 am
Byond Username: The unloved rock

Re: Directional windows and dealing with them

Post by confused rock » #480554

yeah I just wanted to whine I'm an attention whore
Image
Image
Image
Image
Post Reply

Who is online

Users browsing this forum: No registered users