feat: tweak on input space
This commit is contained in:
parent
8eaff042c5
commit
aeddc7d961
@ -1,6 +1,6 @@
|
||||
# parable
|
||||
|
||||
THE PINK SURGE is an *artist jam*. i will participate with a game of my own.
|
||||
|
||||
themes:
|
||||
shepherd, sheep, dogs, wolves. fable, parable, allegory, pastoral, predator-prey dynamic.
|
||||
THE PINK SURGE is an *artist jam*. i will participate with a game of my own.
|
||||
|
||||
themes:
|
||||
shepherd, sheep, dogs, wolves. fable, parable, allegory, pastoral, predator-prey dynamic.
|
||||
|
@ -3,25 +3,26 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bsd3o6sy0cdc5"
|
||||
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
|
||||
path.s3tc="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.svg"
|
||||
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
|
||||
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
@ -31,7 +32,7 @@ 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
|
||||
detect_3d/compress_to=0
|
||||
svg/scale=1.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
|
@ -11,5 +11,6 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="parable"
|
||||
run/main_scene="res://scenes/game.tscn"
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
13
scenes/game.tscn
Normal file
13
scenes/game.tscn
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://3a8kk828n1m1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bsd3o6sy0cdc5" path="res://icon.svg" id="1_uwrxv"]
|
||||
[ext_resource type="Script" uid="uid://cnivcmo6851u6" path="res://scenes/goatdot.gd" id="2_yqjtg"]
|
||||
|
||||
[node name="game" type="Node3D"]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
|
||||
|
||||
[node name="Goatdot" type="Sprite3D" parent="."]
|
||||
texture = ExtResource("1_uwrxv")
|
||||
script = ExtResource("2_yqjtg")
|
16
scenes/goatdot.gd
Normal file
16
scenes/goatdot.gd
Normal file
@ -0,0 +1,16 @@
|
||||
extends Sprite3D
|
||||
|
||||
var tweak = false
|
||||
var OG_transform = transform
|
||||
|
||||
func _input(event):
|
||||
if event.is_action_pressed("ui_accept"):
|
||||
self.tweak = not self.tweak
|
||||
|
||||
func _physics_process(delta):
|
||||
if self.tweak:
|
||||
rotate_x(PI/9)
|
||||
rotate_y(PI/5)
|
||||
rotate_z(PI/4)
|
||||
else:
|
||||
transform = OG_transform
|
1
scenes/goatdot.gd.uid
Normal file
1
scenes/goatdot.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://cnivcmo6851u6
|
Loading…
x
Reference in New Issue
Block a user