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

Pages: [1]
1
NGUI 3 Support / Sprite Animations for Selection
« on: January 22, 2015, 12:31:15 PM »
Hi

I have made an animation of a 'selection bar' out of 15 frames.
When the user pushes down on the keyboard, the anim will play and stop on the last frame.

Ive played around with a few of the 2D animation scripts but having trouble working out the best one to use.

Ive attached an mp4 of what im trying to do, and the sprite sheet.

2
NGUI 3 Support / Support for Resolutions
« on: January 13, 2015, 08:04:11 AM »
Hi

We have made a Vita game at native resolution of 540p, and must support ps4 at 1080p. Here's my issue:

I created the vita GUI at 1080p , ie double required scale.

The PS4 elements must be 75% of this double size, then vita must be 50%. This is so the GUI doesnt appear as bulky on larger screens.

Is it even possible to nicely support this resolution change without duplicate gameobjects?
Ideally I would like to have a 2048 atlas texture for ps4 that scales to 1024 on vita, at the same time as the sprites taking up less room on screen in scale.

Would you reccomend just using 2 atlas's, 2 textures, and 2 gameobjects, then just loading one of them per platform?

3
NGUI 3 Support / Tiled Font Scrolling
« on: October 08, 2014, 06:07:59 AM »
Can you suggest any way to achieve this kind of backdrop (See attached image). Preferably I'd like to keep it as a font/label so I can change the text for each menu screen and support translations :) Im refering to the tiled OPTIONS in the BG in case there's any confusion. Id like to scroll this gently too

4
NGUI 3 Support / GC Alloc each frame
« on: February 27, 2014, 05:32:19 PM »
Ive been profiling our game after we were getting some GC.Collect calls thrashing the FPS. We've narrowed it down to two NGUI related calls. UIPanel.LateUpdate and the OnMouse events im guessing it creates. Ive attached a picture of the profiler.

All our UI does each frame is update a FilledSprites fill. It can be seen on the 3 green bars and the thermometer. That is ALL that we have updating here but eventually this seems to make the GC collect causing an FPS drop for us.

Ive tried moving the none static Sprites to their own panel to reduce having to redraw the entire UI but the allocation eventually comes.

Could I be doing something wrong or are these potential leaks here?

5
NGUI 3 Support / Re: Scrolling UV Animation
« on: February 25, 2014, 04:24:28 AM »
Thank you so much dude, christ this is the best support ive ever experienced. Congratz

6
NGUI 3 Support / Re: Scrolling UV Animation
« on: February 22, 2014, 12:00:02 PM »
OK, thank you for the support, It was the script writing part that i needed to avoid << smelly artist doesn't understand the use of public and private stuff...


I'll have to get help after the weekend then. Thanks anyway

7
NGUI 3 Support / Re: Scrolling UV Animation
« on: February 22, 2014, 11:13:51 AM »
Been trying to get this feature to work all night xD could I possibly get some help from someone who understands this? Im worried its no longer possible and am considering frame animation to compensate. This will be far too slow though :S

8
NGUI 3 Support / Re: Scrolling UV Animation
« on: February 21, 2014, 05:06:45 PM »
Btw I was writing a post to say thank you for the help, but you guys are too quick for me :D

9
NGUI 3 Support / Re: Scrolling UV Animation
« on: February 21, 2014, 05:05:54 PM »
Yeah i tried the scripts just a second ago, and with not much luck. The console wasn't too happy with me xD
It's all way over my head unfortunately.

10
NGUI 3 Support / Scrolling UV Animation
« on: February 21, 2014, 04:38:59 PM »
Hi

I was wondering if there was now a simple way to achieve this effect? http://www.youtube.com/watch?v=2CBTFqWioD4

This effect features a great deal in my design and I'm struggling to find a way whilst also using sprite sheets.
Any help would be really appreciated.
Thanks

Pages: [1]