Skip to content

Commit

Permalink
use forward_plus renderer to prevent GPUParticles crash on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
debris committed Jun 18, 2024
1 parent df978a3 commit 4c5f2ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ textures/vram_compression/import_etc2_astc=true
environment/defaults/default_clear_color=Color(0.301961, 0.301961, 0.301961, 1)
2d/snap/snap_2d_transforms_to_pixel=true
2d/snap/snap_2d_vertices_to_pixel=true
renderer/rendering_method.macos="forward_plus"
6 changes: 1 addition & 5 deletions resources/game_data/resource_generator/tres/brick.tres
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

[resource]
script = ExtResource("1_m14yy")
color = Color(0, 0, 0, 1)
sort_value = 6
sort_value_override = 0.0
id = "brick"
Expand All @@ -15,11 +16,6 @@ costs = {
cost_scales = {}
worker_costs = {}
random_drops = {}
label = "Bake Clay"
title = "Bake Clay"
flavor = "Excuse me, this is not a bakery."
hidden = false
max_amount = -1
max_flavor = ""
column = 0
display_name = ""
7 changes: 2 additions & 5 deletions resources/game_data/resource_generator/tres/power.tres
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@

[resource]
script = ExtResource("1_4j2x2")
color = Color(0, 0, 0, 1)
sort_value = -10
sort_value_override = 0.0
id = "power"
amount = 1
cooldown = 0.0
costs = {}
cost_scales = {}
worker_costs = {}
random_drops = {}
label = "-"
title = "-"
flavor = "-"
hidden = true
max_amount = -1
max_flavor = ""
column = 0
display_name = ""
8 changes: 3 additions & 5 deletions resources/game_data/resource_generator/tres/shovel.tres
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

[resource]
script = ExtResource("1_sg8el")
color = Color(0, 0, 0, 1)
sort_value = 103
sort_value_override = 0.0
id = "shovel"
amount = 1
cooldown = 100.0
Expand All @@ -14,12 +16,8 @@ costs = {
"wood": 4
}
cost_scales = {}
worker_costs = {}
random_drops = {}
label = "Craft Shovel"
title = "Shovel"
flavor = "Never enough clay, better start digging."
hidden = true
max_amount = 1
max_flavor = "Now we just need a knight."
column = 1
display_name = ""

0 comments on commit 4c5f2ee

Please sign in to comment.