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.


Topics - PabloAM

Pages: [1]
1
NGUI 3 Support / Tween isPlaying?
« on: December 21, 2016, 01:05:42 PM »
Hello I would like to know if there is any way to know if a Tween is playing in order to avoid to call it again.

Thanks!

2
NGUI 3 Support / LocalScale doesn´t work inside UIGrid or UITable
« on: December 06, 2016, 07:50:26 AM »
Hello, I can´t rescale a gameobject when I add to a UIGrid or UITable.

I tried with those ways:

  1.  ItemSurpriseBox item2 = PoolManager.Pools[Globals.poolGameManager].Spawn("ItemWon").GetComponent<ItemSurpriseBox>() as ItemSurpriseBox;
  2.         item2.transform.localScale = new Vector3(0.3f, 0.3f);
  3.         item2.SetInfo(Globals.TypeItem.propMax, "2", false);
  4.         Vector3 tmp = item2.gameObject.transform.localScale;
  5.         tmp.Set(0.6f, 0.6f,1f);
  6.         item2.gameObject.transform.localScale = tmp;
  7.  
  8.         NGUITools.AddChild(itemsWonWid.table.gameObject, item2.gameObject);
  9.         ////itemsWonWid.table.Reposition();
  10.         PoolManager.Pools[Globals.poolGameManager].Despawn(item2.transform);
  11.  

Second attempt:
  1.   ItemSurpriseBox item1 = PoolManager.Pools[Globals.poolGameManager].Spawn("ItemWon").GetComponent<ItemSurpriseBox>() as ItemSurpriseBox;
  2.         item1.SetInfo(Globals.TypeItem.comboKm, "1", false);
  3.         NGUITools.AddChild(itemsWonWid.table.gameObject, item1.gameObject);
  4.         //itemsWonWid.table.Reposition();
  5.         PoolManager.Pools[Globals.poolGameManager].Despawn(item1.transform);

Any of them works.

Any suggestion?


Thanks!

3
NGUI 3 Support / Best animaton software for NGUI
« on: July 08, 2015, 09:32:41 AM »
Hello, I´m looking for a Animation software compatible with NGUI.

I have tested Puppet2D but it has a problem that it´s not compatible with animation with "meshes sprite".

Do you know any animator compatible with meshes and bones for NGUI?

Thanks in advanced! :)

4
Hello, I´m saking why it´s not possible change Size of widget inside UISprite in runtime.

Without that feature, We can´t for example create the bullet of Pang...



And Change scale doen´t works for Tiled sprite for example...

Anyone know why?

Thanks.

5
NGUI 3 Support / Example 8 - Scroll View (Camera) but without camera?
« on: April 11, 2015, 05:07:56 AM »
Hello, is there any way to do the smooth scroll view of the camera example, but without do it with cameras, etc.??

Why is it not as easy as, a Scroll view with a Grid and inside the Grid, game objects with UISprite and UIbuttons?? :S


Thanks!

6
NGUI 3 Support / Updated and everything is purple.
« on: August 22, 2013, 06:23:02 AM »
Hello, Here I am.

I have updated to the last version, 2.6.4, and I noticed that everything was purple.

Seams that "Unlit/Transparent Colored" doesn´t work. In order to fix this I had to change Atlas materials to "Unlit/Transparent Colored (AlphaClip)"  but I think that is not correct, is??

Thanks in advanced!

7
NGUI 3 Support / [PLUGIN] RPG Dialog
« on: July 23, 2013, 05:04:25 PM »
Hello everyone :)

I would like to introduce to you a new plugin that I have been working for a weeks.

RPG Dialog :)


An easy and faster way to create RPG Dialogs!!

Try it yourself:  DEMO

Features:
- Get the text from JSON file. (Next version from a URL)
- The texts fits dynamically according to configuration of the Dialog. (Size and max lines)
- Possibility of change image and name of the speaker.
- It is possible, change color, and speed of text in run time.
- Sections of text can call a function. This can be used for instance to change image of speaker or create a particle effect.
- It is NGUI version, and comes with NGUI free version.

You can get it here: RPG DIALOG

You can use this thread for questions or feedback.

Thanks in advanced! :D

8
Hello, I have a doubt about perfomance with Panels.

I have a lot of Panel in Scene which almost all are with alpha to 0.
I dont know if would be better set them active to true or false instead of set alpha to 0 or 1.

What get it more performance??

Thanks

9
NGUI 3 Support / [SOLVED] Chat example with scroll (TOUCH)
« on: May 17, 2013, 11:16:46 AM »
Hello, I find out about that chat example has scroll but only with Scroll whell of the mouse.

Any idea how to do the scroll but with touch?


Cheers!

10
NGUI 3 Support / Call when finished with PingPong?
« on: April 09, 2013, 06:55:02 AM »
Hello, I´m having troubles with "Call when finished" and when the Style is "PingPong".
The animations never finish so that cant "call when finished".


Any suggestion?

Thanks

11
NGUI 3 Support / [SOLVED] Keep Dragging an UIDragObject
« on: March 27, 2013, 08:48:35 AM »
Hello everyone,
I´m having troubles trying to keep dragging an UIDragObject, If I get out from its collider the object stops, But in the example  6 "Draggable Window", you can move the coursor whatever you want and dont stop to move.

What can I do that?

Thanks!

12
NGUI 3 Support / [SOLVED] Problem adding Children and Tweening after
« on: March 21, 2013, 08:52:35 AM »
Hello, I´m having troubles with tween position after change the Parent of some Children.

The thing is, I have a Parent with some children:
-DeckPlayer
-- Card1
-- Card2
-- Card3

After do some movements I´d like to change the parent of one Card to other parent, so at finish of one tween I call to:
  1. public void ChangeParent()
  2.         {
  3.                 this.gameObject.transform.parent = Deck1.transform;
  4.         }
  5.        

In the Hierarchy shows that they are now Children of Deck1 showing this:
-Deck1
-- Card1
-- Card23

For finish, I just want to move they together with a simple "Tween position" attached to Deck1, that Tween is activated ad played but just one Card moves, the other stay in the same position even seeing how some border is moving :S

Yes, It´s so unusual.

Thanks in advanced.

Pages: [1]