mirror of
https://github.com/zoriya/Twac.git
synced 2025-12-06 06:36:09 +00:00
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
<gc_entities>
|
|
<gc_entity id="25">
|
|
<transform_component>
|
|
<Position x="300" y="300" />
|
|
<Size x="40" y="50" />
|
|
</transform_component>
|
|
<renderer src="assets/sprites/player_sheet.png">
|
|
<Rect width="80" height="100" top="0" left="0" />
|
|
<animation name="walk" frame_count="2" frame_rate="10">
|
|
<Rect left="410" />
|
|
</animation>
|
|
<animation name="jump" frame_count="1" frame_rate="10">
|
|
<Rect left="160" />
|
|
</animation>
|
|
</renderer>
|
|
<movable_component />
|
|
<controllable_component />
|
|
<gravity_component force="6250" />
|
|
<keyboard_controller left="16" right="3" jump="57" />
|
|
<walk_action acceleration="3000" idle_trigger="10" />
|
|
<jump_action acceleration="17000" counterforce="6000" step_count="7"/>
|
|
<collision_component layer="11000000" />
|
|
<friction_component value=".5" />
|
|
<live_component count="0" />
|
|
<camerafollow_component />
|
|
</gc_entity>
|
|
</gc_entities> |