Forum rules - please read before posting.

Issue with Hotspot and Highlight

I've recently downloaded the plugin and have followed the manual as well as youtube videos on getting a hotspot to highlight on mouseover. However, it does not seem to work for me. I am also having issues with the 2D demo, when I run it, the main character is not in the scene. I followed the set up instructions so I'm not sure what to do at this point. Any help on a step-by-step guide would be helpful, my main concern is simply to get the highlight to work.

https://imgur.com/a/OAVt6Lv

Comments

  • edited November 2023

    Welcome to the community, @goffey.

    You can configure the exact behaviour of the Highlight effect within the Highlight component's Inspector, but the default values will be enough for it to work - provided it can work with the material and render pipeline.

    The default effect works by brightening the main colour channel of the Material's shader, which should work for the default Sprites or Standard shaders - but may need tweaking if you're using something else.

    Which render pipeline are you using, and what does the "sign" object you've attached to use as a Material / Shader? If you can share screenshots of its full Inspector, I'll try to see if I can spot the issue.

    I am also having issues with the 2D demo, when I run it, the main character is not in the scene

    The Console should report a warning if you're running a Demo game without the correct Managers.

    Each game made with AC - including the two demos - has its own Managers. To run either of AC's demo games, you'll just need to make sure that you have the correct Managers loaded into your AC Game Editor before opening the scene.

    AC can automate this step for you by pointing to the "Getting started" section of the top toolbar. A tutorial on this can be found here.

    Just be aware that you'll need to re-assign your own game's Managers afterwards - if you've used the New Game Wizard to create them, you can do this by double-clicking the ManagerPackage file it created in your game's sub-folder.

    By default, the 2D Demo doesn't rely on the highlighting effect, but you can test it here by attaching the Highlight component to e.g. the "ParkBench" sprite inside _SetGeometry, and assigning in the Bench Hotspot.

  • Hi @ChrisIcebox,

    thanks for the warm welcome! Really excited to be using this tool! To answer your questions:

    1. The render pipeline I’m using is the Universal Render Pipeline
    2. The sign object uses a shader grapher that I created using this tutorial :

    I am sure there is a simpler way, I suspect I've overly complicated this

    Images attached here:
    https://imgur.com/a/OjsGaqK
    https://imgur.com/a/RzbXxcT

  • I've gotten it to work!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.