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

Pages: [1]
1
Other Packages / Re: NGUI: HUD Text
« on: December 17, 2014, 07:15:30 PM »
I made a damage text for a TD game. Each turret has its own hudtext so if they are attacking a target the hudtext will increment it's own damage. Each turret can also cause ability effect which will change the color of the text. Well imagine you have 6 of that turret shooting at one enemy. You will have texting bunched up in one area scrolling upward. A better approach to this is to randomize the text scroll either bounce left or bounce right so you can better see the damage.

It's important for player to see this damage so they can better understand what tower and what element is causing the most damage so player can upgrade their weakest element.

2
Other Packages / Re: NGUI: HUD Text
« on: December 17, 2014, 01:32:16 AM »
ArenMook,

I know HudText hasn't been updated for awhile but I still like it. I'm trying to add random value to the offset curve but it requires me to edit the code but I'm not as good as you cause I tried to add some curve and it either gives me errors or does things that I expected to do but didn't do. In future updates (which I hope soon) can you add random side curve and random offset curve? It would be nice to allow us to adjust which way the text will fly, bounce, zoom out etc. Thanks!

3
NGUI 3 Support / Re: Losing sprite references using Atlas reference
« on: February 16, 2013, 03:41:56 PM »
I just now found out that if my atlas aren't even I loose sprite reference.

4
NGUI 3 Support / Re: Change Sprite image in Runtime
« on: September 16, 2012, 11:56:35 PM »
Ohh I see! Slice sprite are better used for panels, buttons, mostly gui stuff. I was using slice sprite for my game icons like "Superword Flame" kinda stuff. Not only did you solve my issue but you educated me as well. Much appreciated, Now I really don't feel bad paying for NGUI full price lol....dang me.

5
NGUI 3 Support / Re: Change Sprite image in Runtime
« on: September 16, 2012, 11:51:05 PM »
TY! Kind Sir ;D I must admit I never really understood the different between a slice sprite an a basic sprite.

6
NGUI 3 Support / Re: Change Sprite image in Runtime
« on: September 16, 2012, 11:42:25 PM »
Hi ArenMook Ty for the reply. I honestly have tried that and it didn't work out for me. I think its because of my lack of understanding of how to build a GUI with NGUI properly.

Is there a method that can access the sprite width and height data? If I have access to that data I honestly think I can fix my issue but unfortunately I can't access the Sprite Size data in the atlas.

7
NGUI 3 Support / Re: Change Sprite image in Runtime
« on: September 16, 2012, 10:11:18 PM »
Hello, I gave in and finally registered after 6 months of using NGUI. I love it. GJ ArenMook! I was able to find most of my answer just by searching but unfortunately I have to ask this one.

yourSprite.spriteName = "Sprite One"; //dimension 100x100

//do something

yourSprite.spriteName = "Sprite Two"; // dimension 125x150

Ask you can see I switch from sprite one to sprite 2 during run-time, however sprite two still uses sprite one local scale of 100x100.

how can I access the sprite size during runtime and change it?

Pages: [1]