From 89e029d6c44a92bfe63b62cfcb1785cd519b09f0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 6 Mar 2021 17:10:27 -0500 Subject: Made the mirror room! Not totally done yet. Also not hooked up to anything yet. --- res/maps/hallucination.tsx | 10 ++ res/maps/hallucination_mirror.tmx | 186 +++++++++++++++++++++++++++++++++++ res/maps/hallucination_tiles.png | Bin 51214 -> 45699 bytes res/scripts/hallucination_mirror.lua | 28 ++++++ res/sprites/mirror.png | Bin 0 -> 3311 bytes res/sprites/mirror_anim.txt | 3 + res/sprites/mirror_frames.txt | 5 + 7 files changed, 232 insertions(+) create mode 100644 res/maps/hallucination_mirror.tmx create mode 100644 res/scripts/hallucination_mirror.lua create mode 100644 res/sprites/mirror.png create mode 100644 res/sprites/mirror_anim.txt create mode 100644 res/sprites/mirror_frames.txt (limited to 'res') diff --git a/res/maps/hallucination.tsx b/res/maps/hallucination.tsx index 1bffc30..e303913 100644 --- a/res/maps/hallucination.tsx +++ b/res/maps/hallucination.tsx @@ -1692,4 +1692,14 @@ + + + + + + + + + + diff --git a/res/maps/hallucination_mirror.tmx b/res/maps/hallucination_mirror.tmx new file mode 100644 index 0000000..a9aadff --- /dev/null +++ b/res/maps/hallucination_mirror.tmx @@ -0,0 +1,186 @@ + + + + + + + + +5,4,5,4,5,4,5,4,5,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,1,1,1,7,1,7,7,7,7,7,7,7,7,7,7,7,2147483654,2147483658,2147483698,1,1, +4,5,4,5,4,5,4,5,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,1,1,7,7,7,30,30,30,31,7,7,7,7,7,7,2147483654,2147483658,2147483698,2147483697,1,1, +5,5,4,5,4,5,5,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,1,1,7,7,7,30,31,30,31,7,7,7,7,2147483654,11,2147483658,2147483698,2147483697,1,1,1, +4,4,5,4,5,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,1,7,7,7,7,30,31,31,31,7,7,7,2147483654,2147483658,2147483698,2147483697,1,1,1,1,1, +5,5,5,4,5,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,1,7,7,7,7,30,31,30,31,2147483654,2147483659,11,2147483658,2147483698,2147483697,1,1,1,1,1073741873,39, +4,4,30,31,30,31,30,31,7,7,422,2147483707,29,36,1073741831,68,7,1073741831,1073741831,1073741831,43,1073741831,422,31,422,31,7,7,7,7,7,7,30,31,7,43,4,5,4,5,2147483698,1,1,1073741883,1073741887,2147483687,1073741886,9, +30,31,30,31,2147483680,32,30,31,31,30,423,28,36,1073741831,1073741831,1073741831,1073741831,2147483718,70,7,1073741831,1073741831,423,7,423,7,30,31,7,7,30,31,2147483680,2147483654,3221225677,203,4,5,4,5,2147483697,1,1073741895,1073741886,9,9,9,9, +30,31,2147483680,7,7,2147483695,47,32,30,31,426,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,1073741831,426,7,426,7,7,32,30,31,2147483680,7,3221225678,2147483658,9,3,4,5,4,5,3221225531,1073741884,1073741874,9,9,9,9,9, +7,7,7,3221225508,1073741860,68,3221225508,1073741852,1073741858,1073741858,1073741860,7,7,7,7,7,7,7,7,7,7,7,7,32,30,31,2147483680,7,7,7,7,3221225678,2147483658,40,9,3,4,5,4,5,9,9,9,9,9,9,9,9, +3221225508,1073741852,1073741858,3221225501,1073741853,1073741852,3221225501,1,1,1,1073741853,1073741852,1073741860,7,7,7,7,44,45,7,7,7,7,7,7,7,7,7,3221225678,3221225677,203,3221225680,9,9,9,3,4,5,4,5,9,9,9,9,9,9,9,9, +3221225501,1,1,1,1,1,2147483715,1,3221225531,3221225531,1073741884,3221225521,1073741853,1073741860,7,436,7,7,7,7,43,7,7,7,7,7,2147483654,2147483659,2147483658,9,9,61,9,9,9,9,9,9,2,5,9,9,56,57,9,9,9,9, +2,2,1,38,2147483715,2,2,2,9,9,9,9,2,2,7,7,2,2,7,7,2,2,7,7,2147483654,2147483659,2147483658,9,2,2,9,56,57,9,9,56,2,2,4,5,9,9,9,9,9,9,9,9, +1,2,1,1,1,2,2,2,9,9,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,9,2,2,9,9,2,2,9,9,2,2,9,9,4,5,9,9,9,9,9,9,9,9, +1,2,1,38,1,2,2,2,2,2,2,2,9,9,7,7,7,7,7,7,2147483659,2147483658,9,1073741833,2,2,9,9,9,4,5,9,2,2,5,9,9,9,4,5,9,9,9,9,9,9,9,9, +1,2,2,2,2,2,1,2,9,9,9,9,9,9,7,7,7,7,7,9,9,9,9,9,9,9,9,9,9,9,9,4,5,9,9,4,5,9,4,5,9,9,9,9,9,9,9,9, +1,1,1,1,1,9,9,9,9,9,9,9,9,9,7,7,7,7,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9 + + + + +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,2147484122,476,476,476,476,476,476,476,476,476,474,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,473,93,93,93,93,93,93,93,93,93,2147484121,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,478,477,477,477,477,477,477,477,477,477,2147484126,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87, +90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89, +88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87, +90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,96,97,90,87,88,89,90,87,88,89,90,87,88,89, +88,89,90,91,96,97,98,87,88,89,90,87,96,97,90,87,96,97,90,87,96,97,90,87,109,97,90,87,88,89,90,87,96,104,105,94,95,89,90,87,88,89,90,87,88,89,90,87, +98,91,96,104,105,121,109,97,98,91,92,93,93,93,93,93,93,93,93,93,93,93,422,469,422,121,109,97,90,87,96,104,105,93,93,103,98,87,88,89,90,87,88,89,90,87,88,89, +109,104,105,93,93,93,93,121,109,104,105,93,93,93,93,93,93,93,93,93,93,93,93,103,98,91,92,121,109,104,105,93,93,93,93,94,95,89,90,87,88,89,90,87,88,89,90,87, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,121,109,104,105,93,93,93,93,93,93,35,93,103,98,91,88,89,90,87,88,89,90,87,88,89, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,121,109,104,90,87,88,89,90,87,88,89,90,87, +93,93,93,93,93,110,111,114,115,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,94,95,89,90,87,88,89,90,87,88,89, +111,114,115,110,111,89,90,87,92,93,93,110,111,114,115,110,111,114,115,110,111,114,115,93,93,93,93,110,111,114,115,93,93,93,93,110,111,102,90,87,88,89,90,87,88,89,90,87, +90,87,92,103,90,87,88,89,105,110,111,89,90,87,101,89,90,87,101,102,90,87,101,114,115,110,111,102,90,87,101,114,115,110,111,102,90,87,88,89,90,87,88,89,90,87,88,89, +88,89,105,108,109,89,90,87,101,102,90,87,88,89,90,87,88,89,90,87,88,89,90,87,101,102,90,87,88,89,90,87,101,102,90,87,88,89,90,87,88,89,90,87,88,89,90,87, +90,87,101,102,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89, +88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87, +90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89,90,87,88,89 + + + + + + + +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,468,468,468,468,468,468,468,468,468,468,468,468,468,468,92,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,110,111,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,110,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,103,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,115,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,115,110,111,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93 + + + + + + + +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,115,93,93,93,93,93,93,93,93,93,93,93,93,93,468,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,114,115,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93, +93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93,93 + + + diff --git a/res/maps/hallucination_tiles.png b/res/maps/hallucination_tiles.png index 8c3b36c..54012be 100644 Binary files a/res/maps/hallucination_tiles.png and b/res/maps/hallucination_tiles.png differ diff --git a/res/scripts/hallucination_mirror.lua b/res/scripts/hallucination_mirror.lua new file mode 100644 index 0000000..5b336af --- /dev/null +++ b/res/scripts/hallucination_mirror.lua @@ -0,0 +1,28 @@ +hallucination_mirror = {} + +function hallucination_mirror.mailbox() + StartCutscene() + DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE) + ShowChoice("Yes", "No") + WaitForEndOfMessage() + + if GetChoiceSelection() == 1 then + HideCutsceneBars() + return + end + + DisplayMessage("* Inside the mailbox is a poem.\n* Read it?", "", SpeakerType.NONE) + ShowChoice("Yes", "No") + WaitForEndOfMessage() + + if GetChoiceSelection() == 1 then + HideCutsceneBars() + return + end + + gamestate.read_mirror_message = true + + DisplayMessage("* \n* \n* \n\f...\n\f* You get the feeling you're being watched.", "", SpeakerType.NONE) + WaitForEndOfMessage() + HideCutsceneBars() +end diff --git a/res/sprites/mirror.png b/res/sprites/mirror.png new file mode 100644 index 0000000..fcd3e16 Binary files /dev/null and b/res/sprites/mirror.png differ diff --git a/res/sprites/mirror_anim.txt b/res/sprites/mirror_anim.txt new file mode 100644 index 0000000..6d6e06f --- /dev/null +++ b/res/sprites/mirror_anim.txt @@ -0,0 +1,3 @@ +../res/sprites/mirror.png +../res/sprites/mirror_frames.txt +still[down]: 0 \ No newline at end of file diff --git a/res/sprites/mirror_frames.txt b/res/sprites/mirror_frames.txt new file mode 100644 index 0000000..ffc8ca3 --- /dev/null +++ b/res/sprites/mirror_frames.txt @@ -0,0 +1,5 @@ +176,48 cell size +10 frames per row +1 frames + +176,48,0,64 -- cgit 1.4.1