[ SOLVED ]Tile Api Bug

miklyha55

  • Posts: 27
Hello, Jon
I have the problem. When I use in Tile Api extension "row" and "col" blocks I can not compile the game.
Please see this first image.
But when I tidy these blocks then compiling working properly.
Please see this second image and logs for my game.
I have mac OSX Yosemite

« Last Edit: March 28, 2015, 03:43:39 am by miklyha55 »

letmethink

  • *
  • Posts: 2545
Code: [Select]
2015-03-28 10:56:32,132 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:30: characters 15-36 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,132 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:77: characters 4-25 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,132 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:192: characters 15-36 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,132 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:97: characters 17-34 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,132 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:97: characters 17-34 : You can't iterate on a Dynamic value, please specify Iterator or Iterable
2015-03-28 10:56:32,133 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:210: characters 15-36 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,133 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:240: characters 4-25 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,133 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:273: characters 15-32 : com.stencyl.Engine has no field tileLayers
2015-03-28 10:56:32,133 INFO  [Thread-50] stencyl.sw.util.StreamGobbler: [openfl] /Users/kolenkoroman/stencylworks/engine-extensions/tileapi/TileAPI.hx:273: characters 15-32 : You can't iterate on a Dynamic value, please specify Iterator or Iterable

Is the error. Could you try adding 'as number' around the get coordinate blocks?
~Letmethink

miklyha55

  • Posts: 27
Thanks.
I did it, but I cannot compile my game all the same. This my screen shot. Do you see that blocks become red ?
Regards, Roman

captaincomic

  • *
  • Posts: 6108
Instead of the tile API extension, use the blocks from the core palette.

miklyha55

  • Posts: 27
Thanks. 
Sorry, last question. What is the row and col?   How I can get their?
Regards, Roman

« Last Edit: March 28, 2015, 03:38:06 am by miklyha55 »

miklyha55

  • Posts: 27
Thank you guys. I found how to do it.