Primary tabs

Comments by User

Friday, May 24, 2013 - 11:25

sweet. i still have engine to make game ^_^_^

Wednesday, May 22, 2013 - 14:36

flare game has just 3 tilesets while i have about 40-50 and common size of tileset is 512x512 that means 256 tiles 32x32

1st map - center of big city (173x144 tiles) contain few buildings, castle, district for wealth citizens, park, bazaar small arena.

it's impossible now :(

Wednesday, May 22, 2013 - 13:10

index is the unique (to this tile set) integer index for this tile. This index is used in map layers (background and object). Indexes from 1 through 1023 are allowed

 

so i can use only 1023 tiles? O_o_O

Wednesday, May 22, 2013 - 12:50

thanks a lot for help. but i don't understand tile x and y offset. i made it 0,0 because i thought that tiles don't have offset. they really should be 16,16?

Wednesday, May 22, 2013 - 12:29

thanks. now i got

 

Traceback (most recent call last):
  File "./tilesetdef-generator.py", line 99, in <module>
    main()
  File "./tilesetdef-generator.py", line 44, in main
    for prop in root.find('properties').findall('property'):
AttributeError: 'NoneType' object has no attribute 'findall'

 

btw, when i tried to make map manually i got black screen (except minimap that shows collision level correctly) though i'm sure i did all right. is there any limits to tilesets?

Wednesday, May 22, 2013 - 10:36

 File "script.py", line 6
    tileset_w = 0
            ^
IndentationError: expected an indented block

that's what i get whan try use it

Saturday, May 11, 2013 - 14:40

convert *.png -append output.png

creating one tileset from many.

Saturday, May 11, 2013 - 08:37

well, export maps for flare is real hell. i made 1st map few weeks and looks like i will export it even longer.

Saturday, May 11, 2013 - 02:04

one fox gave my a semi automatic python script. so i use bash commandto get list of images' resolutions

identify * | cut -f 3 -d' '

and script for calculating

step = input('Step: ')
count = 1
y1=0

fo = open("./tilesetdef", "rw+");

while(1):
        x1 = 0
        x2 = step
        y2 = step
        imagex = input("Wight: ")
        imagey = input("Heght: ")
        dimx = imagex/step
        dimy = imagey/step
        i = 0
        j = 0
        while (j < dimy):
                while(i < dimx):
                        s = 'tile={},{},{},{},{},0,0'.format(count,x1,y1,step,step)
                        fo.write(s+'\n')
                        count+=1
                        i+=1
                        x1+=step
                x1=0
                x2=step
                y1+=step
                y2+=step
                j+=1
                i=0

 

Sunday, May 5, 2013 - 09:32

i use tilesets from the mana world and dew tilesets from here and deviantart.

most of them are 32x32 but from time to time size changes. i can avoid it by creating many layers but isn't there any automated way to export tiled maps to flare?

Pages