InDesign ePub Hidden Object Game Hot Spot Buttons

InDesign ePub Hidden Object Game Hot Spot Buttons
We will continue working on our hidden object game in our InDesign® fixed layout ePub project. We are ready to create the five corresponding hot spot buttons. These hot spot buttons will be created using an invisible rectangle drawn over each hidden object.

View Sample Project Hidden Object Game

  1. Select the Rectangle tool and keep the Stroke and Fill set to null.

  2. Drag over the Gingerbread Man in the background graphic.

  3. With the invisible rectangle still selected, open the Buttons and Forms panel.

  4. Set the Type to Button.

  5. For the Name option, set the name of the button to cookieButton.

  6. Open the Layers panel and you will see a new button which should be named cookieButton (see screenshot).

  7. Repeat these steps for the other four hot spot buttons.

    bowButton
    ballButton
    rocketButton
    candleButton

    Now we will apply the Disappear animation to each of the hidden object names and assign the corresponding button as the trigger for the animation.

  8. Select the Gingerbread Man text frame and open the Animation panel.

  9. Set the Preset to Disappear.

  10. For the Event option, turn off On Page Load.

  11. Click the icon next to the Event menu and then click on the hotspot button over the gingerbread man on the page. The Buttons and Forms panel should open showing the addition of the Action titled Animation (Gingerbread Man) (see screenshot).

  12. Now the cookieButton can control the visibility of the Gingerbread Man text frame.

    Repeat the previous steps for the other four hidden object names.

  13. Open page 13 in to the EPUB Interactive Preview and test your game.

Extra Credit: We can add a button that will take the player back to the main game page. We can add a hyperlink to this button, as we did in the tutorial about the Table of Contents. Set the Link option to Page and the Destination option to 12 or the table of contents page for your ePub (see screenshot).

Back

Index - InDesign Fixed Layout ePub

© 2024 Adobe Systems Incorporated. All rights reserved. Adobe® product screen shot(s) reprinted with permission from Adobe Systems Incorporated. Adobe, Photoshop, Illustrator, InDesign is/are either [a] registered trademark[s] or a trademark[s] of Adobe Systems Incorporated in the United States and/or other countries.





RSS
Related Articles
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





Content copyright © 2023 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.