This commit is contained in:
ultrablob 2024-04-17 19:14:46 -04:00
parent adf6fb5d17
commit ea112e91a1
15 changed files with 8 additions and 1395 deletions

View file

@ -34,7 +34,7 @@ func _on_request_completed(result, response_code, headers, body):
print(scores) print(scores)
var score = stopwatch.time_elapsed var score = stopwatch.time_elapsed
print(score) print(score)
var placement = closest(score, scores) + 1 var placement = closest(score, scores)
print(placement) print(placement)
if placement < 50: if placement < 50:

View file

@ -19,11 +19,11 @@ func _ready():
func _physics_process(delta): func _physics_process(delta):
look_at(get_global_mouse_position()) look_at(get_global_mouse_position())
var move_input = Input.get_axis("down", "up") var move_input = Input.get_axis("down", "up")
var side_input = Input.get_axis("left", "right") var side_input = Input.get_axis("right", "left")
if absolute_movement: if absolute_movement:
apply_central_force(Vector2(side_input * speed, move_input * speed) * -1) apply_central_force(Vector2(side_input * speed, move_input * speed) * -1)
else: else:
apply_central_force(transform.y * side_input * speed / 2 + transform.x * move_input * speed) apply_central_force(transform.y * side_input * speed / -2 + transform.x * move_input * speed)
func _input(event): func _input(event):
if event.is_action_pressed("jump"): if event.is_action_pressed("jump"):

View file

@ -5,7 +5,7 @@ var config = ConfigFile.new()
func _ready(): func _ready():
var has_config = config.load("user://settings.cfg") == OK var has_config = config.load("user://settings.cfg") == OK
print(has_config) print(has_config)
$"../Play".disabled = (not has_config) or (has_config and config.get_value("config", "username").unicode_at(0) < 100_000) $"../Play".disabled = not has_config
if has_config: if has_config:
$Menu/Username.text = config.get_value("config", "username") $Menu/Username.text = config.get_value("config", "username")
$Menu/Controls.selected = 0 if config.get_value("config", "relative_controls") else 1 $Menu/Controls.selected = 0 if config.get_value("config", "relative_controls") else 1

BIN
addons/.DS_Store vendored

Binary file not shown.

Binary file not shown.

View file

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2016-2023 The Godot Engine community
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

File diff suppressed because it is too large Load diff

View file

@ -1,12 +0,0 @@
[configuration]
entry_symbol = "git_plugin_init"
compatibility_minimum = "4.1.0"
[libraries]
macos.editor = "macos/libgit_plugin.macos.editor.universal.dylib"
windows.editor.x86_64 = "win64/libgit_plugin.windows.editor.x86_64.dll"
linux.editor.x86_64 = "linux/libgit_plugin.linux.editor.x86_64.so"
linux.editor.arm64 = "linux/libgit_plugin.linux.editor.arm64.so"
linux.editor.rv64 = ""

View file

@ -1,7 +0,0 @@
[plugin]
name="Godot Git Plugin"
description="This plugin lets you interact with Git without leaving the Godot editor. More information can be found at https://github.com/godotengine/godot-git-plugin/wiki"
author="twaritwaikar"
version="v3.1.1"
script="godot-git-plugin.gd"

View file

@ -146,10 +146,12 @@ offset_bottom = -159.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme_override_fonts/font = ExtResource("3_swfwl") theme_override_fonts/font = ExtResource("3_swfwl")
theme_override_font_sizes/font_size = 35 theme_override_font_sizes/font_size = 30
text = "😀😃😄😁😆🥹😅😂🤣🥲☺️😊😇🙂🙃😉😌😍🥰😘😗😚😙😋😛😝😜🤪🤨🧐🤓😎🥸🤩🥳😏😒😞😔😟😕🙁😣☹️😖😫😩🥺😢😭😤😠😡🤬😥😰😨😱😶‍🌫️🥶🥵😳🤯😓🤗🤔🫣🤭🫢🫡🤫🫠🙄😬🫨😑🫤😐🫥😶🤥😯😦😧😮😲🥱😴🤤😪😷🤧🤮🤢🥴🤐😵‍💫😵😮‍💨🤒🤕🤑🤠😈👿👹👺🤡😺🎃🤖👾👽☠️💀👻💩😸😹😻😼😽🙀😿😾🫶✊👊👎👍🤝👏🙌👐🤲🤛🤜🫷🫸🤞✌️🫰🤟🤘👇👆👉👈🫴🫳🤏🤌👌☝️✋🤚🖖🖐️👋🤙🫲🫱🦿🦵🦶🫵🙏✍️🖕🦾💪💄💋👄🫦🦷👅👂🦻👃👥👤🗣️🧠🫁🫀👀👁️👣🫂👶🧒👧👦🧑👩👨🧑‍🦱" text = "😀 😃 😄 😁 😆 🥹 😅 😂 🤣 🥲 ☺️ 😊 😇 🙂 🙃 😉 😌 😍 🥰 😘 😗 😚 😙 😋 😛 😝 😜 🤪 🤨 🧐 🤓 😎 🥸 🤩 🥳 😏 😒 😞 😔 😟 😕 🙁 😣 ☹️ 😖 😫 😩 🥺 😢 😭 😤 😠 😡 🤬 😥 😰 😨 😱 😶‍ 🌫️ 🥶 🥵 😳 🤯 😓 🤗 🤔 🫣 🤭 🫢 🫡 🤫 🫠 🙄 😬 🫨 😑 🫤 😐 🫥 😶 🤥 😯 😦 😧 😮 😲 🥱 😴 🤤 😪 😷 🤧 🤮 🤢 🥴 🤐 😵‍ 💫 😵 😮‍ 💨 🤒 🤕 🤑 🤠 😈 👿 👹 👺 🤡 😺 🎃 🤖 👾 👽 ☠️ 💀 👻 💩 😸 😹 😻 😼 😽 🙀 😿 😾 🫶 ✊ 👊 👎 👍 🤝 👏 🙌 👐 🤲 🤛 🤜 🫷 🫸 🤞 ✌️ 🫰 🤟 🤘 👇 👆 👉 👈 🫴 🫳 🤏 🤌 👌 ☝️ ✋ 🤚 🖖 🖐️ 👋 🤙 🫲 🫱 🦿 🦵 🦶 🫵 🙏 ✍️ 🖕 🦾 💪 💄 💋 👄 🫦 🦷 👅 👂 🦻 👃 👥 👤 🗣️ 🧠 🫁 🫀 👀 👁️ 👣 🫂 👶 🧒 👧 👦 🧑 👩 👨 🧑‍ 🦱 🧑‍ 🦳"
drag_and_drop_selection_enabled = false
wrap_mode = 1 wrap_mode = 1
autowrap_mode = 1 autowrap_mode = 1
caret_multiple = false
[node name="Menu" type="GridContainer" parent="Settings Panel"] [node name="Menu" type="GridContainer" parent="Settings Panel"]
layout_mode = 1 layout_mode = 1