Advertisement
metalx1000

Godot Imp Scene

Sep 5th, 2021
770
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. [gd_scene load_steps=6 format=2]
  2.  
  3. [ext_resource path="res://assest/scripts/imp.gd" type="Script" id=2]
  4.  
  5. [sub_resource type="CapsuleShape" id=3]
  6. radius = 0.186104
  7. height = 0.291731
  8.  
  9. [sub_resource type="StreamTexture" id=2]
  10. flags = 19
  11. load_path = "res://.import/imp.png-44d9ec09d7fe35f474e1b3b2f2f7b0af.s3tc.stex"
  12.  
  13. [sub_resource type="SpatialMaterial" id=1]
  14. flags_transparent = true
  15. params_billboard_mode = 2
  16. params_billboard_keep_scale = true
  17. albedo_texture = SubResource( 2 )
  18.  
  19. [sub_resource type="Animation" id=4]
  20. resource_name = "anim_col"
  21. length = 0.8
  22. loop = true
  23. tracks/0/type = "value"
  24. tracks/0/path = NodePath(".:anim_col")
  25. tracks/0/interp = 1
  26. tracks/0/loop_wrap = true
  27. tracks/0/imported = false
  28. tracks/0/enabled = true
  29. tracks/0/keys = {
  30. "times": PoolRealArray( 0, 0.2, 0.4, 0.6 ),
  31. "transitions": PoolRealArray( 1, 1, 1, 1 ),
  32. "update": 1,
  33. "values": [ 0, 1, 2, 3 ]
  34. }
  35.  
  36. [node name="Imp" type="KinematicBody"]
  37. transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
  38. script = ExtResource( 2 )
  39. anim_col = 3
  40.  
  41. [node name="CollisionShape" type="CollisionShape" parent="."]
  42. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
  43. shape = SubResource( 3 )
  44.  
  45. [node name="Sprite3D" type="Sprite3D" parent="."]
  46. material_override = SubResource( 1 )
  47. texture = SubResource( 2 )
  48. vframes = 5
  49. hframes = 4
  50.  
  51. [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
  52. anims/anim_col = SubResource( 4 )
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement