4 Commits

Author SHA1 Message Date
92892072e2 Fix entrypoint 2020-05-18 00:44:20 -04:00
06488a7bc1 Fixed art path 2020-05-18 00:40:31 -04:00
770833a836 Attach dialog 2020-05-18 00:22:32 -04:00
761b34ae55 More sections, more art, and slightly more gameplay 2020-05-18 00:20:31 -04:00
99 changed files with 1614 additions and 82 deletions

View File

@ -0,0 +1,3 @@
source_md5="9f3599f4ed5f050bd5c7966b39434aeb"
dest_md5="d8b8d051422c7cd9a641096cbf8c2f89"

View File

@ -0,0 +1,3 @@
source_md5="3bfdad86a3348e10ad92dce7a0c7edfb"
dest_md5="b2215c68eec5e82ae3b199c3ebef6ca3"

View File

@ -0,0 +1,3 @@
source_md5="0f187f924d66394184e7b3e6c957fb8c"
dest_md5="c9bfe92d419f5078052bb89139a81b80"

View File

@ -0,0 +1,3 @@
source_md5="424bc2e8a11a2373217678abda0df97e"
dest_md5="917df80dfa039af088b63b9a234e0ced"

View File

@ -0,0 +1,3 @@
source_md5="8aef6de8412026e94480cc71d8d055b6"
dest_md5="f536ce724bbfd6d3eec9c9b681d8bd87"

View File

@ -0,0 +1,3 @@
source_md5="9d92358506b2f630f49d7186a984dda0"
dest_md5="4d5bf56017f00adbc80e9bf5a14a9f50"

View File

@ -0,0 +1,3 @@
source_md5="08fdfe746696263d9157f46fbf6bcae3"
dest_md5="663720fe7a6ed76fff5d90489304ad6b"

View File

@ -0,0 +1,3 @@
source_md5="e857b8bb76d4617adc95c76a5fb540c2"
dest_md5="27ac0f89acdd7606843ba589e23aa7f4"

View File

@ -0,0 +1,3 @@
source_md5="385e8652393bf9a3fa82a062489c5435"
dest_md5="2ca28503838f7dd03b796000ec31111f"

View File

@ -0,0 +1,3 @@
source_md5="9f8274a56b9edd5fe16c5dcae157c341"
dest_md5="723b7c3af22143822b4ea69f4a5e464d"

View File

@ -0,0 +1,3 @@
source_md5="a2e5738b2c3c72b7747d4619c999f663"
dest_md5="52ebec391e52938a37545ccc6f79cf74"

View File

@ -0,0 +1,3 @@
source_md5="66ca8a87ea50ca711ae82b664f60a2a4"
dest_md5="369b1a9c914d86a94dc9b0795e76649f"

View File

@ -0,0 +1,3 @@
source_md5="130412d800df4b7c2fc9747a6a5805ef"
dest_md5="94ec308054667a107722b55e2203ebfc"

View File

@ -0,0 +1,3 @@
source_md5="b5b713d18d62a88eb579db8fdc12c626"
dest_md5="3fa5aa738a28dc6cdeb9786d5398a721"

View File

@ -0,0 +1,3 @@
source_md5="7dca0d73f2612d088326ffc420d70d33"
dest_md5="4441e90ddb4675a44bc124eeb8d327f5"

View File

@ -0,0 +1,3 @@
source_md5="1c8d163e355ca2143cf1ee7539743095"
dest_md5="f4d70988d33daba683613005dd05abe5"

View File

@ -0,0 +1,3 @@
source_md5="1c8d163e355ca2143cf1ee7539743095"
dest_md5="f4d70988d33daba683613005dd05abe5"

View File

@ -0,0 +1,3 @@
source_md5="597fbe9ccf6ea4d6483499e0cf0b03d0"
dest_md5="44096b06df43545f31758f2c690ba4dd"

View File

@ -0,0 +1,3 @@
source_md5="3be96f8f0b1f368b29579f8fe6c79e53"
dest_md5="fb332b986c94f47353bb21064d61380b"

View File

@ -0,0 +1,3 @@
source_md5="3cf9c5ebe05a91b72f0aebb0ee407a93"
dest_md5="8bd975df2444464ff6174d81fef37888"

View File

@ -0,0 +1,3 @@
source_md5="3cf9c5ebe05a91b72f0aebb0ee407a93"
dest_md5="8bd975df2444464ff6174d81fef37888"

View File

@ -0,0 +1,3 @@
source_md5="46a58c40f5b6b62c3a59601b0fb55288"
dest_md5="6c83115f14a9c0acf967eb87bf07fe4b"

View File

@ -0,0 +1,3 @@
source_md5="9161b62a08022547a51cb144c79b83c2"
dest_md5="f5e5412b84c441a6c7bf7f80491ac049"

View File

@ -0,0 +1,3 @@
source_md5="53be14e4ad2f67df62927ebe16450b07"
dest_md5="6d3a87776838f14ee876321be0a815b3"

View File

@ -0,0 +1,3 @@
source_md5="d11fe17c538278732c370ff9a9299c13"
dest_md5="518d32294d74c6b89d656e11ba60fff3"

View File

@ -0,0 +1,3 @@
source_md5="4a4e86688ea9e233c2a97d2091f91210"
dest_md5="0b5f4549065c5a8e08ef3984540c93ea"

View File

@ -0,0 +1,3 @@
source_md5="41d8c79b5c539a2acf771607432eee6f"
dest_md5="317679fa87bca09ebef857482e26c6fb"

View File

@ -0,0 +1,3 @@
source_md5="dd34a61f0c64a8b28fbc90958cefa569"
dest_md5="5d38a4263fce6ada9174911d6983e089"

View File

@ -0,0 +1,3 @@
source_md5="1fc89dcdb28dde7f2c550bc7fb764a9a"
dest_md5="43cd0d2da5e6d2246e38223d967eaef9"

View File

@ -0,0 +1,3 @@
source_md5="c1837fe565271833906e8389e7ce7c1c"
dest_md5="3d42ff45cbeda89803fb79710d4f5f99"

View File

@ -0,0 +1,3 @@
source_md5="c1837fe565271833906e8389e7ce7c1c"
dest_md5="3d42ff45cbeda89803fb79710d4f5f99"

View File

@ -0,0 +1,3 @@
source_md5="6c5effbee182861293c67eb96f5fb23e"
dest_md5="9a076a710fba7054180bf80ce4546229"

View File

@ -0,0 +1,3 @@
source_md5="e2da7fb14b8d464f2eaa56db492be5df"
dest_md5="9b1d426abdf28a2ad8eba161f0c4bb57"

View File

@ -0,0 +1,3 @@
source_md5="c4e868a40fcea38649d43a73971cf969"
dest_md5="d21853d8744e43202ee3050f2c706feb"

View File

@ -0,0 +1,3 @@
source_md5="a44cdfde3fe6df51cb14453b6f8b1544"
dest_md5="a9ee1a40eb796495a96862aa22a8c4c9"

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/keycard.png-2d304ab08e1fda9c5559dac3074e731c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/Objects/keycard.png"
dest_files=[ "res://.import/keycard.png-2d304ab08e1fda9c5559dac3074e731c.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/metal_tile.png-9ed21e2c1c4fecb67fe50efafab174bd.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/Tiles/metal_tile.png"
dest_files=[ "res://.import/metal_tile.png-9ed21e2c1c4fecb67fe50efafab174bd.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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=true
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/techno_wall_tile.png-f9fd7320f8b3f18e2851589254196929.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Art/Tiles/techno_wall_tile.png"
dest_files=[ "res://.import/techno_wall_tile.png-f9fd7320f8b3f18e2851589254196929.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
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=true
svg/scale=1.0

View File

@ -8,6 +8,7 @@ TYPE = "EXP_Story_editor"
names = { names = {
"aura_meeting": 12, "aura_meeting": 12,
"aura_meeting_gun": 13, "aura_meeting_gun": 13,
"codex_odd_activities": 14,
"into_speak_ceo": 5, "into_speak_ceo": 5,
"intro_major_worker": 11, "intro_major_worker": 11,
"intro_meet_ceo": 4, "intro_meet_ceo": 4,
@ -1176,6 +1177,36 @@ out for anyone but their executives.",
"type": "line" "type": "line"
} }
} }
},
14: {
"available_nid": [ ],
"groups": [ ],
"human_readable_description": "First hearing on John Demunt",
"name": "codex_odd_activities",
"nodes": {
1: {
"graph_offset": Vector2( 60, -80 ),
"links": {
0: 2
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "Mr.Demunt has pushed for increasing security in the mid levels to account
for the recent increase in deliveries.",
"type": "line"
},
2: {
"graph_offset": Vector2( 540, -80 ),
"links": {
},
"rect_size": Vector2( 324, 137 ),
"slot_amount": 1,
"text": "To account for this change, we have moved all non-mandatory security officers
to the mid and upper levels.",
"type": "line"
}
}
} }
} }
available_dids = [ ] available_dids = [ ]

View File

@ -0,0 +1,767 @@
[gd_resource type="Resource" load_steps=2 format=2]
[ext_resource path="res://addons/EXP-System-Dialog/Resource_BakedStory/EXP_BakedStory.gd" type="Script" id=1]
[resource]
script = ExtResource( 1 )
TYPE = "EXP_Baked_Story"
story = {
1: {
"nodes": {
1: {
"links": {
0: 2
},
"text": "Welcome to Ravenworks."
},
2: {
"links": {
0: 6,
1: 4,
2: 3
},
"text": "Are you ready to furfill your function?
<choice>Yes</choice>
<choice>No</choice>
<choice>Where am I?</choice>"
},
3: {
"links": {
0: 2,
1: 5
},
"text": "You are in Ravenworks cloining facility in Central City.
<choice>Okay</choice>
<choice>Central City?</choice>"
},
4: {
"links": {
0: 2
},
"text": "Hmmm... The obidence chip must be malfunctioning."
},
5: {
"links": {
0: 8
},
"text": "Central City is the location of the five corporate seats of power."
},
6: {
"links": {
0: 7
},
"text": "Excellent."
},
7: {
"links": {
0: 10
},
"text": "There are reports that an executive here at Ravenworks is
working against the company's interests."
},
8: {
"links": {
0: 2
},
"text": "You died hundreds of years ago and I do not have time to explain
to you over 100 years of history."
},
9: {
"links": {
0: 12
},
"text": "Do you accept this programming?
<choice>Yes</choice>"
},
10: {
"links": {
0: 9,
1: 11
},
"text": "The CEO of Ravenworks has decided to task you with finding
and killing this individual.
<choice>Okay</choice>
<choice>Why me?</choice>"
},
11: {
"links": {
0: 9
},
"text": "I do not know."
},
12: {
"links": {
0: 13
},
"text": "Good. You have been given Level 1 security clearance
in Ravenwork facilities."
},
13: {
"links": {
},
"text": "CEO Grant Blevins would like to speak to you about the
investigation. His office is located at the top of
Central Tower."
}
}
},
2: {
"nodes": {
1: {
"links": {
0: 2
},
"text": "Name: Veronica SCENE Gilmore"
},
2: {
"links": {
0: 3
},
"text": "Occupation: Private Investigator"
},
3: {
"links": {
0: 4
},
"text": "Day of Death: 8-21-2032"
},
4: {
"links": {
0: 5
},
"text": "Intializing..."
},
5: {
"links": {
0: 6
},
"text": "Welcome SCENE!"
},
6: {
"links": {
0: 7
},
"text": "In correspondance with HR 53151
Ravenetworks has repurposed your mind
for our services."
},
7: {
"links": {
0: 8
},
"text": "Transfering to physical system..."
},
8: {
"links": {
},
"text": "Caution: Extreme pain is likely."
}
}
},
3: {
"nodes": {
1: {
"links": {
0: 3,
1: 2
},
"text": "Did you need something?
<choice>No</choice>
<choice>You are the traitor!</choice>"
},
2: {
"links": {
},
"text": "Don't make such false accusations. Get back to your job
and find the real culpurit."
},
3: {
"links": {
},
"text": "Okay then."
}
}
},
4: {
"nodes": {
1: {
"links": {
0: 2
},
"text": "Hello Scene."
},
2: {
"links": {
0: 3
},
"text": "It's good to see they have not eliminated you yet. Most my attempts
to find the mole up until this point have ended in swift failure."
},
3: {
"links": {
0: 7,
1: 4
},
"text": "You will not disappoint me, right Scene?
<choice>Of course not!</choice>
<choice>I will do my best</choice>"
},
4: {
"links": {
0: 5
},
"text": "Ha! Such a 21st century phrase."
},
5: {
"links": {
0: 6
},
"text": "You will need more than just your wits to defeat this
traitor."
},
6: {
"links": {
0: 8
},
"text": "So much lost..."
},
7: {
"links": {
0: 6
},
"text": "We will see. You had a great track record in the 21st century,
but we both remeber how your final job went."
},
8: {
"links": {
0: 9,
1: 10
},
"text": "What do you think of our facility here so far?
<choice>It's amazing!</choice>
<choice>I haven't seen much yet.</choice>"
},
9: {
"links": {
0: 11
},
"text": "It's always interesting hearing the perspectives of those from the past."
},
10: {
"links": {
0: 9
},
"text": "Unfortunate."
},
11: {
"links": {
0: 12
},
"text": "Now away with the pleasantries."
},
12: {
"links": {
0: 13
},
"text": "There has been a concerning amount of leaks of secret projects
and internal data to our competitor Duke Enterprises."
},
13: {
"links": {
0: 14
},
"text": "Due the volume and nature of the data, the one conspiring with
the Dukes must have extremely high security clearance."
},
14: {
"links": {
0: 16
},
"text": "That is why I have given you nearly full access to our facilities.
This traitor could be anyone."
},
15: {
"links": {
0: 17,
1: 19,
2: 20
},
"text": "Do you have any questions before we get started?
<choice>Why me?</choice>
<choice>What year is it?</choice>
<choice>Where do I start?</choice>"
},
16: {
"links": {
0: 15
},
"text": "I'm trusting you Scene. It's not a common thing in our time, but I have
little choice."
},
17: {
"links": {
0: 18
},
"text": "I have always been sympathatic to societies of the past. Things were done...
different than they are now."
},
18: {
"links": {
0: 15
},
"text": "You were one of the best investigators of your time! It was sad
you got caught up in the events of the old capital."
},
19: {
"links": {
0: 15
},
"text": "It 3024, making it around 1000 years since your death."
},
20: {
"links": {
0: 28,
1: 21,
2: 22
},
"text": "We have a shipment of biological materials coming in today. It seems
like the sort of thing we have had troubles with recently.
<choice>Okay, where?</choice>
<choice>What sort of troubles?</choice>
<choice>Biological materials?</choice>"
},
21: {
"links": {
0: 24
},
"text": "Some of the data ending up in the Duke's hands is shipping information."
},
22: {
"links": {
0: 23
},
"text": "Yes, for our cloning facilities among other things."
},
23: {
"links": {
0: 27
},
"text": "Without such shipments, you wouldn't be standing here."
},
24: {
"links": {
0: 25,
1: 26
},
"text": "We have had too many missing shipments stopped by the coporate police.
<choice>Coporate police?</choice>
<choice>Why would they stop the shipments?</choice>"
},
25: {
"links": {
0: 27
},
"text": "Once democratic powers fell, enforcement was placed in the hand of the Corporate Collective,
the closest thing to a centralized government."
},
26: {
"links": {
0: 27
},
"text": "In corporate politics, our opposition likes to put in place agreements that
hinder our success. We are not alone in ignoring many of these agreements."
},
27: {
"links": {
0: 28
},
"text": "Anyway,"
},
28: {
"links": {
0: 29
},
"text": "This building's shipping facility is located on mid levels. They should
not be too far out of reach."
},
29: {
"links": {
},
"text": "Keep me up to date on your progress."
}
}
},
5: {
"nodes": {
1: {
"links": {
0: 2,
1: 3
},
"text": "Any updates?
<choice>Nothing yet</choice>
<choice>Where is the shipping facility?</choice>"
},
2: {
"links": {
},
"text": "Ravenworks is counting on you."
},
3: {
"links": {
},
"text": "It is on the mid level."
}
}
},
6: {
"nodes": {
1: {
"links": {
},
"text": "This seems to be a Ravenetworks transport, but it's empty. Is this
suppose to be carrying the biological shipment?"
}
}
},
7: {
"nodes": {
1: {
"links": {
},
"text": "This is an object."
}
}
},
8: {
"nodes": {
1: {
"links": {
},
"text": "Cargo load:
Organic Matter - MISSING
Stem Cells - MISSING
Cubic Carbon - MISSING"
}
}
},
9: {
"nodes": {
1: {
"links": {
0: 2
},
"text": "How are we missing another shipment?"
},
2: {
"links": {
},
"text": "I hope the supervisor doesn't replace us."
}
}
},
10: {
"nodes": {
1: {
"links": {
0: 3,
1: 2,
2: 4
},
"text": "Hey Aura! How have you been?
<choice>Aura?</choice>
<choice>You know me?</choice>
<choice>I am Scene.</choice>"
},
2: {
"links": {
0: 5,
1: 3
},
"text": "Yeah, we met a few days ago.
<choice>Weird</choice>
<choice>No?</choice>"
},
3: {
"links": {
},
"text": "Oh... nevermind."
},
4: {
"links": {
},
"text": "Oh, sorry Scene."
},
5: {
"links": {
},
"text": "Yeah, we don't see many faces like yours around here."
}
}
},
11: {
"nodes": {
1: {
"links": {
0: 2,
1: 4
},
"text": "I can't believe we got rerouted.
<choice>Rerouted?</choice>
<choice>What happened to the cargo?</choice>"
},
2: {
"links": {
0: 3
},
"text": "During the flight over here, the navigation computer redirected to
the lower levels."
},
3: {
"links": {
},
"text": "When I got there, Ravenworks workers unloaded the craft."
},
4: {
"links": {
0: 5,
1: 7
},
"text": "Are you looking for it?
<choice>Yes</choice>
<choice>No</choice>"
},
5: {
"links": {
0: 6
},
"text": "I lost the cargo after my stop at the lower levels. I was just
following the navigation computer and it was taken by
Ravenwork staff!"
},
6: {
"links": {
},
"text": "Please do not terminate me!"
},
7: {
"links": {
},
"text": "Oh, well it was unloaded by Ravenwork staff at the lower level."
}
}
},
12: {
"nodes": {
1: {
"links": {
0: 5,
1: 2,
2: 4
},
"text": "Hello Veronica.
<choice>...</choice>
<choice>Who are you?</choice>
<choice>Stop!</choice>"
},
2: {
"links": {
0: 3
},
"text": "I am you."
},
3: {
"links": {
0: 6,
1: 7
},
"text": "Well, I am Veronica Gilmore. Designation: Aura.
<choice>Explain</choice>
<choice>You are lying!</choice>"
},
4: {
"links": {
0: 8,
1: 11,
2: 12
},
"text": "As you can see now, you are not the first person cloned for Ravenworks profit
margins.
<choice>Are you the traitor?</choice>
<choice>Return the shipment!</choice>
<choice>We can talk</choice>"
},
5: {
"links": {
},
"text": "Oh... They truely had you didn't they."
},
6: {
"links": {
0: 17,
1: 19
},
"text": "You were not created to stop Duke Enterprises. You were created to
surpress democratic sympathizers.
<choice>Democratic Symathizers?</choice>
<choice>What about the leaks?</choice>"
},
7: {
"links": {
},
"text": "Then you will die in ignorance."
},
8: {
"links": {
0: 9
},
"text": "No, Grant is very much aware of my loyalties."
},
9: {
"links": {
0: 10
},
"text": "I am Commander Veronic Gilmore of the Resitance Forces."
},
10: {
"links": {
},
"text": "Grant is a cruel man..."
},
11: {
"links": {
0: 15
},
"text": "This shipment is being delivered to Resistance medical facilities. It's going to save
lives, not be used for creating slaves."
},
12: {
"links": {
0: 13
},
"text": "There isn't much we can do sadly. I'm presuming you still have
your implant."
},
13: {
"links": {
0: 14
},
"text": "Do you want to discuss terms of peace with us?
<choice>No</choice>"
},
14: {
"links": {
},
"text": "You weren't even given the choice. They programmed you to respond that way."
},
15: {
"links": {
0: 16
},
"text": "Ravenworks and Duke Enterprises were the ones in the old capitial the day you died."
},
16: {
"links": {
},
"text": "They're the ones who took advantage of all the death..."
},
17: {
"links": {
0: 18
},
"text": "The Corporate Collective does not care about human lives. They aren't looking
out for anyone but their executives."
},
18: {
"links": {
},
"text": "That leaves those who were automated away to die."
},
19: {
"links": {
0: 20
},
"text": "All the leaks came from the resistance."
},
20: {
"links": {
0: 21
},
"text": "Grant has the foolish idea that he can convince me to work for Ravenworks again."
},
21: {
"links": {
},
"text": "But after what I learned about the old capital... Never again."
}
}
},
13: {
"nodes": {
1: {
"links": {
},
"text": "I'm sorry Veronica."
}
}
},
14: {
"nodes": {
1: {
"links": {
0: 2
},
"text": "Mr.Demunt has pushed for increasing security in the mid levels to account
for the recent increase in deliveries."
},
2: {
"links": {
},
"text": "To account for this change, we have moved all non-mandatory security officers
to the mid and upper levels."
}
}
}
}
names = {
"aura_meeting": 12,
"aura_meeting_gun": 13,
"codex_odd_activities": 14,
"into_speak_ceo": 5,
"intro_major_worker": 11,
"intro_meet_ceo": 4,
"intro_misc_worker_1": 9,
"intro_misc_worker_2": 10,
"intro_science": 1,
"intro_science_followup": 3,
"intro_shipping_codex": 8,
"intro_text": 2,
"intro_transportship": 6,
"unconfigured": 7
}

View File

@ -5,6 +5,8 @@
[ext_resource path="res://Assets/Art/logo.png" type="Texture" id=3] [ext_resource path="res://Assets/Art/logo.png" type="Texture" id=3]
[ext_resource path="res://Assets/Art/head_bg_less.png" type="Texture" id=4] [ext_resource path="res://Assets/Art/head_bg_less.png" type="Texture" id=4]
[sub_resource type="DynamicFont" id=1] [sub_resource type="DynamicFont" id=1]
size = 48 size = 48
font_data = ExtResource( 2 ) font_data = ExtResource( 2 )

View File

@ -5,6 +5,8 @@
[ext_resource path="res://Scripts/Entities/Door.gd" type="Script" id=3] [ext_resource path="res://Scripts/Entities/Door.gd" type="Script" id=3]
[ext_resource path="res://Assets/Art/32x32mask.png" type="Texture" id=5] [ext_resource path="res://Assets/Art/32x32mask.png" type="Texture" id=5]
[sub_resource type="RectangleShape2D" id=7] [sub_resource type="RectangleShape2D" id=7]
extents = Vector2( 16.0007, 15.9043 ) extents = Vector2( 16.0007, 15.9043 )

View File

@ -1,24 +1,27 @@
[gd_scene load_steps=9 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://Assets/Themes/default.tres" type="Theme" id=1] [ext_resource path="res://Assets/Themes/default.tres" type="Theme" id=1]
[ext_resource path="res://Scripts/Systems/GameGui.gd" type="Script" id=2] [ext_resource path="res://Scripts/Systems/GameGui.gd" type="Script" id=2]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/zapper-v1.1/Zapper.ttf" type="DynamicFontData" id=3] [ext_resource path="res://Assets/Proprietary/hf-scifi-complete/improbable-v1/Improbable.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/zapper-v1.1/Zapper.otf" type="DynamicFontData" id=4] [ext_resource path="res://Assets/Proprietary/hf-scifi-complete/zapper-v1.1/Zapper.otf" type="DynamicFontData" id=4]
[ext_resource path="res://Assets/Proprietary/hf-scifi-complete/targets-v3.1/Targets.ttf" type="DynamicFontData" id=5] [ext_resource path="res://Assets/Proprietary/hf-scifi-complete/marksman-v1/Marksman.ttf" type="DynamicFontData" id=5]
[sub_resource type="DynamicFont" id=1]
size = 18
font_data = ExtResource( 4 )
[sub_resource type="StyleBoxFlat" id=4]
bg_color = Color( 0.2, 0.376471, 0.368627, 0.694118 )
[sub_resource type="DynamicFont" id=2] [sub_resource type="DynamicFont" id=2]
size = 18
font_data = ExtResource( 5 )
[sub_resource type="DynamicFont" id=17]
size = 48 size = 48
font_data = ExtResource( 3 ) font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=18] [sub_resource type="DynamicFont" id=3]
size = 32 size = 32
outline_size = 1 outline_size = 2
outline_color = Color( 0, 0, 0, 1 ) outline_color = Color( 0, 0, 0, 0.45098 )
font_data = ExtResource( 4 ) font_data = ExtResource( 5 )
[node name="GUI" type="CanvasLayer"] [node name="GUI" type="CanvasLayer"]
script = ExtResource( 2 ) script = ExtResource( 2 )
@ -69,43 +72,46 @@ margin_left = 12.0
margin_top = -16.5 margin_top = -16.5
margin_right = -39.0 margin_right = -39.0
margin_bottom = 49.5 margin_bottom = 49.5
custom_fonts/font = SubResource( 2 ) custom_fonts/font = SubResource( 1 )
text = "Hello world!" text = "Hello world!"
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="Choices" type="HBoxContainer" parent="Dialog"] [node name="ChoicesPanel" type="Panel" parent="Dialog"]
visible = false margin_left = 37.0
anchor_left = 0.5 margin_top = -9.0
anchor_top = 1.0 margin_right = 987.0
anchor_right = 0.5 margin_bottom = 22.0
custom_styles/panel = SubResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Choices" type="HBoxContainer" parent="Dialog/ChoicesPanel"]
anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
margin_left = -472.0
margin_top = -172.0
margin_right = 472.0
margin_bottom = -148.0
alignment = 1 alignment = 1
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[node name="Button" type="Button" parent="Dialog/Choices"] [node name="Button" type="Button" parent="Dialog/ChoicesPanel/Choices"]
margin_left = 297.0 margin_left = 300.0
margin_right = 371.0 margin_right = 374.0
margin_bottom = 26.0 margin_bottom = 31.0
text = "Choice" text = "Choice"
[node name="Button2" type="Button" parent="Dialog/Choices"] [node name="Button2" type="Button" parent="Dialog/ChoicesPanel/Choices"]
margin_left = 435.0 margin_left = 438.0
margin_right = 509.0 margin_right = 512.0
margin_bottom = 26.0 margin_bottom = 31.0
text = "Choice" text = "Choice"
[node name="Button3" type="Button" parent="Dialog/Choices"] [node name="Button3" type="Button" parent="Dialog/ChoicesPanel/Choices"]
margin_left = 573.0 margin_left = 576.0
margin_right = 647.0 margin_right = 650.0
margin_bottom = 26.0 margin_bottom = 31.0
text = "Choice" text = "Choice"
[node name="ZoneLabel" type="Label" parent="."] [node name="ZoneLabel" type="Label" parent="."]
@ -115,7 +121,7 @@ margin_left = 12.0
margin_top = -59.0 margin_top = -59.0
margin_right = 1257.0 margin_right = 1257.0
margin_bottom = -8.0 margin_bottom = -8.0
custom_fonts/font = SubResource( 17 ) custom_fonts/font = SubResource( 2 )
text = "Entering: Depths" text = "Entering: Depths"
valign = 2 valign = 2
__meta__ = { __meta__ = {
@ -131,7 +137,7 @@ margin_left = -386.0
margin_top = -110.5 margin_top = -110.5
margin_right = 386.0 margin_right = 386.0
margin_bottom = 110.5 margin_bottom = 110.5
custom_fonts/font = SubResource( 18 ) custom_fonts/font = SubResource( 3 )
text = "Press WASD to move" text = "Press WASD to move"
align = 1 align = 1
__meta__ = { __meta__ = {

View File

@ -5,6 +5,8 @@
[ext_resource path="res://Scripts/Entities/NPCs/Aura.gd" type="Script" id=3] [ext_resource path="res://Scripts/Entities/NPCs/Aura.gd" type="Script" id=3]
[ext_resource path="res://Assets/Art/Characters/aura.png" type="Texture" id=4] [ext_resource path="res://Assets/Art/Characters/aura.png" type="Texture" id=4]
[sub_resource type="AtlasTexture" id=1] [sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 4 ) atlas = ExtResource( 4 )
region = Rect2( 23, 0, 5, 16 ) region = Rect2( 23, 0, 5, 16 )

View File

@ -7,19 +7,19 @@
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16.0863, 8 ) extents = Vector2( 16.0863, 8 )
[sub_resource type="AtlasTexture" id=7] [sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 3 ) atlas = ExtResource( 3 )
region = Rect2( 4, 0, 8, 16 ) region = Rect2( 4, 0, 8, 16 )
[sub_resource type="AtlasTexture" id=8] [sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 3 ) atlas = ExtResource( 3 )
region = Rect2( 2, 0, 2, 16 ) region = Rect2( 2, 0, 2, 16 )
[sub_resource type="AtlasTexture" id=9] [sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 3 ) atlas = ExtResource( 3 )
region = Rect2( 12, 0, 2, 16 ) region = Rect2( 12, 0, 2, 16 )
[sub_resource type="Animation" id=6] [sub_resource type="Animation" id=5]
resource_name = "Idle" resource_name = "Idle"
length = 2.0 length = 2.0
loop = true loop = true
@ -94,17 +94,17 @@ shape = SubResource( 1 )
script = ExtResource( 2 ) script = ExtResource( 2 )
[node name="Torso" type="Sprite" parent="."] [node name="Torso" type="Sprite" parent="."]
texture = SubResource( 7 ) texture = SubResource( 2 )
[node name="RightArm" type="Sprite" parent="Torso"] [node name="RightArm" type="Sprite" parent="Torso"]
position = Vector2( -5, -0.25 ) position = Vector2( -5, -0.25 )
rotation = 0.10472 rotation = 0.10472
texture = SubResource( 8 ) texture = SubResource( 3 )
[node name="LeftArm" type="Sprite" parent="Torso"] [node name="LeftArm" type="Sprite" parent="Torso"]
position = Vector2( 5, -0.25 ) position = Vector2( 5, -0.25 )
rotation = -0.10472 rotation = -0.10472
texture = SubResource( 9 ) texture = SubResource( 4 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Idle = SubResource( 6 ) anims/Idle = SubResource( 5 )

View File

@ -2,6 +2,8 @@
[ext_resource path="res://Assets/Art/Characters/soldier.png" type="Texture" id=1] [ext_resource path="res://Assets/Art/Characters/soldier.png" type="Texture" id=1]
[sub_resource type="GDScript" id=10] [sub_resource type="GDScript" id=10]
script/source = "extends Node2D script/source = "extends Node2D

View File

@ -4,22 +4,22 @@
[ext_resource path="res://Scripts/Component/StorySpeaker.gd" type="Script" id=2] [ext_resource path="res://Scripts/Component/StorySpeaker.gd" type="Script" id=2]
[ext_resource path="res://Assets/Art/Characters/scientist.png" type="Texture" id=3] [ext_resource path="res://Assets/Art/Characters/scientist.png" type="Texture" id=3]
[sub_resource type="AtlasTexture" id=2] [sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 3 ) atlas = ExtResource( 3 )
region = Rect2( 4, 0, 8, 16 ) region = Rect2( 4, 0, 8, 16 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 3 )
region = Rect2( 2, 0, 2, 16 )
[sub_resource type="StreamTexture" id=3] [sub_resource type="StreamTexture" id=3]
load_path = "res://.import/scientist.png-ed3195bf022f65d4a0546af474992ee0.stex" load_path = "res://.import/scientist.png-ed3195bf022f65d4a0546af474992ee0.stex"
[sub_resource type="AtlasTexture" id=4] [sub_resource type="AtlasTexture" id=4]
atlas = SubResource( 3 ) atlas = SubResource( 3 )
region = Rect2( 2, 0, 2, 16 )
[sub_resource type="AtlasTexture" id=5]
atlas = SubResource( 3 )
region = Rect2( 12, 0, 2, 16 ) region = Rect2( 12, 0, 2, 16 )
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 14.1446, 9.58948 ) extents = Vector2( 14.1446, 9.58948 )
[sub_resource type="Animation" id=6] [sub_resource type="Animation" id=6]
@ -91,20 +91,20 @@ tracks/5/keys = {
script = ExtResource( 1 ) script = ExtResource( 1 )
[node name="Torso" type="Sprite" parent="."] [node name="Torso" type="Sprite" parent="."]
texture = SubResource( 2 ) texture = SubResource( 1 )
[node name="RightArm" type="Sprite" parent="Torso"] [node name="RightArm" type="Sprite" parent="Torso"]
position = Vector2( -5, -0.25 ) position = Vector2( -5, -0.25 )
rotation = 0.10472 rotation = 0.10472
texture = SubResource( 4 ) texture = SubResource( 2 )
[node name="LeftArm" type="Sprite" parent="Torso"] [node name="LeftArm" type="Sprite" parent="Torso"]
position = Vector2( 5, -0.25 ) position = Vector2( 5, -0.25 )
rotation = -0.10472 rotation = -0.10472
texture = SubResource( 5 ) texture = SubResource( 4 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 ) shape = SubResource( 5 )
[node name="Speaker" type="Node" parent="."] [node name="Speaker" type="Node" parent="."]
script = ExtResource( 2 ) script = ExtResource( 2 )

View File

@ -4,6 +4,8 @@
[ext_resource path="res://Assets/Art/Characters/worker.png" type="Texture" id=2] [ext_resource path="res://Assets/Art/Characters/worker.png" type="Texture" id=2]
[ext_resource path="res://Scripts/Component/InteractableDialog.gd" type="Script" id=3] [ext_resource path="res://Scripts/Component/InteractableDialog.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1] [sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 13.908, 10 ) extents = Vector2( 13.908, 10 )

View File

@ -8,6 +8,8 @@
[ext_resource path="res://Assets/Art/Objects/flashlight.png" type="Texture" id=6] [ext_resource path="res://Assets/Art/Objects/flashlight.png" type="Texture" id=6]
[ext_resource path="res://Scripts/Entities/Flashlight.gd" type="Script" id=7] [ext_resource path="res://Scripts/Entities/Flashlight.gd" type="Script" id=7]
[sub_resource type="Animation" id=17] [sub_resource type="Animation" id=17]
resource_name = "Idle" resource_name = "Idle"
length = 2.0 length = 2.0

View File

@ -1,4 +1,4 @@
[gd_resource type="TileSet" load_steps=150 format=2] [gd_resource type="TileSet" load_steps=200 format=2]
[ext_resource path="res://Nodes/Tiles/tileset_science_lab.png" type="Texture" id=1] [ext_resource path="res://Nodes/Tiles/tileset_science_lab.png" type="Texture" id=1]
[ext_resource path="res://Assets/Art/platform.png" type="Texture" id=2] [ext_resource path="res://Assets/Art/platform.png" type="Texture" id=2]
@ -6,6 +6,10 @@
[ext_resource path="res://Assets/Art/window.png" type="Texture" id=4] [ext_resource path="res://Assets/Art/window.png" type="Texture" id=4]
[ext_resource path="res://Assets/Art/Tiles/dirt.png" type="Texture" id=5] [ext_resource path="res://Assets/Art/Tiles/dirt.png" type="Texture" id=5]
[ext_resource path="res://Assets/Art/Tiles/glass_tile.png" type="Texture" id=6] [ext_resource path="res://Assets/Art/Tiles/glass_tile.png" type="Texture" id=6]
[ext_resource path="res://Assets/Art/Tiles/metal_tile.png" type="Texture" id=7]
[ext_resource path="res://Assets/Art/Tiles/techno_wall_tile.png" type="Texture" id=8]
[sub_resource type="OccluderPolygon2D" id=1] [sub_resource type="OccluderPolygon2D" id=1]
polygon = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) polygon = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
@ -289,7 +293,7 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="ConvexPolygonShape2D" id=94] [sub_resource type="ConvexPolygonShape2D" id=94]
points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="ConvexPolygonShape2D" id=144] [sub_resource type="ConvexPolygonShape2D" id=95]
points = PoolVector2Array( 16, 7.15126, 0, 7.15126, 0, 6.95655, 16, 6.95655 ) points = PoolVector2Array( 16, 7.15126, 0, 7.15126, 0, 6.95655, 16, 6.95655 )
[sub_resource type="OccluderPolygon2D" id=96] [sub_resource type="OccluderPolygon2D" id=96]
@ -436,6 +440,150 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="ConvexPolygonShape2D" id=143] [sub_resource type="ConvexPolygonShape2D" id=143]
points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 ) points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
[sub_resource type="OccluderPolygon2D" id=144]
polygon = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=145]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=146]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=147]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=148]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=149]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=150]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=151]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=152]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=153]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=154]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=155]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=156]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=157]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=158]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=159]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=160]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=161]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=162]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=163]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=164]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=165]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=166]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=167]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=168]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=169]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=170]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=171]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=172]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=173]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=174]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=175]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=176]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=177]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=178]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=179]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=180]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=181]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=182]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=183]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=184]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=185]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=186]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=187]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=188]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=189]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=190]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[sub_resource type="ConvexPolygonShape2D" id=191]
points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
[resource] [resource]
47/name = "tileset_science_lab.png 47" 47/name = "tileset_science_lab.png 47"
47/texture = ExtResource( 1 ) 47/texture = ExtResource( 1 )
@ -762,14 +910,14 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
48/navigation_offset = Vector2( 0, 0 ) 48/navigation_offset = Vector2( 0, 0 )
48/shape_offset = Vector2( 0, 0 ) 48/shape_offset = Vector2( 0, 0 )
48/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 48/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
48/shape = SubResource( 144 ) 48/shape = SubResource( 95 )
48/shape_one_way = true 48/shape_one_way = true
48/shape_one_way_margin = 1.0 48/shape_one_way_margin = 1.0
48/shapes = [ { 48/shapes = [ {
"autotile_coord": Vector2( 0, 0 ), "autotile_coord": Vector2( 0, 0 ),
"one_way": true, "one_way": true,
"one_way_margin": 1.0, "one_way_margin": 1.0,
"shape": SubResource( 144 ), "shape": SubResource( 95 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ] } ]
48/z_index = 0 48/z_index = 0
@ -1148,3 +1296,332 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
52/shape_one_way_margin = 0.0 52/shape_one_way_margin = 0.0
52/shapes = [ ] 52/shapes = [ ]
52/z_index = 0 52/z_index = 0
53/name = "metal_tile.png 53"
53/texture = ExtResource( 7 )
53/tex_offset = Vector2( 0, 0 )
53/modulate = Color( 1, 1, 1, 1 )
53/region = Rect2( 0, 0, 176, 80 )
53/tile_mode = 1
53/autotile/bitmask_mode = 1
53/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
53/autotile/icon_coordinate = Vector2( 0, 0 )
53/autotile/tile_size = Vector2( 16, 16 )
53/autotile/spacing = 0
53/autotile/occluder_map = [ Vector2( 1, 1 ), SubResource( 144 ) ]
53/autotile/navpoly_map = [ ]
53/autotile/priority_map = [ ]
53/autotile/z_index_map = [ ]
53/occluder_offset = Vector2( 0, 0 )
53/navigation_offset = Vector2( 0, 0 )
53/shape_offset = Vector2( 0, 0 )
53/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
53/shape = SubResource( 145 )
53/shape_one_way = false
53/shape_one_way_margin = 1.0
53/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 145 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 146 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 147 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 148 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 149 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 150 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 151 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 152 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 153 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 154 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 0, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 155 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 1, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 156 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 157 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 158 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 159 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 160 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 161 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 162 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 163 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 164 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 165 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 166 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 167 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 168 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 169 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 170 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 171 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 4, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 172 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 5, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 173 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 174 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 175 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 4 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 176 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 177 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 178 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 179 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 8, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 180 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 181 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 182 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 183 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 7, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 184 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 6, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 185 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 186 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 1 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 187 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 188 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 2 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 189 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 10, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 190 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 9, 3 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 191 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
53/z_index = 0
54/name = "techno_wall_tile.png 54"
54/texture = ExtResource( 8 )
54/tex_offset = Vector2( 0, 0 )
54/modulate = Color( 1, 1, 1, 1 )
54/region = Rect2( 0, 0, 176, 80 )
54/tile_mode = 1
54/autotile/bitmask_mode = 1
54/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 438, Vector2( 0, 2 ), 54, Vector2( 0, 3 ), 48, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 511, Vector2( 1, 2 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 219, Vector2( 2, 2 ), 27, Vector2( 2, 3 ), 24, Vector2( 3, 0 ), 144, Vector2( 3, 1 ), 146, Vector2( 3, 2 ), 18, Vector2( 3, 3 ), 16, Vector2( 4, 0 ), 176, Vector2( 4, 1 ), 182, Vector2( 4, 2 ), 434, Vector2( 4, 3 ), 50, Vector2( 4, 4 ), 178, Vector2( 5, 0 ), 248, Vector2( 5, 1 ), 255, Vector2( 5, 2 ), 507, Vector2( 5, 3 ), 59, Vector2( 5, 4 ), 251, Vector2( 6, 0 ), 440, Vector2( 6, 1 ), 447, Vector2( 6, 2 ), 510, Vector2( 6, 3 ), 62, Vector2( 6, 4 ), 446, Vector2( 7, 0 ), 152, Vector2( 7, 1 ), 155, Vector2( 7, 2 ), 218, Vector2( 7, 3 ), 26, Vector2( 7, 4 ), 154, Vector2( 8, 0 ), 184, Vector2( 8, 1 ), 191, Vector2( 8, 2 ), 506, Vector2( 8, 3 ), 58, Vector2( 8, 4 ), 186, Vector2( 9, 0 ), 443, Vector2( 9, 1 ), 254, Vector2( 9, 2 ), 442, Vector2( 9, 3 ), 190, Vector2( 10, 2 ), 250, Vector2( 10, 3 ), 187 ]
54/autotile/icon_coordinate = Vector2( 0, 0 )
54/autotile/tile_size = Vector2( 16, 16 )
54/autotile/spacing = 0
54/autotile/occluder_map = [ ]
54/autotile/navpoly_map = [ ]
54/autotile/priority_map = [ ]
54/autotile/z_index_map = [ ]
54/occluder_offset = Vector2( 0, 0 )
54/navigation_offset = Vector2( 0, 0 )
54/shape_offset = Vector2( 0, 0 )
54/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
54/shape_one_way = false
54/shape_one_way_margin = 0.0
54/shapes = [ ]
54/z_index = 0

View File

@ -5,6 +5,8 @@
[ext_resource path="res://Scripts/Component/LightLoader.gd" type="Script" id=3] [ext_resource path="res://Scripts/Component/LightLoader.gd" type="Script" id=3]
[ext_resource path="res://Scripts/Entities/Wall Light.gd" type="Script" id=4] [ext_resource path="res://Scripts/Entities/Wall Light.gd" type="Script" id=4]
[sub_resource type="CircleShape2D" id=1] [sub_resource type="CircleShape2D" id=1]
radius = 200.0 radius = 200.0

View File

@ -15,21 +15,21 @@
tile_set = ExtResource( 1 ) tile_set = ExtResource( 1 )
cell_size = Vector2( 16, 16 ) cell_size = Vector2( 16, 16 )
format = 1 format = 1
tile_data = PoolIntArray( 393217, 49, 0, 393218, 49, 0, 393219, 49, 0, 393220, 49, 0, 393221, 49, 0, 524285, 47, 3, 524286, 48, 0, 524287, 47, 3, 458753, 49, 0, 458754, 52, 0, 458755, 52, 2, 458756, 49, 0, 458757, 49, 0, 589821, 47, 65539, 589822, 48, 0, 589823, 47, 65539, 524289, 49, 0, 524290, 52, 65536, 524291, 52, 65538, 524292, 49, 0, 524293, 49, 0, 655357, 47, 131075, 655358, 48, 0, 655359, 47, 131075, 589825, 49, 0, 589826, 52, 65536, 589827, 52, 65538, 589828, 49, 0, 589829, 49, 0, 655361, 49, 0, 655362, 52, 131072, 655363, 52, 131074, 655364, 49, 0, 655365, 49, 0, 786429, 51, 0, 786430, 51, 1, 786431, 51, 1, 720896, 51, 2, 720897, 47, 0, 720898, 47, 1, 720899, 47, 1, 720900, 47, 1, 720901, 47, 1, 720902, 47, 1, 720903, 47, 1, 720904, 47, 1, 720905, 47, 1, 720906, 47, 1, 720907, 47, 1, 720908, 47, 1, 720909, 47, 1, 720910, 47, 1, 720911, 47, 1, 720912, 47, 1, 720913, 47, 1, 720914, 47, 1, 720915, 47, 1, 720916, 47, 1, 720917, 47, 1, 720918, 47, 1, 720919, 47, 1, 720920, 47, 1, 720921, 47, 1, 720922, 47, 1, 720923, 47, 1, 720924, 47, 1, 720925, 47, 1, 720926, 47, 1, 720927, 47, 2, 851965, 51, 65536, 851966, 51, 65537, 851967, 51, 65537, 786432, 51, 65538, 786433, 47, 65536, 786434, 47, 65537, 786435, 47, 65537, 786436, 47, 65537, 786437, 47, 65537, 786438, 47, 65537, 786439, 47, 65537, 786440, 47, 65537, 786441, 47, 65537, 786442, 47, 65537, 786443, 47, 65537, 786444, 47, 65537, 786445, 47, 65537, 786446, 47, 65537, 786447, 47, 65537, 786448, 47, 65537, 786449, 47, 65537, 786450, 47, 65537, 786451, 47, 65537, 786452, 47, 65537, 786453, 47, 65537, 786454, 47, 65537, 786455, 47, 65537, 786456, 47, 65537, 786457, 47, 65537, 786458, 47, 65537, 786459, 47, 65537, 786460, 47, 65537, 786461, 47, 65537, 786462, 47, 65537, 786463, 47, 65538, 917501, 51, 131072, 917502, 51, 131073, 917503, 51, 131073, 851968, 51, 131074, 851969, 47, 131072, 851970, 47, 131073, 851971, 47, 131073, 851972, 47, 131073, 851973, 47, 131073, 851974, 47, 131073, 851975, 47, 131073, 851976, 47, 131073, 851977, 47, 131073, 851978, 47, 131073, 851979, 47, 131073, 851980, 47, 131073, 851981, 47, 131073, 851982, 47, 131073, 851983, 47, 131073, 851984, 47, 131073, 851985, 47, 131073, 851986, 47, 131073, 851987, 47, 131073, 851988, 47, 131073, 851989, 47, 131073, 851990, 47, 131073, 851991, 47, 131073, 851992, 47, 131073, 851993, 47, 131073, 851994, 47, 131073, 851995, 47, 131073, 851996, 47, 131073, 851997, 47, 131073, 851998, 47, 131073, 851999, 47, 131074 ) tile_data = PoolIntArray( 393217, 49, 0, 393218, 49, 0, 393219, 49, 0, 393220, 49, 0, 393221, 49, 0, 524285, 47, 3, 524286, 48, 0, 524287, 47, 3, 458753, 49, 0, 458754, 52, 0, 458755, 52, 2, 458756, 49, 0, 458757, 49, 0, 589821, 47, 65539, 589822, 48, 0, 589823, 47, 65539, 524289, 49, 0, 524290, 52, 65536, 524291, 52, 65538, 524292, 49, 0, 524293, 49, 0, 655357, 47, 131075, 655358, 48, 0, 655359, 47, 131075, 589825, 49, 0, 589826, 52, 65536, 589827, 52, 65538, 589828, 49, 0, 589829, 49, 0, 655361, 49, 0, 655362, 52, 131072, 655363, 52, 131074, 655364, 49, 0, 655365, 49, 0, 786425, 53, 0, 786426, 53, 1, 786427, 53, 1, 786428, 53, 1, 786429, 53, 1, 786430, 53, 1, 786431, 53, 1, 720896, 53, 2, 720897, 47, 0, 720898, 47, 1, 720899, 47, 1, 720900, 47, 1, 720901, 47, 1, 720902, 47, 1, 720903, 47, 1, 720904, 47, 1, 720905, 47, 1, 720906, 47, 1, 720907, 47, 1, 720908, 47, 1, 720909, 47, 1, 720910, 47, 1, 720911, 47, 1, 720912, 47, 1, 720913, 47, 1, 720914, 47, 1, 720915, 47, 1, 720916, 47, 1, 720917, 47, 1, 720918, 47, 1, 720919, 47, 1, 720920, 47, 1, 720921, 47, 1, 720922, 47, 1, 720923, 47, 1, 720924, 47, 1, 720925, 47, 1, 720926, 47, 1, 720927, 47, 2, 851961, 53, 65536, 851962, 53, 65537, 851963, 53, 65537, 851964, 53, 65537, 851965, 53, 65537, 851966, 53, 65537, 851967, 53, 65537, 786432, 53, 65538, 786433, 47, 65536, 786434, 47, 65537, 786435, 47, 65537, 786436, 47, 65537, 786437, 47, 65537, 786438, 47, 65537, 786439, 47, 65537, 786440, 47, 65537, 786441, 47, 65537, 786442, 47, 65537, 786443, 47, 65537, 786444, 47, 65537, 786445, 47, 65537, 786446, 47, 65537, 786447, 47, 65537, 786448, 47, 65537, 786449, 47, 65537, 786450, 47, 65537, 786451, 47, 65537, 786452, 47, 65537, 786453, 47, 65537, 786454, 47, 65537, 786455, 47, 65537, 786456, 47, 65537, 786457, 47, 65537, 786458, 47, 65537, 786459, 47, 65537, 786460, 47, 65537, 786461, 47, 65537, 786462, 47, 65537, 786463, 47, 65538, 917497, 53, 131072, 917498, 53, 131073, 917499, 53, 131073, 917500, 53, 131073, 917501, 53, 131073, 917502, 53, 131073, 917503, 53, 131073, 851968, 53, 131074, 851969, 47, 131072, 851970, 47, 131073, 851971, 47, 131073, 851972, 47, 131073, 851973, 47, 131073, 851974, 47, 131073, 851975, 47, 131073, 851976, 47, 131073, 851977, 47, 131073, 851978, 47, 131073, 851979, 47, 131073, 851980, 47, 131073, 851981, 47, 131073, 851982, 47, 131073, 851983, 47, 131073, 851984, 47, 131073, 851985, 47, 131073, 851986, 47, 131073, 851987, 47, 131073, 851988, 47, 131073, 851989, 47, 131073, 851990, 47, 131073, 851991, 47, 131073, 851992, 47, 131073, 851993, 47, 131073, 851994, 47, 131073, 851995, 47, 131073, 851996, 47, 131073, 851997, 47, 131073, 851998, 47, 131073, 851999, 47, 131074 )
[node name="Soldier" parent="." instance=ExtResource( 8 )]
position = Vector2( 111.361, 167.466 )
[node name="Worker" parent="." instance=ExtResource( 7 )] [node name="Worker" parent="." instance=ExtResource( 7 )]
position = Vector2( -48.0134, 200.126 ) position = Vector2( -95.679, 166.76 )
face_right_init = false face_right_init = false
reset_after_dialog = true reset_after_dialog = true
[node name="Soldier" parent="Worker" instance=ExtResource( 8 )]
position = Vector2( 208.232, -31.4683 )
[node name="Scientist" parent="." instance=ExtResource( 2 )] [node name="Scientist" parent="." instance=ExtResource( 2 )]
position = Vector2( 182.674, 166.939 ) position = Vector2( 182.674, 166.939 )
[node name="Player" parent="." instance=ExtResource( 3 )] [node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 82.2741, 164.848 ) position = Vector2( 32.6224, 160.876 )
[node name="GUI" parent="." instance=ExtResource( 4 )] [node name="GUI" parent="." instance=ExtResource( 4 )]

Binary file not shown.

View File

@ -1,14 +1,23 @@
extends "res://Scripts/Component/Interactable.gd" extends "res://Scripts/Component/Interactable.gd"
export var item : String export var item : String
export var clearance_card : int = -1
export var tip : String = "" export var tip : String = ""
func _ready(): func _ready():
connect("interacted", self, "_on_interact") connect("interacted", self, "_on_interact")
func _on_interact(): func _on_interact():
player.add_item(item) if item != "":
if len(tip) >= 1: player.add_item(item)
var gui = get_tree().root.get_node("World").get_node("GUI") if len(tip) >= 1:
gui.display_tip(tip) give_tip(tip)
if clearance_card > 0:
if clearance_card > player.clearance_level:
player.clearance_level = clearance_card
give_tip("Unlocked Clearance Level: " + str(clearance_card))
queue_free() queue_free()
func give_tip(message):
var gui = get_tree().root.get_node("World").get_node("GUI")
gui.display_tip(message)

View File

@ -2,9 +2,7 @@ extends "res://Scripts/Component/Speaker.gd"
signal dialog_exited signal dialog_exited
const Story_Reader_Class = preload("res://addons/EXP-System-Dialog/Reference_StoryReader/EXP_StoryReader.gd") var story_reader
const story_file = preload("res://Assets/Stories/english_story.tres")
var story_reader = Story_Reader_Class.new()
var gui var gui
@ -16,7 +14,7 @@ export var speaker_name = ""
var final_display_message = "" var final_display_message = ""
func _ready(): func _ready():
story_reader.read(story_file) story_reader = $"/root/StoryManager".get_reader()
connect("updated_text", self, "_on_text_update") connect("updated_text", self, "_on_text_update")
connect("finished_text", self, "_on_finish_text") connect("finished_text", self, "_on_finish_text")

View File

@ -1,8 +1,8 @@
extends "res://Scripts/Component/Speaker.gd" extends "res://Scripts/Component/Speaker.gd"
var Story_Reader_Class = preload("res://addons/EXP-System-Dialog/Reference_StoryReader/EXP_StoryReader.gd")
var story_reader = Story_Reader_Class.new() var story_reader
var loading_game : bool = false var loading_game : bool = false
@ -16,9 +16,7 @@ const STORY_DID = 2
func _ready(): func _ready():
var file = load("res://Assets/Stories/english_story.tres") story_reader = $"/root/StoryManager".get_reader()
story_reader.read(file)
audio_clip_player = AudioStreamPlayer.new() audio_clip_player = AudioStreamPlayer.new()
add_child(audio_clip_player) add_child(audio_clip_player)

View File

@ -0,0 +1,19 @@
extends Node
export var locale = "en"
const Story_Reader_Class = preload("res://addons/EXP-System-Dialog/Reference_StoryReader/EXP_StoryReader.gd")
const default_story = preload("res://Assets/Stories/dev_story.tres")
var story_reader = Story_Reader_Class.new()
var loaded : bool = false
func get_reader():
if not loaded:
story_reader.read(default_story)
loaded = true
return story_reader
func set_locale():
story_reader.read(load("res://Assets/Stories/" + locale + "_story.tres"))
loaded = true

View File

@ -4,3 +4,4 @@ func _ready():
$"/root/MusicManager".play_music("Dystopian/Dystopian") $"/root/MusicManager".play_music("Dystopian/Dystopian")
$Environment/AnimationPlayer.playback_speed = 0.25 $Environment/AnimationPlayer.playback_speed = 0.25
$Environment/AnimationPlayer.play("Floating") $Environment/AnimationPlayer.play("Floating")
$"/root/StoryManager".set_locale()

View File

@ -32,19 +32,23 @@ func finish_dialog():
$Dialog.hide() $Dialog.hide()
func clear_choices(): func clear_choices():
$Dialog/Choices.hide() $Dialog/ChoicesPanel.hide()
for i in range($Dialog/Choices.get_child_count()): for i in range($Dialog/ChoicesPanel/Choices.get_child_count()):
$Dialog/Choices.get_child(i).queue_free() $Dialog/ChoicesPanel/Choices.get_child(i).queue_free()
func add_choice(speaker : Node, choice_id : int, choice_text : String): func add_choice(speaker : Node, choice_id : int, choice_text : String):
$Dialog/Choices.hide() $Dialog/ChoicesPanel.hide()
var button = Button.new() var button = Button.new()
button.text = choice_text button.text = choice_text
button.connect("button_down", speaker, "_on_choice", [choice_id]) button.connect("button_down", speaker, "_on_choice", [choice_id])
$Dialog/Choices.add_child(button) $Dialog/ChoicesPanel/Choices.add_child(button)
func show_choices(): func show_choices():
$Dialog/Choices.show() $Dialog/ChoicesPanel.show()
if $Dialog/ChoicesPanel/Choices.get_child_count() == 0:
var label = Label.new()
label.text = "Press SPACE to continue"
$Dialog/ChoicesPanel/Choices.add_child(label)
func display_tip(tip): func display_tip(tip):
$Tip.modulate.a = 0 $Tip.modulate.a = 0

View File

@ -23,6 +23,7 @@ config/icon="res://icon.png"
[autoload] [autoload]
MusicManager="*res://Scripts/Singletons/MusicManager.gd" MusicManager="*res://Scripts/Singletons/MusicManager.gd"
StoryManager="*res://Scripts/Singletons/StoryManager.gd"
[display] [display]