Non horizontal generated girders

8 replies [Last post]
KIRA
KIRA's picture
User offline. Last seen 2 days 5 hours ago. Offline
Joined: 2014-09-23
Posts: 152
In one of my themes I wanted girders to be genereated in every angle possible. I was thinking that a way in order to do that was to draw objects shaped like girders with 2 anchor points but this would be nearly impossible cause you will have to draw a huge amount of objects that differs in angle and lenght and this is just too much. Is there a way to let the game generate non horizontal girders?
Wuzzy
Wuzzy's picture
User offline. Last seen 4 days 3 hours ago. Offline
Joined: 2012-06-20
Posts: 1301
Currently, all generated girders must be horizontal. Maybe vertical land girders would be an interesting addition, not sure how it will turn out in gameplay, however. Needs to be playtested. I don't know about diagonal land girders tho, this sounds pretty esoteric.
Hi, I am a Hedgewars developer. Smile
KIRA
KIRA's picture
User offline. Last seen 2 days 5 hours ago. Offline
Joined: 2014-09-23
Posts: 152
These additions could be good in my opinion. Maybe they could be both enabled and disabled in the game scheme. I see a lot of suggestions in the forum that receive positive responses by the devs and then never see the light. At this point I doubt this game will ever see big future updates seeing how the development is progressing, its sad but I understand that being the game free the motivation is affected by it. Anyway thank you for replying.
KoBeWi
KoBeWi's picture
User offline. Last seen 3 days 1 hour ago. Offline
Joined: 2010-12-25
Posts: 564
You can create vertical girders as land objects. Just give them a covered rectangle at each end. I did something like that with the gate thing in my Sanctuary theme.
[url=https://www.hedgewars.org/node/6490]My themes[/url] / [url=https://www.hedgewars.org/node/6995]Theme Editor[/url] / [url=https://www.hedgewars.org/node/6603]Code contributions[/url] / [url=https://www.hedgewars.org/node/6996]Dank[/url]
KIRA
KIRA's picture
User offline. Last seen 2 days 5 hours ago. Offline
Joined: 2014-09-23
Posts: 152
Thanks Kobewi I actually managed to create even diagonal giders. After all it wasnt that hard. [img]https://i.ibb.co/0J5yG2w/hw-2021-06-10-23-01-2478004.png[/img]
sheepluva
sheepluva's picture
User is online Online
Joined: 2009-07-18
Posts: 561
That's a nice workaround Smile A fun "side-effect" of that theme is that the regular dynamic-length horizontal girders can be turned off via the game scheme whenever you want to have non-horizontal girder land-objects only. As land-objects have their own toggle ^^
  [url=/user/3290][color=white][b]sheepluva[/b][/color][/url][color=#90BA5D] <- me[float=right]  [/float][float=right][url=https://www.openhub.net/accounts/80048][img]https://www.openhub.net/accounts/80048/widgets/account_tiny.gif[/img][/url][/float][float=right]my code stats -> [/float][/color] [i][color=#6080C0][size=8]a[size=4] [/size][/size][/color][color=yellow]Hedgewars Developer[/color][/i] [center][float=left]  [/float][float=left][url=https://twitter.com/sheepytweety][img]/images/twitter.png[/img][/url][/float] [url=/privatemsg/new/3290][color=#C0C0C0]click here to message me[/color][/url][/center] [color=#90BA5D][float=left]  [/float][float=left][url=https://en.wikipedia.org/wiki/Austria][img]/images/Flags/austria.png[/img][/url][/float][float=left] <- where I'm from[/float][float=right]  [/float][float=right][img]/images/Flags/united_kingdom.png[/img][/float][float=right][img]/images/Flags/germany.png[/img][/float][float=right]what I speak -> [/float][/color]
KIRA
KIRA's picture
User offline. Last seen 2 days 5 hours ago. Offline
Joined: 2014-09-23
Posts: 152
Big Grin thanks. that s surely an intresting side effect. Geek Girder
nemo
nemo's picture
User offline. Last seen 23 hours 32 min ago. Offline
Joined: 2009-01-28
Posts: 1861
We should allow objects to attach to objects ☺ Maybe even specify areas that must be in another object, or that can't be in anything except another object.
-- Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
KIRA
KIRA's picture
User offline. Last seen 2 days 5 hours ago. Offline
Joined: 2014-09-23
Posts: 152
Big Grin
Copyright © 2004-2023 Hedgewars Project. All rights reserved. [ contact ]