[plugin] rex_tmx_importer_v2

Post your completed addons to share with the community

Post » Wed Sep 14, 2016 12:32 pm

rexrainbow wrote:
corpvs2 wrote:@rexrainbow
hi rex,a simple question,
can i use the "on each tile"or "TMXImporterV2.TileProp",on tilemap mode?or just can use in tile mode?
thank a lot.


Retrieve tile array or expression tile2prop will not create any sprite, they just read data from tmx string. Therefor they could be used with tilemap object.

hi thank a lot.
B
35
S
10
G
2
Posts: 26
Reputation: 3,079

Post » Tue Dec 06, 2016 7:34 pm

@rexrainbow
Is there a way to get the image used in on an object if it's from a tileset? Does TMXImporterV2.TilesetName & TMXImporterV2.TilesetFrame work for objects?
B
70
S
40
G
24
Posts: 518
Reputation: 20,070

Post » Wed Dec 07, 2016 2:15 am

@digitalsoapbox

I had re-wrote documents of these plugin, please check them in the first post.

Tileset name is "Expression:TilesetName", frame index is "Expression:Frame".
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Sun Dec 18, 2016 9:06 am

@rexrainbow

Looking through the documents, it looks like the object doesn't return what tileset image it's using? Or am I reading it wrong? Is there an object equivalent to TIlesetName & Frame that I'm not seeing? And is object flip/mirror supported?
B
70
S
40
G
24
Posts: 518
Reputation: 20,070

Post » Sun Dec 18, 2016 3:54 pm

@digitalsoapbox

Path of image is Expression:ImageSource. And Expression:TilesetName , Expression:Frame also could be used.
"flip/mirror" features are "Expression:IsMirrored", "Expression:IsFlipped", returns 1 if flip/mirror
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Sun Dec 18, 2016 6:55 pm

rexrainbow wrote:@digitalsoapbox

Path of image is Expression:ImageSource. And Expression:TilesetName , Expression:Frame also could be used.
"flip/mirror" features are "Expression:IsMirrored", "Expression:IsFlipped", returns 1 if flip/mirror


Maybe I'm doing something wrong? The actions below are what I'm doing, but it's not moving to the correct frame. Tiles seem to work as planned, but objects are using the wrong animation frame.
Image

In Tiled, a square (using an image from the tileset) is stretched to cover the floor area:
Image

In-Game, it's going to the wrong frame. It's not staying at frame 0, it's just going to the wrong frame - in this case, frame 18, when it should be frame 10:
Image
B
70
S
40
G
24
Posts: 518
Reputation: 20,070

Post » Mon Dec 19, 2016 4:35 am

@digitalsoapbox

Could you provide a very simple test capx for this bug?
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Wed Feb 22, 2017 11:54 am

Hello @rexrainbow! Enjoying your plugins!

I have considered adding an ingame level editor to my game. I wonder if it is possible for you to create TMX-exporter to json files. Or maybe it is not good idea and too complicated?
B
58
S
18
G
13
Posts: 447
Reputation: 10,735

Post » Wed Feb 22, 2017 12:23 pm

@helena

These plugins only could read tmx file, they could not create tmx file.
B
108
S
26
G
260
Posts: 4,435
Reputation: 146,195

Post » Wed Feb 22, 2017 2:52 pm

@rexrainbow I know. I just was wondering if you could create a new plugin for exporting. But I know it might be too much work. :)
B
58
S
18
G
13
Posts: 447
Reputation: 10,735

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: megatronx and 2 guests