forked from team-sg/hero-mark-2
switch to GLES2 renderer
This commit is contained in:
parent
4da0b33282
commit
26fe0173e4
6 changed files with 90 additions and 149 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=36 format=2]
|
||||
[gd_scene load_steps=32 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://graphics/player/sg_walk.png" type="Texture" id=2]
|
||||
|
@ -604,52 +604,9 @@ extents = Vector2( 6, 7 )
|
|||
[sub_resource type="Curve" id=41]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, -0.113537, 0, 0, Vector2( 1, 0 ), -3.35032, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=42]
|
||||
width = 128
|
||||
curve = SubResource( 41 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=40]
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 4, 4, 0 )
|
||||
flag_disable_z = true
|
||||
direction = Vector3( 0, -1, 0 )
|
||||
spread = 180.0
|
||||
gravity = Vector3( 0, 50, 0 )
|
||||
initial_velocity = 60.0
|
||||
initial_velocity_random = 0.9
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale = 0.5
|
||||
scale_random = 1.0
|
||||
scale_curve = SubResource( 42 )
|
||||
|
||||
[sub_resource type="Curve" id=43]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, -0.0636948, 0, 0, Vector2( 1, 0 ), -3.43886, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=44]
|
||||
width = 32
|
||||
curve = SubResource( 43 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=45]
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 5, 0, 0 )
|
||||
flag_disable_z = true
|
||||
direction = Vector3( 0, -1, 0 )
|
||||
spread = 60.0
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 10.0
|
||||
initial_velocity_random = 0.8
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale = 0.25
|
||||
scale_random = 0.5
|
||||
scale_curve = SubResource( 44 )
|
||||
|
||||
[node name="Player" type="KinematicBody2D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 5
|
||||
|
@ -706,7 +663,7 @@ position = Vector2( 0, 3 )
|
|||
shape = SubResource( 34 )
|
||||
disabled = true
|
||||
|
||||
[node name="DeathSplatter" type="Particles2D" parent="."]
|
||||
[node name="DeathSplatter" type="CPUParticles2D" parent="."]
|
||||
pause_mode = 2
|
||||
emitting = false
|
||||
amount = 16
|
||||
|
@ -714,10 +671,22 @@ lifetime = 0.3
|
|||
one_shot = true
|
||||
explosiveness = 0.9
|
||||
local_coords = false
|
||||
process_material = SubResource( 40 )
|
||||
texture = ExtResource( 15 )
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 4, 4 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 180.0
|
||||
gravity = Vector2( 0, 50 )
|
||||
initial_velocity = 60.0
|
||||
initial_velocity_random = 0.9
|
||||
damping = 2.0
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount = 0.5
|
||||
scale_amount_random = 1.0
|
||||
scale_amount_curve = SubResource( 41 )
|
||||
|
||||
[node name="DustParticles" type="Particles2D" parent="."]
|
||||
[node name="DustParticles" type="CPUParticles2D" parent="."]
|
||||
position = Vector2( 0, 12 )
|
||||
z_index = 1
|
||||
emitting = false
|
||||
|
@ -727,8 +696,19 @@ one_shot = true
|
|||
explosiveness = 0.9
|
||||
fract_delta = false
|
||||
local_coords = false
|
||||
process_material = SubResource( 45 )
|
||||
texture = ExtResource( 16 )
|
||||
emission_shape = 2
|
||||
emission_rect_extents = Vector2( 5, 0 )
|
||||
direction = Vector2( 0, -1 )
|
||||
spread = 60.0
|
||||
gravity = Vector2( 0, 0 )
|
||||
initial_velocity = 10.0
|
||||
initial_velocity_random = 0.8
|
||||
angle = 720.0
|
||||
angle_random = 1.0
|
||||
scale_amount = 0.25
|
||||
scale_amount_random = 0.5
|
||||
scale_amount_curve = SubResource( 43 )
|
||||
|
||||
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
|
||||
[connection signal="area_entered" from="SwordArea" to="." method="_on_SwordArea_area_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue