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 - Code

Pages: [1]
1
Support / Re: Using tk2dButton Events
« on: May 03, 2013, 01:33:58 pm »
Hey Unikron

I tried applying the UI buttons. I think that multi.touch is working more nicely now, but I still haven't got the desired effect.

What I want is when the user places his finger outside the button, then slides the finger along the screen and he gets above the button, the button should be activated. Is this possible? I couldn't find documentation for you ui beta, so I guess you haven't done one yet  :P

2
Support / Re: Using tk2dButton Events
« on: May 01, 2013, 12:12:28 pm »
Okay I'll try do that :) Thanks!

3
Support / Re: Using tk2dButton Events
« on: May 01, 2013, 11:53:46 am »
2dtkbutton, there's no ui manager for that right?

4
Support / Re: Using tk2dButton Events
« on: May 01, 2013, 10:52:18 am »
Yeah, Unity can be odd sometimes  ;D

Right now I'm having another problem, If the player keeps his finger on the left button, but then chooses to swipe/follow along the screen until he touches the right button, the right isn't activated. I need to lift my finger in order to touch another button. Is there anything I can change to not have this behavior? :)

5
Support / Re: Using tk2dButton Events
« on: May 01, 2013, 09:29:39 am »
Weird, today when I started unity and tried changing the scaling from 0.01 to 0 (which still gave me problems before) it worked as it should. The buttons wasn't close to the near plane, so I'm not even sure why it did as it did. Oh well works now :)

6
Support / Re: Using tk2dButton Events
« on: April 30, 2013, 02:39:35 pm »
Hey Unikron, is the ButtonDownEvent supposed to run every frame as long as the button is pressed down? I figured it would only happen once, until you lift your finger, but mine continues to activate.

Code: [Select]
    CrossButton.ButtonDownEvent  += OnScreenJumpDown;

 public void OnScreenJumpDown(tk2dButton source)
    {
        Debug.Log("Keeping finger on button");
    }

7
Releases / Re: 2D Toolkit UI 1.0 beta 3
« on: April 29, 2013, 02:23:08 pm »
So will the final be included in 2d toolkit? :D

Pages: [1]