Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Xezko

Pages: 1
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:
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:

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.

Resolved Questions / [SOLVED] Adding Custom Terrain Shapes via code
« on: December 21, 2013, 11:03:26 am »
Is there a way to add, get and remove Custom Terrain Shapes (Those that you can add just likes regions in the scene editor) with custom code, just like the Tile API allows you do to so with Tiles?

EDIT: found:



Ludum Dare 28 / Save Zoe
« on: December 20, 2013, 07:27:42 am »

Link to the Game:
my LD Entry:

200x150 Picture to be used in the listing and Screenshots attached to the post.

Pages: 1