List of commits:
Subject Hash Author Date (UTC)
Improve plasma balls 9c2eef3259fe2247f051c1dbcfdcee564fa6584e fluffrabbit 2017-08-06 22:21:52
Add plasma balls, change to day f1e1be683db2b1736366070f379bf33410c508d8 fluffrabbit 2017-05-10 09:00:25
Put center camera in viewport to be hidden (small speedup) 80fe9220e7133b3ad25ccac1d1f61040066578b8 fluffrabbit 2017-05-02 08:28:10
Improve performance (less shiny) 5367491ee50de83bb3f1b2456f76f041958da1c5 fluffrabbit 2017-05-01 07:59:03
Add freight containers f9d546676083fb36c1954a59af52ec59a0f526d2 fluffrabbit 2017-04-27 11:48:32
Add buildings, initial gyro support 873a1295514f76bf1f7b4139888173414f4b2891 fluffrabbit 2017-04-18 12:17:50
Add scoreboard, bump version to 0.0.4 39acd8a4fceae35b5a40a437f02aa9bec193fb27 fluffrabbit 2017-04-13 06:57:15
Add button panel, save VR preference, improve vignette, box player in 5355a1cfcb49dfb676394a932a9ae58bd5c7b942 fluffrabbit 2017-04-06 03:42:14
Initial commit 8112cb088917c705bda9e291d3d15aacf003dce4 fluffrabbit 2017-03-28 15:44:04
Commit 9c2eef3259fe2247f051c1dbcfdcee564fa6584e - Improve plasma balls
Author: fluffrabbit
Author date (UTC): 2017-08-06 22:21
Committer name: fluffrabbit
Committer date (UTC): 2017-08-06 22:21
Parent(s): f1e1be683db2b1736366070f379bf33410c508d8
Signing key:
Tree: 1d456b276f4990b16a0a94be1c26388247c00e30
File Lines added Lines deleted
data/scenes/plasma.gd 10 4
data/scenes/plasma.tscn 71 23
File data/scenes/plasma.gd changed (mode: 100644) (index 3b2f00a..3e3c749)
1 1 extends RigidBody extends RigidBody
2 2
3 3
4 onready var orb = get_node( 'Orb' )
5
6
4 7 var countdown = 2 var countdown = 2
8 var firstrun = true
5 9
6 10
7 11 func _ready(): func _ready():
 
... ... func _ready():
9 13
10 14
11 15 func _process( d ): func _process( d ):
12 if is_visible():
13 get_node( 'sfx' ).play( 'plasma' )
14 set_process( false )
15 set_fixed_process( true )
16 if not is_hidden():
17 orb.set_rotation( Vector3( randf() * PI * 2.0, randf() * PI * 2.0, randf() * PI * 2.0 ) )
18 if firstrun:
19 get_node( 'sfx' ).play( 'plasma' )
20 set_fixed_process( true )
21 firstrun = false
16 22
17 23
18 24 func _fixed_process( d ): func _fixed_process( d ):
File data/scenes/plasma.tscn changed (mode: 100644) (index 9484112..e4813fc)
1 [gd_scene load_steps=8 format=1]
1 [gd_scene load_steps=7 format=1]
2 2
3 3 [ext_resource path="res://data/scenes/plasma.gd" type="Script" id=1] [ext_resource path="res://data/scenes/plasma.gd" type="Script" id=1]
4 [ext_resource path="res://data/scenes/snow.png" type="Texture" id=2]
5 [ext_resource path="res://data/scenes/glow.png" type="Texture" id=3]
6 [ext_resource path="res://data/audio/plasma.wav" type="Sample" id=4]
4 [ext_resource path="res://data/scenes/glow.png" type="Texture" id=2]
5 [ext_resource path="res://data/audio/plasma.wav" type="Sample" id=3]
7 6
8 [sub_resource type="SphereShape" id=1]
7 [sub_resource type="SphereShape" id=4]
9 8
10 9 radius = 0.7 radius = 0.7
11 10
12 [sub_resource type="FixedMaterial" id=2]
11 [sub_resource type="FixedMaterial" id=3]
13 12
14 13 flags/visible = true flags/visible = true
15 flags/double_sided = false
14 flags/double_sided = true
16 15 flags/invert_faces = false flags/invert_faces = false
17 flags/unshaded = true
16 flags/unshaded = false
18 17 flags/on_top = false flags/on_top = false
19 18 flags/lightmap_on_uv2 = true flags/lightmap_on_uv2 = true
20 19 flags/colarray_is_srgb = true flags/colarray_is_srgb = true
21 params/blend_mode = 3
20 params/blend_mode = 1
22 21 params/depth_draw = 1 params/depth_draw = 1
23 params/line_width = 1.59748e-43
22 params/line_width = 1.079e-43
24 23 fixed_flags/use_alpha = true fixed_flags/use_alpha = true
25 24 fixed_flags/use_color_array = false fixed_flags/use_color_array = false
26 25 fixed_flags/use_point_size = false fixed_flags/use_point_size = false
 
... ... fixed_flags/discard_alpha = false
28 27 fixed_flags/use_xy_normalmap = false fixed_flags/use_xy_normalmap = false
29 28 params/diffuse = Color( 0, 0, 0, 1 ) params/diffuse = Color( 0, 0, 0, 1 )
30 29 params/specular = Color( 0, 0, 0, 1 ) params/specular = Color( 0, 0, 0, 1 )
31 params/emission = Color( 0.328125, 0, 0, 1 )
30 params/emission = Color( 0.328125, 0.779541, 1, 1 )
32 31 params/specular_exp = 40 params/specular_exp = 40
33 32 params/detail_mix = 1.0 params/detail_mix = 1.0
34 33 params/normal_depth = 1 params/normal_depth = 1
 
... ... params/shader_param = 0.5
37 36 params/glow = 0 params/glow = 0
38 37 params/point_size = 1.0 params/point_size = 1.0
39 38 uv_xform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) uv_xform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
40 textures/diffuse = ExtResource( 3 )
39 textures/diffuse = ExtResource( 2 )
41 40 textures/diffuse_tc = 0 textures/diffuse_tc = 0
42 textures/detail = ExtResource( 2 )
43 textures/detail_tc = 3
41 textures/detail_tc = 0
44 42 textures/specular_tc = 0 textures/specular_tc = 0
43 textures/emission = ExtResource( 2 )
45 44 textures/emission_tc = 0 textures/emission_tc = 0
46 45 textures/specular_exp_tc = 0 textures/specular_exp_tc = 0
47 46 textures/glow_tc = 0 textures/glow_tc = 0
48 47 textures/normal_tc = 0 textures/normal_tc = 0
49 48 textures/shade_param_tc = 0 textures/shade_param_tc = 0
50 49
51 [sub_resource type="SampleLibrary" id=3]
50 [sub_resource type="SampleLibrary" id=5]
52 51
53 52 samples/plasma = { samples/plasma = {
54 53 "db": 0.0, "db": 0.0,
55 54 "pitch": 1.0, "pitch": 1.0,
56 55 "priority": 0, "priority": 0,
57 "sample": ExtResource( 4 )
56 "sample": ExtResource( 3 )
58 57 } }
59 58
60 59 [node name="Plasma" type="RigidBody"] [node name="Plasma" type="RigidBody"]
 
... ... _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
63 62 input/ray_pickable = false input/ray_pickable = false
64 63 input/capture_on_drag = false input/capture_on_drag = false
65 64 shape_count = 1 shape_count = 1
66 shapes/0/shape = SubResource( 1 )
65 shapes/0/shape = SubResource( 4 )
67 66 shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) shapes/0/transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
68 67 shapes/0/trigger = false shapes/0/trigger = false
69 68 collision/layers = 1 collision/layers = 1
 
... ... script/script = ExtResource( 1 )
89 88 [node name="CollisionShape" type="CollisionShape" parent="."] [node name="CollisionShape" type="CollisionShape" parent="."]
90 89
91 90 _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
92 shape = SubResource( 1 )
91 shape = SubResource( 4 )
93 92 trigger = false trigger = false
94 93 _update_shape_index = 0 _update_shape_index = 0
95 94
96 [node name="Quad" type="Quad" parent="."]
95 [node name="Orb" type="Spatial" parent="."]
96
97 editor/display_folded = true
98 _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
99
100 [node name="Light1" type="Quad" parent="Orb"]
101
102 _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
103 layers = 1
104 geometry/visible = true
105 geometry/material_override = SubResource( 3 )
106 geometry/cast_shadow = 0
107 geometry/receive_shadows = false
108 geometry/range_begin = 0.0
109 geometry/range_end = 0.0
110 geometry/extra_cull_margin = 0.0
111 geometry/billboard = false
112 geometry/billboard_y = false
113 geometry/depth_scale = false
114 geometry/visible_in_all_rooms = false
115 geometry/use_baked_light = false
116 geometry/baked_light_tex_id = 0
117 quad/axis = 0
118 quad/size = Vector2( 1.633, 1.633 )
119 quad/offset = Vector2( 0, 0 )
120 quad/centered = true
121
122 [node name="Light2" type="Quad" parent="Orb"]
123
124 _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
125 layers = 1
126 geometry/visible = true
127 geometry/material_override = SubResource( 3 )
128 geometry/cast_shadow = 0
129 geometry/receive_shadows = false
130 geometry/range_begin = 0.0
131 geometry/range_end = 0.0
132 geometry/extra_cull_margin = 0.0
133 geometry/billboard = false
134 geometry/billboard_y = false
135 geometry/depth_scale = false
136 geometry/visible_in_all_rooms = false
137 geometry/use_baked_light = false
138 geometry/baked_light_tex_id = 0
139 quad/axis = 1
140 quad/size = Vector2( 1.633, 1.633 )
141 quad/offset = Vector2( 0, 0 )
142 quad/centered = true
143
144 [node name="Light3" type="Quad" parent="Orb"]
97 145
98 146 _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) _import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
99 147 layers = 1 layers = 1
100 148 geometry/visible = true geometry/visible = true
101 geometry/material_override = SubResource( 2 )
149 geometry/material_override = SubResource( 3 )
102 150 geometry/cast_shadow = 0 geometry/cast_shadow = 0
103 151 geometry/receive_shadows = false geometry/receive_shadows = false
104 152 geometry/range_begin = 0.0 geometry/range_begin = 0.0
105 153 geometry/range_end = 0.0 geometry/range_end = 0.0
106 154 geometry/extra_cull_margin = 0.0 geometry/extra_cull_margin = 0.0
107 geometry/billboard = true
155 geometry/billboard = false
108 156 geometry/billboard_y = false geometry/billboard_y = false
109 157 geometry/depth_scale = false geometry/depth_scale = false
110 158 geometry/visible_in_all_rooms = false geometry/visible_in_all_rooms = false
111 159 geometry/use_baked_light = false geometry/use_baked_light = false
112 160 geometry/baked_light_tex_id = 0 geometry/baked_light_tex_id = 0
113 161 quad/axis = 2 quad/axis = 2
114 quad/size = Vector2( 1.5, -1.5 )
162 quad/size = Vector2( 1.633, 1.633 )
115 163 quad/offset = Vector2( 0, 0 ) quad/offset = Vector2( 0, 0 )
116 164 quad/centered = true quad/centered = true
117 165
 
... ... params/attenuation/distance_exp = 1.0
126 174 params/emission_cone/degrees = 180.0 params/emission_cone/degrees = 180.0
127 175 params/emission_cone/attenuation_db = -6.0 params/emission_cone/attenuation_db = -6.0
128 176 config/polyphony = 1 config/polyphony = 1
129 config/samples = SubResource( 3 )
177 config/samples = SubResource( 5 )
130 178
131 179
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/fluffrabbit/SkyHammer

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/fluffrabbit/SkyHammer

Clone this repository using git:
git clone git://git.rocketgit.com/user/fluffrabbit/SkyHammer

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main