Forum rules - please read before posting.

Card Game Feature

124»

Comments

  • could you provide me with a custom script that makes sure that the cards when you click on them that the one card you click goes in the middle of the screen and the other cards go away. Do this with a transorm of an emty game object.
    And also when you hover over the cards that the go a little bit up and smooth as well just like this.

  • You previously said that you don't want the cards to move when hovering over, but they do in the above video. What's the correct intended behaviour?

  • that when you hover over the cards that they go up

  • Card:
    https://pasteall.org/2oBv

    CardSpawner:
    https://pasteall.org/57Tt

    In CardSpawner's Inspector, assign a new Transform that is positioned where you want the selected card to move to.

    When hovered over, cards will move up by the amount set by the Card script's upAmount variable. Change this to change how far cards move up by.

  • Sorry, typo in Card. Use this:
    https://pasteall.org/7VxX

  • Thanks you very mich it works really good

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.