diff options
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/blur_setup.gd | 15 | ||||
-rw-r--r-- | client/menu/rating/rating.gd | 18 |
2 files changed, 32 insertions, 1 deletions
diff --git a/client/menu/blur_setup.gd b/client/menu/blur_setup.gd index f5363003..97729074 100644 --- a/client/menu/blur_setup.gd +++ b/client/menu/blur_setup.gd @@ -1,3 +1,18 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 tpart +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# extends Control func _ready(): diff --git a/client/menu/rating/rating.gd b/client/menu/rating/rating.gd index a3b2261d..1669e5fc 100644 --- a/client/menu/rating/rating.gd +++ b/client/menu/rating/rating.gd @@ -1,3 +1,19 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 tpart +# Copyright 2024 metamuffin +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# extends Menu const PARTICLE_AMOUNTS = [0, 6, 32, 128] @@ -12,7 +28,7 @@ func _ready(): super() show_rating(data[0], data[1]) -func _process(delta): +func _process(_delta): particles.emission_rect_extents = get_viewport_rect().size * Vector2(0.5, 0.5) func show_rating(stars_: int, points: int): |