updates. herorganizatie en schilderij
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dr8lncxad2pwm"
|
||||
path="res://.godot/imported/click.wav-eb238f6fd9fd34c5c027498744914435.sample"
|
||||
path="res://.godot/imported/click.wav-46862043b864be2edbb3b9e5f722b7ff.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://click.wav"
|
||||
dest_files=["res://.godot/imported/click.wav-eb238f6fd9fd34c5c027498744914435.sample"]
|
||||
source_file="res://Audio/click.wav"
|
||||
dest_files=["res://.godot/imported/click.wav-46862043b864be2edbb3b9e5f722b7ff.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://ib7k6myjnajr"
|
||||
path="res://.godot/imported/congratulations.ogg-7c6b9c91a435bbc9911d803ac0cf6c69.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Audio/congratulations.ogg"
|
||||
dest_files=["res://.godot/imported/congratulations.ogg-7c6b9c91a435bbc9911d803ac0cf6c69.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
@@ -3,12 +3,12 @@
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://di6nd8ms02gcq"
|
||||
path="res://.godot/imported/shuffle.wav-b6d40aff6c2e4a1d189d748e3e2c9d07.sample"
|
||||
path="res://.godot/imported/shuffle.wav-fe1aeef471789e136b13edb6bab38b19.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://shuffle.wav"
|
||||
dest_files=["res://.godot/imported/shuffle.wav-b6d40aff6c2e4a1d189d748e3e2c9d07.sample"]
|
||||
source_file="res://Audio/shuffle.wav"
|
||||
dest_files=["res://.godot/imported/shuffle.wav-fe1aeef471789e136b13edb6bab38b19.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cy6ihvic4haef"
|
||||
path.s3tc="res://.godot/imported/arrow.png-29e1e6f85776136688d8022bf1a3c956.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/arrow.png-29e1e6f85776136688d8022bf1a3c956.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc", "etc2"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Images/arrow.png"
|
||||
dest_files=["res://.godot/imported/arrow.png-29e1e6f85776136688d8022bf1a3c956.s3tc.ctex", "res://.godot/imported/arrow.png-29e1e6f85776136688d8022bf1a3c956.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
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=0
|
||||
@@ -4,12 +4,12 @@ importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bnvf3lw4nw6ar"
|
||||
path="res://.godot/imported/combi.glb-5318e2dd5dab1f21a6fe3d8e469db54c.scn"
|
||||
path="res://.godot/imported/combi.glb-4cb68acb17c8239a117965aca468f1e8.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://combi.glb"
|
||||
dest_files=["res://.godot/imported/combi.glb-5318e2dd5dab1f21a6fe3d8e469db54c.scn"]
|
||||
source_file="res://Objects/Meshes/combi.glb"
|
||||
dest_files=["res://.godot/imported/combi.glb-4cb68acb17c8239a117965aca468f1e8.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
@@ -4,12 +4,12 @@ importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dv3a33uojtwi0"
|
||||
path="res://.godot/imported/tekst.glb-41f96cf4803b12815079b85b52f9e23d.scn"
|
||||
path="res://.godot/imported/tekst.glb-5a5dc8db74b37318106f1ff67e5c8256.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tekst.glb"
|
||||
dest_files=["res://.godot/imported/tekst.glb-41f96cf4803b12815079b85b52f9e23d.scn"]
|
||||
source_file="res://Objects/Meshes/tekst.glb"
|
||||
dest_files=["res://.godot/imported/tekst.glb-5a5dc8db74b37318106f1ff67e5c8256.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://f1172fi8o77k"]
|
||||
[gd_scene load_steps=9 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dnq24a67e45e0" path="res://combi.tscn" id="1_7rjc3"]
|
||||
[ext_resource type="Script" path="res://Slot.gd" id="1_ksddl"]
|
||||
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://click.wav" id="3_pbq0q"]
|
||||
[ext_resource type="AudioStream" uid="uid://ib7k6myjnajr" path="res://congratulations.ogg" id="4_aojg2"]
|
||||
[ext_resource type="PackedScene" path="res://Objects/combi.tscn" id="1_7rjc3"]
|
||||
[ext_resource type="Script" path="res://Scripts/Slot.gd" id="1_ksddl"]
|
||||
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_pbq0q"]
|
||||
[ext_resource type="AudioStream" uid="uid://ib7k6myjnajr" path="res://Audio/congratulations.ogg" id="4_aojg2"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_5jhoy"]
|
||||
size = Vector3(6, 2, 1)
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dmf833mkxpbsw"]
|
||||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dv3a33uojtwi0" path="res://tekst.glb" id="1_riskl"]
|
||||
[ext_resource type="PackedScene" uid="uid://dv3a33uojtwi0" path="res://Objects/Meshes/tekst.glb" id="1_riskl"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7mr2i"]
|
||||
emission_enabled = true
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://uclpovq4c8qo"]
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://Player.gd" id="1_jx17t"]
|
||||
[ext_resource type="Script" path="res://Scripts/Player.gd" id="1_jx17t"]
|
||||
|
||||
[sub_resource type="CapsuleMesh" id="CapsuleMesh_x6nb0"]
|
||||
radius = 0.05
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
[gd_scene load_steps=14 format=3 uid="uid://oyt6grfn555b"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://bybgy8p6uvnxy"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://uclpovq4c8qo" path="res://Player.tscn" id="1_pmt73"]
|
||||
[ext_resource type="Script" path="res://lichtknop.gd" id="2_3gw8d"]
|
||||
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://click.wav" id="3_xbgmy"]
|
||||
[ext_resource type="PackedScene" uid="uid://dmf833mkxpbsw" path="res://tekst.tscn" id="4_ha128"]
|
||||
[ext_resource type="PackedScene" uid="uid://f1172fi8o77k" path="res://Slot.tscn" id="5_4wvuj"]
|
||||
[ext_resource type="PackedScene" path="res://Player.tscn" id="1_pmt73"]
|
||||
[ext_resource type="Script" path="res://Scripts/lichtknop.gd" id="2_gwtwo"]
|
||||
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_e26r5"]
|
||||
[ext_resource type="PackedScene" path="res://Objects/Slot.tscn" id="4_kvwvq"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpjo05ataob66" path="res://Objects/Painting.tscn" id="5_glq61"]
|
||||
[ext_resource type="PackedScene" path="res://Objects/tekst.tscn" id="6_5og8x"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rahav"]
|
||||
|
||||
@@ -50,7 +51,7 @@ shape = SubResource("ConcavePolygonShape3D_5jeew")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0106132, -2.38419e-07, 0.313933)
|
||||
|
||||
[node name="RedBox" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.557885, 0.25, -1.48253)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.48039, 0.508301, -1.48253)
|
||||
mesh = SubResource("BoxMesh_j4kk6")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
@@ -58,14 +59,14 @@ environment = SubResource("Environment_mkdd8")
|
||||
|
||||
[node name="Lichtknopje" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.929229, 1.32078, -1.96962)
|
||||
script = ExtResource("2_3gw8d")
|
||||
script = ExtResource("2_gwtwo")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Lichtknopje"]
|
||||
shape = SubResource("ConcavePolygonShape3D_rhkkr")
|
||||
|
||||
[node name="Audio" type="AudioStreamPlayer3D" parent="Lichtknopje"]
|
||||
transform = Transform3D(-0.999706, 0, 0.0242578, 0, 1, 0, -0.0242578, 0, -0.999706, 0, 0, 0)
|
||||
stream = ExtResource("3_xbgmy")
|
||||
stream = ExtResource("3_e26r5")
|
||||
unit_size = 1.0
|
||||
|
||||
[node name="Mesh" type="MeshInstance3D" parent="Lichtknopje"]
|
||||
@@ -79,10 +80,13 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.929229, -0.07078, 1.96962)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
|
||||
light_energy = 0.01
|
||||
|
||||
[node name="tekst" parent="." instance=ExtResource("4_ha128")]
|
||||
transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, -0.148372, 0.252077, 0.0359521)
|
||||
[node name="Slot" parent="." instance=ExtResource("4_kvwvq")]
|
||||
transform = Transform3D(-0.1, 0, -8.74228e-09, 0, 0.1, 0, 8.74228e-09, 0, -0.1, 0.708407, 1.26238, 2)
|
||||
|
||||
[node name="Slot" parent="." instance=ExtResource("5_4wvuj")]
|
||||
transform = Transform3D(-0.1, 0, -8.74228e-09, 0, 0.1, 0, 8.74228e-09, 0, -0.1, 1.04774, 1.27105, 1.97717)
|
||||
[node name="Painting" parent="." instance=ExtResource("5_glq61")]
|
||||
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.98, 1.32576, 0)
|
||||
|
||||
[node name="tekst" parent="." instance=ExtResource("6_5og8x")]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, -0.182896, 0.257219, 0.0577565)
|
||||
|
||||
[connection signal="input_event" from="Lichtknopje" to="Lichtknopje" method="_on_input_event"]
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
const SIZE = 5
|
||||
enum Direction {UP, RIGHT, DOWN, LEFT}
|
||||
var sequence = []
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
randomize()
|
||||
|
||||
var arrow = Image.load_from_file("res://Images/arrow.png")
|
||||
arrow.convert(Image.FORMAT_RG8)
|
||||
|
||||
var painting = Image.create(128*SIZE, 128*SIZE, false, Image.FORMAT_RG8)
|
||||
var painting_em = Image.create(128*SIZE, 128*SIZE, false, Image.FORMAT_RG8)
|
||||
painting_em.fill(Color.BLACK)
|
||||
painting.fill(Color.YELLOW_GREEN)
|
||||
|
||||
for x in range(SIZE):
|
||||
for y in range(SIZE):
|
||||
var dir = randi() % 4
|
||||
for i in range(dir):
|
||||
arrow.rotate_90(0)
|
||||
painting.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
||||
if randi() % 4 == 0:
|
||||
painting_em.blit_rect(arrow, arrow.get_used_rect() ,Vector2i(x*128, y*128))
|
||||
sequence.append(dir)
|
||||
for i in range(4-dir):
|
||||
arrow.rotate_90(0)
|
||||
|
||||
|
||||
var texture = ImageTexture.create_from_image(painting)
|
||||
$Canvas.get_surface_override_material(0).albedo_texture = texture
|
||||
var texture_em = ImageTexture.create_from_image(painting_em)
|
||||
$Canvas.get_surface_override_material(0).emission_texture = texture_em
|
||||
@@ -1,19 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://ib7k6myjnajr"
|
||||
path="res://.godot/imported/congratulations.ogg-fd83dd85dbd924c015b0507e9e4a716e.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://congratulations.ogg"
|
||||
dest_files=["res://.godot/imported/congratulations.ogg-fd83dd85dbd924c015b0507e9e4a716e.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
Binary file not shown.
Reference in New Issue
Block a user