Demo – Chest

This topic contains 9 replies, has 2 voices, and was last updated by  Keith Davis 1 week, 5 days ago.

  • November 24, 2017 at 6:02 pm #176502

    I moved the chest from the grassland and placed it in the dungeon. The chest now unlocks without a timer bar (set in properties) and intermittently disappears and reappears (set to removebody). It does pay out the reward.

  • November 24, 2017 at 8:30 pm #176507

    I think I fixed everything except the TimerName: OpenTimer not running (no progress bar, pauses for the defined time) …

    • November 25, 2017 at 7:38 pm #176554

      Did you also copy the properties from the Grassland level to the Dungeon? Copying the art is one thing but you have to move the property list data as well.

  • November 25, 2017 at 7:40 pm #176556

    Thanks for the reply. Yeah, I copied the properties as well.

    • November 25, 2017 at 8:44 pm #176571

      Oh try removing the physics body on the chest and then setting it again. Sprite Kit has a bug where if you copy an object from one scene to another, it loses the physics body (even though it appears to still be there).

  • November 25, 2017 at 9:28 pm #176572

    No joy…

  • November 29, 2017 at 6:08 pm #176742

    Find anything out? I have the project and can make it available if that helps.

  • November 30, 2017 at 4:38 pm #176785

    Took a look at the project. So copying items from one scene file to another must just not be the way to go. You had everything right, it just wasn’t working. But when I pulled in a new Color Sprite from the object library, set the name and Custom Class the timer popped right up.

    Just one of those odd Sprite Kit bugs. I don’t even know how to bug report that to Apple because on the surface it looks like everything is fine.

  • November 30, 2017 at 4:39 pm #176786

    Thanks again for your great support!

You must be logged in to reply to this topic.

Download the new CartoonSmart TV App - Organize all your FREE and Premium Lessons

Get it!