Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - inkoman

Pages: [1]
1
Support / Re: Can someone write me a very simple shader?
« on: January 21, 2016, 05:47:13 am »
It's definitely the right track but unfortunately doesn't seem to work :( Thanks for the effort though - I've decided to make all of the relevant sprites only white and transparent pixels so that I can adjust the color directly on the tk2dSprite without touching the shader. My sprites only need to be 1 color so this solution is easiest.

2
Support / Can someone write me a very simple shader?
« on: January 09, 2016, 01:18:39 am »
Hi there,

I'm sorry for basically asking for a handout, but shaders are way over my head :( I was wondering if anyone can come up with some code for a shader to convert all non-transparent pixels into a color of my choosing (if I can somehow just replace RGB in the shader code or something) for a tk2dSprite. I appreciate any help very much!

3
Support / Clipped Sprite Rotation While Preserving Original Rotation
« on: October 04, 2015, 11:30:17 pm »
Hi,

I'm trying to figure out if there's a way to rotate a clipped sprite while maintaining the original texture's rotation. For 90-180-270 degrees, it works just fine, but I would like to make it so rotating the clipped sprite will "reveal" a sloped/slanted rectangle area of the image, but not rotate the actual image with it. I hope that makes sense... is there a way to do this, or is there some other method that I may have overlooked that achieves the same result?

Thanks!

4
Support / Re: New UI Manager vs Old Way
« on: January 20, 2014, 11:44:48 pm »
Thanks, I think I'll go ahead and learn the new UI system then!

5
Support / New UI Manager vs Old Way
« on: January 20, 2014, 10:50:41 pm »
Hi,

I was wondering what advantages/features the relatively new UI manager has over the "old" way of doing UI (like the tk2dButton class), namely the demo scene "6 - button and 3d sprites". Can I still use the Control Prefabs for the UI manager using the "old" method?

Thanks.

6
For example, I have sprite0 and sprite1, each with custom scripts attached to them. Let's say each script holds strings, string0 and string1 respectively. When I use static sprite batcher and merge sprite0 and sprite1, is it possible at all to access string0 and string1? Thanks!

7
Support / Re: 2D destructible terrain
« on: March 03, 2013, 10:30:40 pm »
Ah that's what I thought. No easy way out haha. Thanks I'll think about it!

8
Support / 2D destructible terrain
« on: February 28, 2013, 03:12:16 am »
Hi there,

I've spent the last few days trying to come up with a good way to do 2D destructible terrain like Worms or Gunbound using the 2d toolkit. I've run out of ideas, and was hoping someone here might have a good suggestion. Real-time collider changing and using a bunch of small box colliders as "voxels" are both too inefficient.

Thanks

9
Support / Re: How do you "hold down" a tk2dButton?
« on: February 01, 2013, 12:52:17 am »
Ah that may be an acceptable solution. I was looking through the documentation and found:

ButtonHandlerDelegate    
ButtonAutoFireEvent: Occurs every frame for as long as the button is held down.

Any idea where and how I would use this delegate?

10
Support / How do you "hold down" a tk2dButton?
« on: February 01, 2013, 12:30:56 am »
Say I want to continuously call a function as long as I have a tk2dButton held down - how do I go about this?

11
Support / Re: Black Border Between Planes?
« on: November 08, 2012, 09:28:39 pm »
What's the difference between Default, Black Zero Alpha, and Extend?

12
Support / Re: Black Border Between Planes?
« on: November 08, 2012, 09:27:45 pm »
I love you. Thank you!

13
Support / Black Border Between Planes?
« on: November 08, 2012, 01:31:40 am »
Hi,

Whenever I use the Tile Map or Sprites and put textures together (like grass tiling for example), I can see a noticeably black line in between the planes. Any ideas why this might be? I attached a screenshot of 4 grass tiles put together at their intersection.

Thanks!


Pages: [1]