Compare commits
1 Commits
Arena
...
Mouse-Look
| Author | SHA1 | Date | |
|---|---|---|---|
| dfbbdca8e9 |
BIN
block/Assets/PlaceHolders/Elmo.png
Normal file
BIN
block/Assets/PlaceHolders/Elmo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 289 KiB |
40
block/Assets/PlaceHolders/Elmo.png.import
Normal file
40
block/Assets/PlaceHolders/Elmo.png.import
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bcmuqd6p3jhdw"
|
||||||
|
path="res://.godot/imported/Elmo.png-27156829b64b2a8a5736b4b7de87de5f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Assets/PlaceHolders/Elmo.png"
|
||||||
|
dest_files=["res://.godot/imported/Elmo.png-27156829b64b2a8a5736b4b7de87de5f.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
||||||
@@ -16,3 +16,8 @@ func _process(_delta: float) -> void:
|
|||||||
velocity.y = dir.y
|
velocity.y = dir.y
|
||||||
|
|
||||||
move_and_slide()
|
move_and_slide()
|
||||||
|
|
||||||
|
# look_at(get_global_mouse_position()) # uncompensated mouse control
|
||||||
|
|
||||||
|
var angle_to_mouse = get_angle_to(get_global_mouse_position())
|
||||||
|
rotation += angle_to_mouse + deg_to_rad(90) #+90 to makes top of image face mouse, not side
|
||||||
|
|||||||
@@ -9,11 +9,9 @@
|
|||||||
script = ExtResource("1_cvnsp")
|
script = ExtResource("1_cvnsp")
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=719417979]
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=719417979]
|
||||||
position = Vector2(0, -43)
|
|
||||||
scale = Vector2(0.114894986, 0.11449075)
|
scale = Vector2(0.114894986, 0.11449075)
|
||||||
texture = ExtResource("1_v0iea")
|
texture = ExtResource("1_v0iea")
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1477808378]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1477808378]
|
||||||
position = Vector2(0, -43)
|
|
||||||
scale = Vector2(4.2653956, 4.2653956)
|
scale = Vector2(4.2653956, 4.2653956)
|
||||||
shape = SubResource("CircleShape2D_v0iea")
|
shape = SubResource("CircleShape2D_v0iea")
|
||||||
|
|||||||
21
block/addons/godot-git-plugin/LICENSE
Normal file
21
block/addons/godot-git-plugin/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
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.
|
||||||
1346
block/addons/godot-git-plugin/THIRDPARTY.md
Normal file
1346
block/addons/godot-git-plugin/THIRDPARTY.md
Normal file
File diff suppressed because it is too large
Load Diff
10
block/addons/godot-git-plugin/git_plugin.gdextension
Normal file
10
block/addons/godot-git-plugin/git_plugin.gdextension
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[configuration]
|
||||||
|
|
||||||
|
entry_symbol = "git_plugin_init"
|
||||||
|
compatibility_minimum = "4.2.0"
|
||||||
|
|
||||||
|
[libraries]
|
||||||
|
|
||||||
|
linux.editor.x86_64 = "linux/libgit_plugin.linux.editor.x86_64.so"
|
||||||
|
macos.editor = "macos/libgit_plugin.macos.editor.universal.dylib"
|
||||||
|
windows.editor.x86_64 = "windows/libgit_plugin.windows.editor.x86_64.dll"
|
||||||
1
block/addons/godot-git-plugin/git_plugin.gdextension.uid
Normal file
1
block/addons/godot-git-plugin/git_plugin.gdextension.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
uid://qlw5swybbp5t
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user