Author Topic: Question on "open" animation of doors  (Read 685 times)

froggy77

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Question on "open" animation of doors
« on: February 02, 2019, 12:51:43 am »
Hello all,

I read in  "Solarus documentation" that for door entities,
Quote
"The sprite of a door must define animations "open" and "closed". Animations "opening" and "closing" are option" ...
But I don't find out examples of "open" animations. There are only "closed", "opening" and "closing" animations in different projects I checked.

I'm trying to add one with only one frame, but the frame disappears after the "opening" animation even if I loop it. In fact, this is not exactly a door but a portcullis;  I would like the lower part to be visible when it is open.
I know that I could place a tile (from the tileset) under the "door" entity.  This unnecessarily increases the number of tiles in the tileset.

So why do that when the documentation says that an "open" animation is possible even if I don't know how for the moment?  ;)
« Last Edit: February 02, 2019, 03:03:41 am by froggy77 »

froggy77

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Re: Question on "open" animation of doors
« Reply #1 on: March 02, 2019, 06:08:58 pm »
up
I'm drawing other doors with this time several images for an "open" animation. The fact that this animation is not displayed is annoying. Maybe it is possible with dynamic tiles.

Christopho

  • Administrator
  • Hero Member
  • *****
  • Posts: 1173
    • View Profile
Re: Question on "open" animation of doors
« Reply #2 on: March 02, 2019, 08:13:10 pm »
This is a documentation bug. There is no "open" animation for doors: they are simply not displayed when they are open.

froggy77

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Re: Question on "open" animation of doors
« Reply #3 on: March 04, 2019, 10:27:34 pm »
Ok thanks, I will have to find a solution for this.