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

Pages: [1]
1
NGUI 3 Support / Activating and Deactivating Buttons?
« on: October 24, 2014, 12:27:19 PM »
I have done a search and cant seem to find what I need.

I wish to be able to activate / deactivate buttons, depending on the item that is selected (picked up). I want however for the button to be visible, but greyed out so as to indicated its function is NOT available.

For example: item picked up is NOT equipable thus buttons that allow the item to be equipped should be greyed out and disabled. For functions that are available those buttons should be normal and clickable.

2
NGUI 3 Support / Is It Possible To Create A Dynamic Menu In NGUI
« on: October 07, 2014, 05:29:48 PM »
My game uses a weight based inventory and bag system and I wish to generate a dynamic list of items in inventory (separate from player - ie stash box) and the bag attached to the player.

For each item in the bag or inventory box, I wish the menu to generate a data set for each item that is in the bag/box. For example, an Image of the item, its weight, its value, the count of the item (how many in bag) and of course option buttons for each item. The layout of the data table is common for all items, just the data will change but for each item a new line of data needs be created on the fly as the bag/box contents changes.

I am not sure if NGUI can do this as I see no examples or demos about this topic. I only see inventory boxes that are filled and empty ones show as empty.

Hoping i am not confusing with my explanation.

I have attached an image to show what I want to do.

3
NGUI 3 Support / Newbie Questions
« on: September 14, 2014, 01:26:10 PM »
Hi all,

I have had NGUI for a while now and finally taking time to learn it. I have however found some confusion and need a little help.

1. Can someone steer me to examples of making a player HUD that sits at the bottom of the screen all the time. I can't seem to find how to do this or not understanding... I set up the UI root, and it shows, but it only show the character on a blue screen, no terrain etc. Obviously I have missed something. I want the player basic stats and such to be visible while playing.

2. Is it possible, to build a dynamic table for items. For example item bag has several items in it and wish to check the bag for an item count, then build a table showing all items in the bag in the inventory window. Can't seem to find any way of doing this within NGUI. The table contents will vary depending on the number of items in the bag.

3. Would also like a pop-up moveable window to show when an Item is picked up. The window of course has options of what to do with the item such as drop, keep, use, equip etc.

Any help is appreciated

4
Other Packages / Re: Tasharen Water
« on: January 18, 2014, 11:13:08 AM »
Hi guys,,, very new to unity, and looking at many packages mostly as a learning tool...  Just purchased Tasharen Water, and the multi-purpose game starter kit... also have added NGUI and Playmaker packages in a new project....

I get a fatal error and can't proceed... the error is coming from Tasharen Water....  "Assets/Tasharen/Water Example/Scripts/RandomGenerator.cs(4,14): error CS0101: The namespace `global::' already contains a definition for `RandomGenerator'" also getting a warning from the MPGSK "Shader wants normals, but the mesh Laser Beam doesn't have them
UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object[], String)" . any help or suggestions would be appreciated... thanks guys. Using Unity 4.3.3f1.  Free version, latest build.

Pages: [1]