warycat / SuperSeaLion

2D Web Game
1 stars 0 forks source link

Level Editor Draft #24

Closed yxun closed 10 years ago

yxun commented 10 years ago

The collision object contains ice_block, ice_piton_bottom, ice_piton_top, tree, snow_ball . The yellow spots are the enemy spawn points. The big orange spots are the boss spawn points.

I am writing object db file now.

Level 0 screenshot level_0 1

level_0 2

Level 1 screenshot level_1 1

level_1 2

level_1 3

level_1 4

warycat commented 10 years ago

nice job, but what are the things on the map? I read the output file. Can you explain the xml files?

yxun commented 10 years ago

There is no xml file.

The collision object contains are ice_block, ice_piton_bottom, ice_piton_top, tree, snow_ball . The yellow spots are the enemy spawn points. The big orange spots are the boss spawn points.

Level_0 8 ground
12 ice_block
45 ice_piton_bottom
42 ice_piton_top
219,220 spawn_point 62 candy
23 treasure
167 life_point
224,225,236,237 boss_point

Level_1 8 ground
12 ice_block
45 ice_piton_bottom
42 ice_piton_top
219,220 spawn_point 62 candy
23 treasure 167 life_point
224,225,236,237 boss_point
71,73,78,79,80 tree
24 snow _ball
41,53 trigger

warycat commented 10 years ago

https://github.com/warycat/SuperSeaLion/blob/master/image_src/leveleditor/Level_0.tmx I mean this file

yxun commented 10 years ago

This is my tool's running file. You only need to use Level_0.json and Level_1.json and folder tileSet.

warycat commented 10 years ago

the file is something like your txt file.


   
    
   
  
  
   
    
   
  
  
   
    
   
  
  
   
    
   
  

so we need a json format of these. @detroitteatime @yxun can one of you write a xml to json script to convert the xml for me?

yxun commented 10 years ago

That's my mistake . I shouldn't push that tmx file. We don't need them. We only need Level_0.json and Level_1.json and folder tileSet.

I have removed unnecessary files.

warycat commented 10 years ago

I see, they are duplicated contents. currently assets are in three files. Can they be put in one file?

yxun commented 10 years ago

Actually two tiles Level_0.json and Level_1.json. The txt file is I wrote to explain the object for you to understand. We don't need to use the txt file in code. All the object information has already in json file.

I don't think we can combine those two json file. Because those are two levels.

warycat commented 10 years ago

not the json file, I mean the png files.

yxun commented 10 years ago

If I cut and combine the part of those three png files, I need to redo everything for the level editor

warycat commented 10 years ago

OK don't do that. cost too much time.

mesargent commented 10 years ago

Spine can export to JSON, but you have to pay for it. Yuanlin, can you export the lobster animation to JSON using the Spine software? I don’t know if we can just convert the at

yxun commented 10 years ago

I have done that. https://github.com/warycat/SuperSeaLion/tree/master/image_src/Lobster/claw1

you may try inplement the claw animation first. there are two json files and one atlas file and one skel file.

yxun commented 10 years ago

I have combined three tileset assets into one. And I updated the level_0.json and level_1.json. I push new files in SuperSeaLion / image_src / Leveleditor /