Commit Graph

140 Commits

Author SHA1 Message Date
spaciecat 35495207c7 animate choices with css transitions 2019-09-12 17:51:08 +10:00
spaciecat 45e3f27c79 seperate observer logic
i split apart the code that tells the dialogue when to update into a seperate file so that i can use it in other places! seemed like a faster solution to have observable-esque behaviour without using very new features, setting up compilers, and including huge libraries!

(not 100% sure its totally working, but i havn't caught it failing yet!)
2019-09-12 17:21:12 +10:00
spaciecat c1a136f590 move the "click to advance" text
the click to advance text is now moved into the right location using css transforms!

this still runs every frame when we're forcing a specific text position. but it's getting better!
2019-09-12 16:23:41 +10:00
spaciecat c56eea3b49 dialogue animation + debugger
refactored all the dialogue text animations to use css animation and transforms rather than frame by frame positioning

this causes some issues and the code isnt the cleanest, but its already feels smoother so thats a good start!

using the devtools for debugging was getting annoying so I added a `Game.debug()` method that toggles a custom debugger that includes a drawer containing links to all points in the script
2019-09-12 15:58:12 +10:00
spaciecat d59d8af01d markup and styling updates
removed dynamic viewport meta tag based scaling, it caused issues where a mobile browser's header wasnt able to be hidden

removed #topleft and #bottomright (corner text) elements because they aren't being used anywhere for anything and made mobile scaling weird

modified the css the new grid standards to vertically and horizontally center the game in a larger window, css can do that now and we dont need weird position absolute and `margin: auto` hacks!
2019-09-12 14:55:54 +10:00
spaciecat bed2b0b22f remove all save/restore pairs! 2019-09-12 14:39:45 +10:00
spaciecat c8ee042ef7 remove carriage teturns from script when parsing markdown
newlines on windows are weird... it wouldnt even let me start the game unless i did this
2019-09-12 13:34:40 +10:00
Nicky Case 4cc56dc7ef README IS DONE 2019-09-10 12:57:05 -04:00
Nicky Case 52771afe6a the end and about 2019-09-10 09:57:02 -04:00
Nicky Case a7cab36e2d test 2019-09-10 09:17:51 -04:00
Nicky Case 57520850ca beta 2019-09-09 13:27:35 -04:00
Nicky Case 0f00042824 BUNCHA POLISH 2019-09-09 12:37:58 -04:00
Nicky Case 78eed804c2 ALL THE POLISH 2019-09-07 17:19:53 -04:00
Nicky Case ec4dafdb44 content notes and shtuff 2019-09-06 16:25:14 -04:00
Nicky Case 9a61042d58 chapter select and save and load 2019-09-06 13:34:09 -04:00
Nicky Case f6033dd274 HECK YEAH CREDITS SEQUENCE IS DONE 2019-09-03 12:10:24 -04:00
Nicky Case 7f20baf56f credits half done in sprites 2019-09-02 12:35:36 -04:00
Nicky Case e38d9e6785 ALL THESE SOUND EFFECTS 2019-08-24 12:57:09 -04:00
Nicky Case 0a846c891a ALL SPRITES IN ACT 4 DONE 2019-08-17 13:18:34 -04:00
Nicky Case 38dc6e6d66 integrate sprites act 4 start and end 2019-08-16 16:02:23 -04:00
Nicky Case e4a5de84e4 sprites for end act 4 integrated 2019-08-16 12:37:01 -04:00
Nicky Case 3e3e901097 HELL YEAH ACT 4 SPRITES PRETTY MUCH INTEGRATED 2019-08-14 11:54:04 -04:00
Nicky Case 4459df1655 ACT 4 SPRITES 2019-08-10 12:42:19 -04:00
Nicky Case 9a706a1bb7 HELL YEAH ACT 3 is DONEEEEEEE 2019-07-30 16:17:36 -04:00
Nicky Case f41cef3252 intro anim DONE for act 3 2019-07-30 11:25:37 -04:00
Nicky Case ddfc63902f and a bit of code 2019-07-29 15:43:38 -04:00
Nicky Case 7990a1212d ACT 3 SPRITESHEETS AHHH 2019-07-29 15:09:30 -04:00
Nicky Case 2d7ed0ff1e pretty much all code for act ii 2019-07-22 16:42:42 -04:00
Nicky Case 9f364b5493 almost all code 2019-07-22 15:47:57 -04:00
Nicky Case ce5e4ca7be and special attacks 2019-07-18 10:45:01 -04:00
Nicky Case c943b2cf98 heck yeah act 2 sprites and anims 2019-07-17 12:16:02 -04:00
Nicky Case cf2fe18268 SO MUCH NEW ART 2019-07-16 11:43:39 -04:00
Nicky Case 51fe79bea2 asdas 2019-07-08 14:37:46 -04:00
Nicky Case f96769e203 buncha fixes and new music 2019-07-04 10:16:45 -04:00
Nicky Case 2b79e8c26d asdasd 2019-06-28 22:38:57 -04:00
Nicky Case 448a49b7ea ALL STITCHED 2019-06-26 11:03:27 -04:00
Nicky Case 728c335e38 intermission heck yeah 2019-06-21 11:33:04 -04:00
Nicky Case 788373a15a act 4 done more or less 2019-06-19 10:49:05 -04:00
Nicky Case 53db94969d a heckload more dialogue 2019-06-18 16:21:14 -04:00
Nicky Case 3b6f25c6d0 all sprites in 2019-06-17 15:33:15 -04:00
Nicky Case 0dbca6be69 act 3 pretty much done 2019-06-14 12:02:25 -04:00
Nicky Case 638395574e act 3 anims 2019-06-14 11:03:30 -04:00
Nicky Case 8666316125 This act is DONE for playtesting anyway 2019-06-13 11:43:18 -04:00
Nicky Case 27b5ba5c13 and some sounds 2019-06-12 15:08:32 -04:00
Nicky Case 91d5a8f90e placeholder pics in act ii 2019-06-12 12:23:26 -04:00
Nicky Case 77336a08b6 act ii chars 2019-06-11 14:31:28 -04:00
Nicky Case e431517d12 whoosh in and out with alpha 2019-06-11 10:45:09 -04:00
Nicky Case e6e12f09e3 a bit of placeholder act ii 2019-06-06 12:32:57 -04:00
Nicky Case 61427cd09f more scripts 2019-05-22 15:47:13 -04:00
Nicky Case f8460e9659 Fix reset HP bug 2019-05-07 15:40:03 -04:00