Directional windows and dealing with them

How, what and why to code in BYOND.

Moderators: MisterPerson, Code Maintainers

User avatar
actioninja
 
Joined: Mon Jul 30, 2018 6:40 am
Location: your mom's house lmao got em
Byond Username: Actioninja

Directional windows and dealing with them

Postby actioninja » Fri Mar 01, 2019 9:23 am #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.



User avatar
oranges
Code Maintainer
 
Joined: Tue Apr 15, 2014 9:16 pm
Location: #CHATSHITGETBANGED
Byond Username: Optimumtact
Github Username: optimumtact

Re: Directional windows and dealing with them

Postby oranges » Fri Mar 01, 2019 9:31 am #480413

no, which is why we got rid of most of it.
Image

User avatar
actioninja
 
Joined: Mon Jul 30, 2018 6:40 am
Location: your mom's house lmao got em
Byond Username: Actioninja

Re: Directional windows and dealing with them

Postby actioninja » Fri Mar 01, 2019 10:21 am #480421

Yikes.

User avatar
confused rock
 
Joined: Fri Sep 25, 2015 12:18 am
Byond Username: The unloved rock

Re: Directional windows and dealing with them

Postby confused rock » Fri Mar 01, 2019 3:26 pm #480450

Which sick fuck made putting glass on grilles create a full window? Maybe otherwise they’d be tolerable
Image

User avatar
MisterPerson
Board Moderator
 
Joined: Tue Apr 15, 2014 4:26 pm
Byond Username: MisterPerson

Re: Directional windows and dealing with them

Postby MisterPerson » Fri Mar 01, 2019 6:17 pm #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. I haven't played in like 2 years so don't listen to my suggestions.

Why realism is stupid:
Spoiler:
Wiz, the project lead of Europa Universalis IV:

Immersion/flavor is playing a WW2 shooter and using a mosin-nagant instead of a laser gun - this is important.

Realism is playing a WW2 shooter and having to spend 2 months in hospital everytime you get shot - stupid and detrimental to gameplay. Nobody actually wants a realistic game, which is why realism arguments are so selectively used.
Source: http://forum.paradoxplaza.com/forum/ind ... t-19679470

User avatar
PKPenguin321
In-Game Game Master
 
Joined: Tue Jul 01, 2014 7:02 pm
Location: U S A, U S A, U S A
Byond Username: PKPenguin321

Re: Directional windows and dealing with them

Postby PKPenguin321 » Sat Mar 02, 2019 5:16 am #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

User avatar
confused rock
 
Joined: Fri Sep 25, 2015 12:18 am
Byond Username: The unloved rock

Re: Directional windows and dealing with them

Postby confused rock » Sat Mar 02, 2019 6:32 am #480554

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


Return to Coding

Who is online

Users browsing this forum: Shadowflame909, Sheodir