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

Pages: [1]
1
NGUI 3 Support / Re: Scrolling Credits Scene
« on: October 18, 2013, 11:29:12 PM »
Where is the problem to import the JPEGS and use them as NGUI-Sprites?

I'm not sure how to import the JPEGS as NGUI Sprites. Every time I try to use my own images in NGUI it fails. I ended up creating the credits list in WORD, saving as PDF, and then converting the PDF to JPEG, which ended up being 5 JPEG images. May not be the best method out there, but it looks pretty good to me :)

2
NGUI 3 Support / Re: Scrolling Credits Scene
« on: October 18, 2013, 11:02:34 PM »
I found a solution that seems to work. I created a plain and added the JPEG's to the plain. I set up the 2D camera in front of the Plain. Added a quit button at the bottom so the player can quit the game after the credits scroll through. All I need to do now is add a script to the camera to make it start at a y position at the top of the plain, and  change the y position over time to create a scrolling effect and stop at the bottom of the plain. Or change the y position of the plain to create the same effect. I think moving the camera will be the best approach.

3
NGUI 3 Support / Re: Scrolling Credits Scene
« on: October 17, 2013, 07:32:19 PM »
Do you mean automatic scrolling like in most games/movies or do you mean that the Credit-Screen itself can be scrolled via Touchinput.   

For the first one (one method off millions, I guess):

- make one NGUI-Label for the whole Credits or for every Name/Word a single Label
- create an empty GameObject -> make this Object the parent of the labels
- attach a script to the GameObject where you move it constantly up/down/whatever


For the other one you could create a Scroll-View-Panel. In fact, you could make the first one a Panel, too. So you could use Clipping (Soft Clipping) which would look nicer.

Long answer short: yes, it is possible.

Yes. I was talking about the first one. Can it be done by making a JPEG of the list of credits (this is the best way I can think of to get other company's logos in) and then set the JPEG in NGUI and have it scroll up? I haven't had any luck adding in my own images in NGUI so far is why I ask. I'm pretty new to using NGUI, even tho I have had it for a while :p

4
NGUI 3 Support / Scrolling Credits Scene
« on: October 17, 2013, 10:23:15 AM »
How can a scrolling credits scene be made with NGUI? I have been searching the forums to see if there was anything on how to do this, but I haven't been able to locate anything. Can it be done?

Pages: [1]