FAQ  •  Register  •  Login

Scissor Tool

Forum rules
Post confirmed bugs and approved feature requests here. Unapproved feature requests will be deleted.

Please limit posts to One Feature per Thread unless features are closely related.
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Thu Oct 17, 2013 4:50 pm

Scissor Tool

Would it be possible to add a scissor tool for editing polywalls?

- Imagine a big, square polywall.
- Plot some vertices in the middle of the polywall via right click as though you're drawing a regular wall. Ensure vertices connect to form a shape.
- Hit enter or delete and your selection disappears from the polywall.

Currently, the only way to make gaps/holes in a polywall is to add a bunch of vertices, move them all around, and just hope you don't need a couple of holes in a small space. Seriously, the vertice management is a massive pain.

Along with polywalls, allow the scissor tool to be used on a regular wall. Super useful if you have a long wall that needs to be sliced up. Instead of trying to create two new walls that imitate the existing wall, just use a scissor tool to cut out a section of the wall, and two vertices form instantly at the extraction point.

Applications:
- "Encased design," ie. putting a playing area inside of a large polywall to give the impression that the map is "encased." I know quartz uses this design a lot.
- Would be infinitely easier to carve a path through a polywall with a scissor tool instead of having to shuffle around vertices.
- Cutting up long walls easily.
- Mazes and traps.
- Art potential.

Just a suggestion. Another way to accomplish this would be a "merge tool" that merged two or more polywalls into one, but I reckon that would be harder to design for UI's sake, and I think a scissor tool would generally be easier to use.

Hope this made sense.
Follow Bitfighter! FacebookTwitterDiscord
<<

Fordcars

User avatar

Posts: 1016

Joined: Fri Apr 20, 2012 3:51 pm

Location: Some city, somewhere

Post Thu Oct 17, 2013 4:53 pm

Re: Scissor Tool

sky_lark wrote:Would it be possible to add a scissor tool for editing polywalls?

- Imagine a big, square polywall.
- Plot some vertices in the middle of the polywall via right click as though you're drawing a regular wall. Ensure vertices connect to form a shape.
- Hit enter or delete and your selection disappears from the polywall.

Currently, the only way to make gaps/holes in a polywall is to add a bunch of vertices, move them all around, and just hope you don't need a couple of holes in a small space. Seriously, the vertice management is a massive pain.

Along with polywalls, allow the scissor tool to be used on a regular wall. Super useful if you have a long wall that needs to be sliced up. Instead of trying to create two new walls that imitate the existing wall, just use a scissor tool to cut out a section of the wall, and two vertices form instantly at the extraction point.

Applications:
- "Encased design," ie. putting a playing area inside of a large polywall to give the impression that the map is "encased." I know quartz uses this design a lot.
- Would be infinitely easier to carve a path through a polywall with a scissor tool instead of having to shuffle around vertices.
- Cutting up long walls easily.
- Mazes and traps.
- Art potential.

Just a suggestion. Another way to accomplish this would be a "merge tool" that merged two or more polywalls into one, but I reckon that would be harder to design for UI's sake, and I think a scissor tool would generally be easier to use.

Hope this made sense.


The merge tool already exists sky!! Just select two things, and press J
skybax: Why is this health pack following me?
bobdaduck: uh, it likes you.
<<

Skybax

User avatar

Posts: 1035

Joined: Thu Mar 11, 2010 9:17 am

Location: Washington

Post Thu Oct 17, 2013 4:59 pm

Re: Scissor Tool

lol I just had to do this today, it was a pain. A scissor tool would be great.
I will try the merge thing and see if that works tho
raptor wrote:Sorry Skybax, I hijacked your signature so I could post lots of info.
Whittling While wrote:Does this mean I finally get quoted in someone's signature?
watusimoto wrote:Who are the devs around here?!?
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Thu Oct 17, 2013 9:38 pm

Re: Scissor Tool

Image

Image

I wrote this last month. Great minds think alike :)
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Fri Oct 18, 2013 12:16 am

Re: Scissor Tool

@kaen: Is that a plugin that does that, or is it in the editor proper?
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Fri Oct 18, 2013 1:28 am

Re: Scissor Tool

It's part of his kaentools I told you about, built for 019.
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Fri Oct 18, 2013 5:42 am

Re: Scissor Tool

This plugin that I wrote actually supports all four boolean polygon operations. For more details about this, you can read about it on wikipedia. Here are some more examples of what you can do:

Polygon subtraction with multiple arguments:
Image
Image

Polygon subtraction which creates holes:
Image
Image

Polygon intersection:
Image
Image

watusimoto wrote:@kaen: Is that a plugin that does that, or is it in the editor proper?

It's a plugin which was the original use case for the new Geom.clipPolys Lua method.
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Fri Oct 18, 2013 7:04 am

Re: Scissor Tool

AWW YISS.

That's way cooler than I even imagined. Props, man.

Also, merge tool, whaaat? Maybe I should start reading the changelog notes...
Follow Bitfighter! FacebookTwitterDiscord
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Tue Oct 22, 2013 10:27 am

Re: Scissor Tool

props. :)

to the victor goes the spoils :)
Bitfighter Forever.
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Sun Dec 01, 2013 8:46 pm

Re: Scissor Tool

Did the scissor tool plugin make it into 019?
Follow Bitfighter! FacebookTwitterDiscord
<<

raptor

Posts: 1046

Joined: Mon Oct 11, 2010 9:03 pm

Post Sun Dec 01, 2013 9:21 pm

Re: Scissor Tool

They did not - I think they are actually out-of-date with the Lua API changes in the editor. You'll have to poke kaen about updating them.
<<

watusimoto

Site Admin

Posts: 1558

Joined: Tue Feb 23, 2010 7:07 pm

Location: Quartz's mom's house

Post Mon Dec 02, 2013 2:47 am

Re: Scissor Tool

But since they are plugins, you can add them to your Bitfighter without having to wait for a new release. (If you can get the updated code, that is!)
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Mon Dec 02, 2013 9:06 am

Re: Scissor Tool

pokes kaen
Follow Bitfighter! FacebookTwitterDiscord
<<

Skybax

User avatar

Posts: 1035

Joined: Thu Mar 11, 2010 9:17 am

Location: Washington

Post Mon Dec 02, 2013 11:42 am

Re: Scissor Tool

sky_lark wrote:pokes kaen

I did that too immediately after reading this, except on IRC
raptor wrote:Sorry Skybax, I hijacked your signature so I could post lots of info.
Whittling While wrote:Does this mean I finally get quoted in someone's signature?
watusimoto wrote:Who are the devs around here?!?
<<

sky_lark

User avatar

Posts: 2053

Joined: Wed Mar 10, 2010 6:00 pm

Post Mon Dec 02, 2013 1:26 pm

Re: Scissor Tool

Maybe if we yell his name really loudly

kaaaaaaaaaaaaeeeeeeeeeeeen
Follow Bitfighter! FacebookTwitterDiscord
<<

Skybax

User avatar

Posts: 1035

Joined: Thu Mar 11, 2010 9:17 am

Location: Washington

Post Mon Dec 02, 2013 1:45 pm

Re: Scissor Tool

That was the sissiest yell I've ever read.

KAAAAAAAAAAEEEEEEEEEEEEEENNN
raptor wrote:Sorry Skybax, I hijacked your signature so I could post lots of info.
Whittling While wrote:Does this mean I finally get quoted in someone's signature?
watusimoto wrote:Who are the devs around here?!?
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Mon Dec 02, 2013 1:54 pm

Re: Scissor Tool

bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

Little_Apple

User avatar

Posts: 839

Joined: Sat Jun 11, 2011 12:31 pm

Location: Zanzibar Land

Post Mon Dec 02, 2013 2:05 pm

Re: Scissor Tool

Image
I hope I'm not too late..
Hee-ho!
<<

Skybax

User avatar

Posts: 1035

Joined: Thu Mar 11, 2010 9:17 am

Location: Washington

Post Mon Dec 02, 2013 2:12 pm

Re: Scissor Tool

Dude that went perfectly that was awesome lol
raptor wrote:Sorry Skybax, I hijacked your signature so I could post lots of info.
Whittling While wrote:Does this mean I finally get quoted in someone's signature?
watusimoto wrote:Who are the devs around here?!?
<<

kaen

User avatar

Posts: 209

Joined: Thu Jun 14, 2012 11:54 am

Post Mon Dec 02, 2013 2:27 pm

Re: Scissor Tool

Little_Apple wrote:I hope I'm not too late..


<--
bobdaduck wrote:Next, the moon!

└────────┘
⎈⎈⎈⎈
┌────────┐
<<

Little_Apple

User avatar

Posts: 839

Joined: Sat Jun 11, 2011 12:31 pm

Location: Zanzibar Land

Post Mon Dec 02, 2013 3:27 pm

Re: Scissor Tool

Aww yehhhh :zapdance:
Hee-ho!
<<

amgine

Posts: 1399

Joined: Thu Apr 19, 2012 2:57 pm

Post Tue Jan 07, 2014 3:53 pm

Re: Scissor Tool

works great :]
Bitfighter Forever.

Return to Bitfighter Features

Who is online

Users browsing this forum: No registered users and 33 guests