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

Pages: [1]
1
NGUI 3 Support / Re: Karaoke Implementation
« on: August 14, 2014, 10:11:51 AM »
Thank's just doing it with UIPanel with alpha clipping.

2
NGUI 3 Support / Re: Karaoke Implementation
« on: August 13, 2014, 09:11:04 AM »
What would you suggest, creating a custom shader of alpha mask somehow?

3
NGUI 3 Support / Karaoke Implementation
« on: August 13, 2014, 07:46:03 AM »
I have a task implementing Karaoke for a song and I need to it to look exactly like here: https://www.youtube.com/watch?v=Cgdes6lFjzM

Any idea of how this effect of partial label coloring can be accomplished?

4
NGUI 3 Support / Re: UICenterOnChild broken in 3.6.9?
« on: August 13, 2014, 05:27:59 AM »
Hi it's already discussed here

http://www.tasharen.com/forum/index.php?topic=10743.msg50376#msg50376

Should be fixed soon.

5
NGUI 3 Support / Check if button is pressed every frame
« on: April 12, 2014, 07:22:03 AM »
I need to check whether the specific widget is pressed or not each frame. What is the best way of doing this? Seems like a trivial task but I cannot figure out a perfect solution.

What i have now is this code, but the problem is that the FLY button is not always released when multiple different buttons are pressed at the same time if I use Unity Remote. It seems to work OK on device. Is my solution OK then?

using UnityEngine;
using System.Collections;

public class FlyButton_NGUI : MonoBehaviour
{
    public bool matchToInputSettings;
    public string buttonName;
    private CrossPlatformInput.VirtualButton _flyVirtualButton;

    private bool _isFlyPressed;

    void OnEnable()
    {
        _flyVirtualButton = new CrossPlatformInput.VirtualButton(buttonName, matchToInputSettings);
    }

    void OnDisable()
    {
        _flyVirtualButton.Remove();
    }

    void OnPress(bool isDown)
    {
        print("OnPress : " + isDown);
        _isFlyPressed = isDown;
    }

    void Update()
    {
        if (_isFlyPressed)
        {
            _flyVirtualButton.Pressed();
        } else {
            _flyVirtualButton.Released();
        }
    }
}

6
NGUI 3 Support / Assets/NGUI/Editor/FreeType.dylib is missing
« on: March 18, 2014, 01:45:09 PM »
After importing into new project when opening Font Maker the error message appears "Assets/NGUI/Editor/FreeType.dylib is missing". Pressing the button and selecting this file manually does not do anything. (OS X Mavericks, NGUI 3.5.4 r2). Am I missing something or something is wrong?

Pages: [1]