Search found 299 matches

by gramps
Tue Jun 04, 2019 5:26 pm
Forum: Closed Feature Suggestions [GZDoom]
Topic: Cross-Platform Startup Window
Replies: 17
Views: 2731

Re: Cross-Platform Startup Window

NanoGUI looks like a good retained-mode alternative: https://github.com/wjakob/nanogui Not sure what font library they use, though. My favorite font library is currently freetype-gl: https://github.com/rougier/freetype-gl It probably has the cleanest font rendering I've seen. Missing characters ...
by gramps
Tue Jun 04, 2019 1:32 am
Forum: Closed Feature Suggestions [GZDoom]
Topic: Cross-Platform Startup Window
Replies: 17
Views: 2731

Re: Cross-Platform Startup Window

That's not a bad idea, but wouldn't it be even better (or at least just as good) to have a menu option for each iwad, maybe all in a submenu, so you could skip the popup? That would be a pretty typical (optional) thing for an installer to set up, and would be more convenient than poking around in ...
by gramps
Mon Jun 03, 2019 10:51 pm
Forum: Scripting
Topic: [Decorate/ZScript] Item that sticks to a door
Replies: 2
Views: 543

Re: [Decorate/ZScript] Item that sticks to a door

Just spitballing here, but you could try something like this: - First, make sure the "arrow in wall" actor is actually in the moving sector. Make sure the tip of the arrow sprite is its world origin, and push it forward a little bit when it hits the wall. - Next, check if it's below the floor or ...
by gramps
Mon Jun 03, 2019 9:46 pm
Forum: Closed Feature Suggestions [GZDoom]
Topic: Cross-Platform Startup Window
Replies: 17
Views: 2731

Re: Cross-Platform Startup Window

I wouldn't miss it either. It's basically just a reminder that I either forgot to type `-iwad` or forgot to specify an iwad in my own pwad. I almost always close it and fix one thing or the other so it won't pop up next time. If I didn't usually have a shell open, I'd probably create a bunch of ...
by gramps
Thu May 30, 2019 2:00 pm
Forum: Scripting
Topic: [zscript] Finding the adjacent linedef
Replies: 5
Views: 388

Re: [zscript] Finding the adjacent linedef

You should be able to get the first two sectors by looking at the first line's sidedefs, and then get neighboring sectors by doing the same thing with all the lines in those two sectors. I think the only common thing this would miss would be something like two separate rooms sharing one corner ...
by gramps
Thu May 30, 2019 1:43 pm
Forum: Scripting
Topic: [zscript] Finding the adjacent linedef
Replies: 5
Views: 388

Re: [zscript] Finding the adjacent linedef

I think your only option is to look at every single line, check if it shares a vertex, then check the angle. But, depending on what you're doing, it might be good enough to only check the lines in the same two sectors as the first line. Or, check those two sectors and any neighboring sectors. That ...
by gramps
Wed May 15, 2019 1:21 am
Forum: Mapping
Topic: To what extent is procedural generation possible?
Replies: 5
Views: 1548

Re: To what extent is procedural generation possible?

I've managed to link up prefab areas using an approach similar to Wang tiles , where portals on each edge of an area define an edge of a tile. I've built a small zscript library to help with this; it handles generating the dungeon at runtime, linking up the portals, rotating map geometry, actors ...
by gramps
Tue May 14, 2019 11:21 pm
Forum: Off-Topic
Topic: Calling Maths experts: how can ◊□X → □X be intuitive?
Replies: 3
Views: 562

Re: Calling Maths experts: how can ◊□X → □X be intuitive?

it is mathematically sound Out of curiosity, what does a proof for that look like? Indeed, it's not definitely obvious that there are even valid meanings for things like "necessarily possible" and some mathematicians reject composing the "necessary" and "possible" operators at all. Sounds like that ...
by gramps
Sat May 11, 2019 1:30 pm
Forum: Scripting
Topic: One-hit stealth kills with knife?
Replies: 13
Views: 1166

Re: One-hit stealth kills with knife?

It might work if you change that version number at the top to "3.3.0", but might as well update it.
by gramps
Sat May 11, 2019 12:35 pm
Forum: Scripting
Topic: One-hit stealth kills with knife?
Replies: 13
Views: 1166

Re: One-hit stealth kills with knife?

Hmm, not sure why, I just ran it again and it works fine here. I just packed it up as a pk3 if that helps.
by gramps
Fri May 10, 2019 10:12 pm
Forum: Scripting
Topic: One-hit stealth kills with knife?
Replies: 13
Views: 1166

Re: One-hit stealth kills with knife?

A simple way to do it would just be to check that your victim isn't targeting you. That is, do a zero-damage lineattack, and check that the linetarget's target is not `self`. Quick example (try `give stealthfist` on MAP01): class StealthFist : Fist { States { Fire: PUNG B 4; PUNG C 4 StealthPunch ...
by gramps
Fri May 10, 2019 9:28 pm
Forum: Off-Topic
Topic: Linux Kernel On Windows 10
Replies: 11
Views: 1025

Re: Linux Kernel On Windows 10

Maybe a less gimmicky variant. They don't necessarily need to add proprietary extensions in this case; the "extend" part might be already covered just by being able to run all the usual Windows software alongside the *nix stuff. If they do start adding goofy proprietary gimmicks, I guess we'll know ...
by gramps
Wed May 08, 2019 12:00 pm
Forum: Off-Topic
Topic: MIDI is no longer safe on Youtube
Replies: 37
Views: 2807

Re: MIDI is no longer safe on Youtube

Sad part is, a lot of us here are probably old enough to remember when EA published some genuinely great stuff (I'm talking Mail Order Monsters, Archon, Pinball Construction Set)... Shame about those microtransactions.
by gramps
Tue May 07, 2019 10:14 pm
Forum: Off-Topic
Topic: MIDI is no longer safe on Youtube
Replies: 37
Views: 2807

Re: MIDI is no longer safe on Youtube

What other motivation would I have? I may have gotten donations occasionally to help with hosting on the site, but most of the cost has been directly out of my pocket. So what motivation would I have to do it any other way? Well, you and this forum might be a special case. I don't really need to ...
by gramps
Tue May 07, 2019 6:57 pm
Forum: Off-Topic
Topic: MIDI is no longer safe on Youtube
Replies: 37
Views: 2807

Re: MIDI is no longer safe on Youtube

For me, it's about common decency - something I feel is really lacking in today's world. And Google and Twitter and Facebook might say the same, but considering they are corporations with an agenda, it's very hard to believe them. A long time ago, I worked for a guy who told me something that stuck ...

Go to advanced search