1
Old Questions (from 1.x/2.x) / Severe Problem while trying to add Terrain Regions on Runtime
« on: December 21, 2013, 02:35:19 pm »
I need to add several terrain regions during runtime, but for some reason I can't add more than two.
Just trying to use this:
on a clean Scene with the debug drawing enabled and it only creates two Terrain Boxes, and prints the attached file in console.
I wonder if the problem is related to this: http://community.stencyl.com/index.php?topic=7825.0
Please, if anyone could confirm this is a bug or whatever is happening because I kinda need to create terrains on runtime for my game and this is stopping me.
Just trying to use this:
Code: [Select]
createBoxTerrainRegion(0,48, 32, 32);
createBoxTerrainRegion(32,48, 32, 32);
createBoxTerrainRegion(64,48, 32, 32);
createBoxTerrainRegion(96,48, 32, 32);
createBoxTerrainRegion(128,48, 32, 32);
on a clean Scene with the debug drawing enabled and it only creates two Terrain Boxes, and prints the attached file in console.
I wonder if the problem is related to this: http://community.stencyl.com/index.php?topic=7825.0
Please, if anyone could confirm this is a bug or whatever is happening because I kinda need to create terrains on runtime for my game and this is stopping me.