Jump to content

ldurniat

Members
  • Content Count

    7
  • Joined

  • Last visited

About ldurniat

  • Rank
    Newbie

Profile Information

  • Gender
    Male

Recent Profile Visitors

275 profile views
  1. I noticed inconsistence how scon files store json data. For example timeline in bone_ref is number but timeline in object_ref is string hero.scon { "entity": [ { "animation": [ { "id": 0, "interval": 100, "length": 1000, "mainline": { "key": [ { "bone_ref": [ { "id": 0, "key": 0, "timeline": 2 <-- number } ], "id": 0, "object_ref": [ { "id": 0, "key": 0, "parent": 0, "timeline": "0", <-- string "z_index": "0" }, { "id": 1, "key": 0, "timeline": "1", "z_index": "1" } ], "time": 1 }, { "bone_ref": [ { "id": 0, "key": 1, "timeline": 2 } ], "id": 1, "object_ref": [ { "id": 0, "key": 0, "parent": 0, "timeline": "0", "z_index": "0" }, { "id": 1, "key": 0, "timeline": "1", "z_index": "1" } ], "time": 106 }, { "bone_ref": [ { "id": 0, "key": 2, "timeline": 2 } ], "id": 2, "object_ref": [ { "id": 0, "key": 1, "parent": 0, "timeline": "0", "z_index": "0" }, { "id": 1, "key": 0, "timeline": "1", "z_index": "1" } ], "time": 391 } ] }, "name": "pierwszaAnimacja", "timeline": [ { "id": 0, "key": [ { "id": 0, "object": { "angle": 201.959392, "file": 4, "folder": 0, "x": 72.224935, "y": 23.259555 }, "spin": 0, "time": 1 }, { "id": 1, "object": { "angle": 201.959392, "file": 4, "folder": 0, "x": 65.788007, "y": 34.019895 }, "spin": 0, "time": 391 } ], "name": "p_head_walk" }, { "id": 1, "key": [ { "id": 0, "object": { "angle": 0, "file": 0, "folder": 2, "x": -30.357143, "y": -35.714286 }, "spin": 0, "time": 1 } ], "name": "p_hand_throw_0" }, { "id": 2, "key": [ { "bone": { "angle": 75.82117199999999, "x": -22.84713, "y": 38.501335 }, "id": 0, "time": 1 }, { "bone": { "angle": 110.30697700000002, "x": -27.520027, "y": 31.959279 }, "id": 1, "time": 106 }, { "bone": { "angle": 152.233253, "x": -26.030345, "y": 34.044834 }, "id": 2, "spin": -1, "time": 391 } ], "name": "bone_000", "obj": 0, "object_type": "bone" } ] } ], "character_map": [], "id": 0, "name": "entity_000", "obj_info": [ { "h": 10, "name": "bone_000", "type": "bone", "w": 172.439 } ] } ], "folder": [ { "file": [ { "height": 214, "id": 0, "name": "head/p_head_blink_0.png", "pivot_x": 0.575472, "pivot_y": 0.537383, "width": 212 }, { "height": 214, "id": 1, "name": "head/p_head_concern.png", "pivot_x": 0.575472, "pivot_y": 0.537383, "width": 212 }, { "height": 214, "id": 2, "name": "head/p_head_concern_blink_0.png", "pivot_x": 0.575472, "pivot_y": 0.537383, "width": 212 }, { "height": 214, "id": 3, "name": "head/p_head_concern_blink_1.png", "pivot_x": 0.575472, "pivot_y": 0.537383, "width": 212 }, { "height": 214, "id": 4, "name": "head/p_head_walk.png", "pivot_x": 0.325472, "pivot_y": 0.546729, "width": 212 } ], "id": 0, "name": "head" }, { "file": [ { "height": 88, "id": 0, "name": "torso/p_torso_punch_0.png", "pivot_x": 0, "pivot_y": 1, "width": 88 } ], "id": 1, "name": "torso" }, { "file": [ { "height": 77, "id": 0, "name": "hands/p_hand_throw_0.png", "pivot_x": 0, "pivot_y": 1, "width": 79 } ], "id": 2, "name": "hands" } ], "generator": "BrashMonkey Spriter", "generator_version": "r11", "scon_version": "1.0" } hero.scml <?xml version="1.0" encoding="UTF-8"?> <spriter_data scml_version="1.0" generator="BrashMonkey Spriter" generator_version="r11"> <folder id="0" name="head"> <file id="0" name="head/p_head_blink_0.png" width="212" height="214" pivot_x="0.575472" pivot_y="0.537383"/> <file id="1" name="head/p_head_concern.png" width="212" height="214" pivot_x="0.575472" pivot_y="0.537383"/> <file id="2" name="head/p_head_concern_blink_0.png" width="212" height="214" pivot_x="0.575472" pivot_y="0.537383"/> <file id="3" name="head/p_head_concern_blink_1.png" width="212" height="214" pivot_x="0.575472" pivot_y="0.537383"/> <file id="4" name="head/p_head_walk.png" width="212" height="214" pivot_x="0.325472" pivot_y="0.546729"/> </folder> <folder id="1" name="torso"> <file id="0" name="torso/p_torso_punch_0.png" width="88" height="88" pivot_x="0" pivot_y="1"/> </folder> <folder id="2" name="hands"> <file id="0" name="hands/p_hand_throw_0.png" width="79" height="77" pivot_x="0" pivot_y="1"/> </folder> <entity id="0" name="entity_000"> <obj_info name="bone_000" type="bone" w="172.439" h="10"/> <animation id="0" name="pierwszaAnimacja" length="1000" interval="100"> <mainline> <key id="0" time="1"> <bone_ref id="0" timeline="2" key="0"/> <object_ref id="0" parent="0" timeline="0" key="0" z_index="0"/> <object_ref id="1" timeline="1" key="0" z_index="1"/> </key> <key id="1" time="106"> <bone_ref id="0" timeline="2" key="1"/> <object_ref id="0" parent="0" timeline="0" key="0" z_index="0"/> <object_ref id="1" timeline="1" key="0" z_index="1"/> </key> <key id="2" time="391"> <bone_ref id="0" timeline="2" key="2"/> <object_ref id="0" parent="0" timeline="0" key="1" z_index="0"/> <object_ref id="1" timeline="1" key="0" z_index="1"/> </key> </mainline> <timeline id="0" name="p_head_walk"> <key id="0" time="1" spin="0"> <object folder="0" file="4" x="72.224935" y="23.259555" angle="201.959392" scale_x="1"/> </key> <key id="1" time="391" spin="0"> <object folder="0" file="4" x="65.788007" y="34.019895" angle="201.959392" scale_x="1"/> </key> </timeline> <timeline id="1" name="p_hand_throw_0"> <key id="0" time="1" spin="0"> <object folder="2" file="0" x="-30.357143" y="-35.714286" angle="0"/> </key> </timeline> <timeline id="2" obj="0" name="bone_000" object_type="bone"> <key id="0" time="1"> <bone x="-22.84713" y="38.501335" angle="75.821172"/> </key> <key id="1" time="106"> <bone x="-27.520027" y="31.959279" angle="110.306977"/> </key> <key id="2" time="391" spin="-1"> <bone x="-26.030345" y="34.044834" angle="152.233253"/> </key> </timeline> </animation> </entity> </spriter_data> I use free edition of Spriter (r11) on Win7 64bit and images from animation GreyGuy from https://brashmonkey.com. ldurniat
  2. I'm studying carefully runtime implementation of Trixt0r in Java now. Thanks for answer Mike.
  3. Hi, I'm looking for some guides, tutorials or examples to start writing my own runtime implementations from scratch. Where can I find ones? ldurniat
×
×
  • Create New...