Hi all, My name is Matthew Fricker, an aspiring Adventure game creator from Scotland.
This is my first post here, and I've read the forum rules, so I hope I post this correctly.
I am very new to both Unity and game creation in general. And there are a few questions I want to ask. I am using Unity 2017.1.1f1 and Adventure Creator 1.59e
Also , the game I am creating is in 2D , if that is of any help.
1. I have a lot of high contrast lighting in my scenes. I have learnt how to set up a tint map to darken my character , but two things bother me : Firstly, I see I can use the tint map to darken my character , but it seems to me that white on a tint map is the standard tint of the player, and 100% black is the darkest the character goes. I assumed wrongly that 50%grey would be the standard , and darker would tint the character darker, and lighter would tint him lighter . The reason I am asking is because I need to both darken my character in shadows, but lighten him when he is in strong sunlight, how do I do this?
Secondly, it seems to me that the tint map only has an affect vertically, but I also need to tint my character horizontally, so for example , his top half is brightened by a strong beam of light shining horizontally. Again how do I do this?
2. Another issue I have found is when I use a polygon collider on small items for hotspots , the yellow label gets in the way when I try to edit the collider to suit the objects shape. Is there a way to hide the label when editing the collider?
3. Lets say I have an hotspot that a character can look at. I want to have several different verses of dialogue that the character can say randomly so that he does not say the same thing over and over when you click it. How can I have different lines of dialogue that are played at random?
That's all for now. But there will be many more questions to come. Can I just add that I am a complete coding newbie, so I would really appreciate it if any answers that require coding are dumbed down.
Thanks in advance to anybody who helps me out
Comments
1. Tint Maps offer a fairly basic effect with the benefit of being simple to use. It should be noted, though, that AC is not a "visual" asset, in that aside from simple things like full-sprite tinting it doesn't do any actual rendering tricks of its own - but this means that it is more able to work with other assets that do. There are several 2D lighting assets on the Asset Store, and if they can work with Unity's standard Animator / sprite renderer components then it shouldn't be too problematic to have AC work with them as well. Also know that Unity sprites start with the Sprites-Default shader, which don't react to lights - but you can change this to Sprites Diffuse within the Sprite Renderer component, and this shader does. It may be that simply switching sprite shader, together with careful light placement, is enough for your needs.
2. Yes - the yellow Hotspot label can be hidden by changing it's icon, in the top-left of the Inspector, from the yellow box to "None".
3. The Variable: Check random number Action can be used to run a different subsequent Action each time it is run - and also has an option to prevent the same number being chosen twice in a row. This can be used with as many subsequent Dialogue: Play speech Actions as you need responses. It's best to use the ActionList Editor window for this, rather than the Inspector, so that you can better visualise the node layout.