Animated Tilesets not working in game

DarkTimmy

  • *
  • Posts: 462
I don't know if this is related to the other tileset issue mentioned here but animated tilesets don't appear to work in the game at the moment. I created one and though it will preview in the layout using the "run animation" button it will not animate in the Flash game.

In addition there are a lot of wonky things happening in the creation of animated tilesets. When I make a tileset one and add animation frames the OK button doesn't seem to work (and nothing shows up in the log window either to indicate an error).

I should say this is exactly what happens
  • Add a new animation frame to a tile.
  • Click OK - nothing
  • Click Cancel - seemingly the frame is saved
  • Click the frame again to change the timing
  • Change the timing
  • Click OK - nothing
  • Click cancel - the timing seems to have been saved.

I know that one has been mentioned but I'm not sure if anyone has been able to successfully create a working animated tileset recently. Maybe legacy ones still work?

-Tim
Main Site: Donley Time Foundation Facebook Page: Donley Time Foundation
Newgrounds Links!

DarkTimmy

  • *
  • Posts: 462
Ah yes - running on Windows 7, 64 bit with 16 gigs ram.

Also - this does not happen on animated actors - only on animated tilesets.
Main Site: Donley Time Foundation Facebook Page: Donley Time Foundation
Newgrounds Links!

DarkTimmy

  • *
  • Posts: 462
I'll try to get and example game going but it looks like the real issue is the tilesets are having problems if you go and replace or edit frames. It seems (and I can't tell from my end for sure) that if you make an animated tile and set it up correctly you are fine. If you go and edit the frames or replace them the game will seemingly remember the old tiles at runtime despite showing me the new tiles in the editor(s).

Hmmm - I'll see if I can generate a test case.

-Tim
Main Site: Donley Time Foundation Facebook Page: Donley Time Foundation
Newgrounds Links!

Ceric

  • *
  • Posts: 610
I'm experiencing the issue with the dialog for setting the framerate for the animated tilesets like you mentioned, but when I test the game, the animated tiles work fine for me. I'm on a Win7 64-bit system, too. I tested the animated tiles in Flash and HTML5.

As for adding and removing frames, that works fine, too. It's just the framerate I'm having an issue with.

Did you try closing your game and then re-opening it before testing?

DarkTimmy

  • *
  • Posts: 462
I'm experiencing the issue with the dialog for setting the framerate for the animated tilesets like you mentioned, but when I test the game, the animated tiles work fine for me. I'm on a Win7 64-bit system, too. I tested the animated tiles in Flash and HTML5.

As for adding and removing frames, that works fine, too. It's just the framerate I'm having an issue with.

Did you try closing your game and then re-opening it before testing?

Yep, I closed and reopened the game as well as Stencyl. I'm still trying to debug the root of what I was seeing but it became less important when I figured a workaround. I am most definitely experiencing the frame setting problem. They do play at the right frame rate and the number does "take". The OK button just doesn't seem to work. I hit OK then CANCEL and all seems well.

-Tim
Main Site: Donley Time Foundation Facebook Page: Donley Time Foundation
Newgrounds Links!

Legendary Hoamaru

  • *
  • Posts: 1088
Fixed.  Might have to reimport effected tiles.  Stencyl was pointing to a non existent frame when editing.

Jon

  • *
  • Posts: 17524
DarkTimmy, please verify the fix.