x


How to remove part of a texture?

Does anyone know how to remove part of a texture in a 2D space? For example, if I was to shoot a missile at a 2D wall and the missile had an explosion radius that would remove part of that wall. I was trying to figure if I placed some sort of circle on top of that texture then alphaed it out, but I can't figure this out. Thank you so much.

more ▼

asked Mar 08 '12 at 12:15 AM

maxxiedivine gravatar image

maxxiedivine
1 3 3 3

You'll probably want to do a model swap. If you simply use alpha to made part of the texture disappear, the hit box will still be there blocking your path.

Mar 08 '12 at 03:35 AM homer_3
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

In order to "Remove a Part of a texture" you would have to make separate textures and replace the full texture with the partially full texture when it is hit.

more ▼

answered Mar 08 '12 at 03:29 AM

DGArtistsInc gravatar image

DGArtistsInc
269 8 15 19

(comments are locked)
10|3000 characters needed characters left

Thank you for your reply! I was considering that, but I was hoping to find a solution like in Worms Armageddon or Monkey Quest ThunderBow. Such that when a missile hits any part of the terrain(texture), then it removes anything within that radius where the missile hit. I was thinking of doing something in 3D like shatter in Maya to deal with this, but I was hoping to keep it 2D. Please let me know if anyone comes up with alternatives to texture swapping. There was a comment posted by homer_3 where alpha could somehow be used. I will look into this. Thank you for your help!

more ▼

answered Mar 08 '12 at 08:34 AM

maxxiedivine gravatar image

maxxiedivine
1 3 3 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2210
x1040
x161
x101
x91

asked: Mar 08 '12 at 12:15 AM

Seen: 596 times

Last Updated: Mar 08 '12 at 08:34 AM