mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-04-29 16:53:55 +02:00
Badges when you don't use cards
This commit is contained in:
parent
e87e29a3ed
commit
aed852122b
10 changed files with 278 additions and 12 deletions
scenes
45
scenes/cli_badge.tscn
Normal file
45
scenes/cli_badge.tscn
Normal file
|
@ -0,0 +1,45 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://images/cli-badge.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://scenes/cli_badge.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="Curve" id=2]
|
||||
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=3]
|
||||
curve = SubResource( 2 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=1]
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 20, 20, 1 )
|
||||
flag_disable_z = true
|
||||
spread = 180.0
|
||||
gravity = Vector3( 0, 0, 0 )
|
||||
initial_velocity = 75.0
|
||||
initial_velocity_random = 0.47
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
scale = 7.25
|
||||
scale_curve = SubResource( 3 )
|
||||
color = Color( 0.913725, 0.913725, 0.447059, 1 )
|
||||
|
||||
[node name="CLIBadge" type="TextureRect"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
rect_min_size = Vector2( 45, 0 )
|
||||
size_flags_stretch_ratio = 0.0
|
||||
texture = ExtResource( 1 )
|
||||
expand = true
|
||||
stretch_mode = 6
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Particles2D" type="Particles2D" parent="."]
|
||||
show_behind_parent = true
|
||||
position = Vector2( 21.7701, 14.5133 )
|
||||
z_index = 1
|
||||
amount = 3
|
||||
randomness = 0.34
|
||||
process_material = SubResource( 1 )
|
Loading…
Add table
Add a link
Reference in a new issue