added the missing files left out by my last commit

This commit is contained in:
Jenna Charleston 2021-09-03 17:05:40 -07:00
parent 71dc4b693b
commit 261eb50b9b
14 changed files with 194 additions and 0 deletions

View File

@ -0,0 +1,3 @@
source_md5="5088a4521e7650d9102cd499c46f0d56"
dest_md5="2d7382245ddb60a6a0b27752a50c4445"

View File

@ -0,0 +1,3 @@
source_md5="85ba8a7810af4735139c30f1f3b1cf28"
dest_md5="e1ae966c0c700512929806b1bbb87ed0"

View File

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Items/Stick/stick_tex.png" type="Texture" id=1]
[ext_resource path="res://Items/Stick/stick.obj" type="ArrayMesh" id=2]
[ext_resource path="res://Menus/Inventory/Item Rotate.gd" type="Script" id=3]
[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 1 )
[node name="Stick Inventory" type="StaticBody"]
[node name="CSGMesh" type="CSGMesh" parent="."]
transform = Transform( 0.216506, -0.25, 0, 0.125, 0.433013, 0, 0, 0, 0.25, 0.15, -0.5, 0 )
mesh = ExtResource( 2 )
material = SubResource( 1 )
script = ExtResource( 3 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.5 )

View File

@ -0,0 +1,9 @@
# picocad material
newmtl stick_mtl
ka 1.000000 1.000000 1.000000
kd 1.000000 1.000000 1.000000
ks 0.000000 0.000000 0.000000
tr 1.000000
illum 1
ns 0.000000
map_kd stick_tex.png

View File

@ -0,0 +1,53 @@
# picocad model
mtllib stick.mtl
o stick
v -0.25 2.5 0.25
v 0.25 2.5 0.25
v 0.25 -0.5 0.25
v -0.25 -0.5 0.25
v -0.25 2.5 -0.25
v 0.25 2.5 -0.25
v 0.25 -0.5 -0.25
v -0.25 -0.5 -0.25
vt 0 1
vt 0.0781 1
vt 0.0781 0.9219
vt 0 0.9219
vt -0.0156 1
vt 0.0781 1
vt 0.0781 0.9219
vt 0 0.9219
vt 0.0156 1
vt 0.0781 1
vt 0.0781 0.9375
vt 0.0156 0.9375
vt 0 1
vt 0.0781 1
vt 0.0781 0.9219
vt 0 0.9219
vt 0 1
vt 0.0781 1
vt 0.0781 0.9219
vt 0 0.9219
vt 0 0.9844
vt 0.0625 0.9844
vt 0.0625 0.9219
vt 0 0.9219
vn 0 0 -1
vn 0 0 1
vn 0 1 0
vn -1 0 0
vn 1 0 0
vn 0 -1 0
usemtl stick_mtl
s off
f 4/4/1 3/3/1 2/2/1 1/1/1
f 7/8/2 8/7/2 5/6/2 6/5/2
f 1/12/3 2/11/3 6/10/3 5/9/3
f 8/16/4 4/15/4 1/14/4 5/13/4
f 3/20/5 7/19/5 6/18/5 2/17/5
f 8/24/6 7/23/6 3/22/6 4/21/6

View File

@ -0,0 +1,19 @@
[remap]
importer="wavefront_obj"
type="Mesh"
path="res://.import/stick.obj-d371cb6db33741aa3e8fd0037576609d.mesh"
[deps]
files=[ "res://.import/stick.obj-d371cb6db33741aa3e8fd0037576609d.mesh" ]
source_file="res://Items/Stick/stick.obj"
dest_files=[ "res://.import/stick.obj-d371cb6db33741aa3e8fd0037576609d.mesh", "res://.import/stick.obj-d371cb6db33741aa3e8fd0037576609d.mesh" ]
[params]
generate_tangents=true
scale_mesh=Vector3( 1, 1, 1 )
offset_mesh=Vector3( 0, 0, 0 )
optimize_mesh=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 805 B

View File

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/stick_tex.png-70bd741861b7cd84d708b0c20d70c37a.s3tc.stex"
path.etc2="res://.import/stick_tex.png-70bd741861b7cd84d708b0c20d70c37a.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Items/Stick/stick_tex.png"
dest_files=[ "res://.import/stick_tex.png-70bd741861b7cd84d708b0c20d70c37a.s3tc.stex", "res://.import/stick_tex.png-70bd741861b7cd84d708b0c20d70c37a.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View File

@ -0,0 +1,32 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Items/Stick/Stick Inventory.tscn" type="PackedScene" id=1]
[sub_resource type="World" id=1]
[node name="Inventory" type="CanvasLayer"]
follow_viewport_enable = true
[node name="MarginContainer" type="MarginContainer" parent="."]
margin_right = 1004.0
margin_bottom = 590.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Slot 1" type="ViewportContainer" parent="MarginContainer"]
margin_right = 1004.0
margin_bottom = 590.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Slot 1 Viewport" type="Viewport" parent="MarginContainer/Slot 1"]
size = Vector2( 100, 100 )
own_world = true
world = SubResource( 1 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 3
[node name="KinematicBody" parent="MarginContainer/Slot 1/Slot 1 Viewport" instance=ExtResource( 1 )]

View File

@ -0,0 +1,20 @@
extends CSGMesh
# Declare member variables here. Examples:
var rotational_point = Vector3(0,0,0)
var axis = Vector3(0,1,0)
var last_angle = 0
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
# pass
#last_angle+=delta
transform = transform.rotated(axis, delta)