diff options
author | rom <romangraef@gmail.com> | 2021-04-24 17:07:28 +0200 |
---|---|---|
committer | rom <romangraef@gmail.com> | 2021-04-24 17:07:28 +0200 |
commit | 0daf0132c6d9aa94e20ee81bdb9d0bb159546b85 (patch) | |
tree | 662456aba7592e0d1cb37acab838532ddf249200 | |
parent | 260b64c8400699d7e3442ed5aef046bc716c388d (diff) | |
download | ldjam48-0daf0132c6d9aa94e20ee81bdb9d0bb159546b85.tar.gz ldjam48-0daf0132c6d9aa94e20ee81bdb9d0bb159546b85.tar.bz2 ldjam48-0daf0132c6d9aa94e20ee81bdb9d0bb159546b85.zip |
glow
-rw-r--r-- | Camera2D.gd | 2 | ||||
-rw-r--r-- | default_env.tres | 7 | ||||
-rw-r--r-- | hackingscene.tscn | 7 |
3 files changed, 14 insertions, 2 deletions
diff --git a/Camera2D.gd b/Camera2D.gd index 84a5faa..a86c692 100644 --- a/Camera2D.gd +++ b/Camera2D.gd @@ -26,4 +26,4 @@ func _process(delta): return var velocity = dist.normalized() * current_speed * delta position += velocity - + diff --git a/default_env.tres b/default_env.tres index fe7e3fe..af223a8 100644 --- a/default_env.tres +++ b/default_env.tres @@ -3,5 +3,12 @@ [sub_resource type="ProceduralSky" id=1] [resource] +background_mode = 4 background_sky = SubResource( 1 ) background_color = Color( 0.305882, 0.164706, 0.164706, 1 ) +glow_enabled = true +glow_intensity = 1.0 +glow_strength = 0.95 +glow_bloom = 0.62 +glow_blend_mode = 0 +glow_bicubic_upscale = true diff --git a/hackingscene.tscn b/hackingscene.tscn index fe87162..bf891b2 100644 --- a/hackingscene.tscn +++ b/hackingscene.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://textures/background.png" type="Texture" id=1] [ext_resource path="res://textures/rooot.png" type="Texture" id=2] [ext_resource path="res://Camera2D.gd" type="Script" id=3] +[ext_resource path="res://default_env.tres" type="Environment" id=4] [sub_resource type="Curve2D" id=1] _data = { @@ -26,6 +27,10 @@ texture = ExtResource( 1 ) curve = SubResource( 1 ) [node name="rooot" type="Sprite" parent="."] +modulate = Color( 10.99, 1, 1, 1 ) position = Vector2( 593.927, 265.399 ) scale = Vector2( 0.298461, 0.320911 ) texture = ExtResource( 2 ) + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = ExtResource( 4 ) |