Commit Graph

219 Commits

Author SHA1 Message Date
mshirt 84b0314e4d Changing niko sprites to en sprites if on "..." replay 2017-04-22 10:26:33 -07:00
Vinyl Darkscratch 3cd9e58ba5 Merge remote-tracking branch 'mathewv/master' 2017-04-13 20:13:54 -07:00
tdixon d5822423e9 Merge branch 'master' into localization 2017-04-11 03:01:53 -03:00
tdixon 92e88d7182 Prevent crashing from disposed bitmaps 2017-04-11 03:01:37 -03:00
mshirt e48fb2660e press x to delete chars added 2017-04-09 12:26:30 -07:00
Vinyl Darkscratch 851ee5ae15 Comment accidental script changes 2017-04-06 17:19:05 -07:00
Vinyl Darkscratch 55f6a4318c Add fadeout on title screen exit as well 2017-04-04 02:35:46 -07:00
Vinyl Darkscratch 7274072a2d Add window fade-out on exit 2017-04-04 02:31:08 -07:00
tdixon 1f594e4268 Merge branch 'master' into localization 2017-04-03 19:11:08 -03:00
tdixon fc7463d7e7 Expand localization to Pictures and other message types 2017-03-31 12:46:03 -03:00
Vinyl Darkscratch 08b90de8d1 Add journal reimplementation, update for Solstice update 2017-03-30 02:22:48 -07:00
Vinyl Darkscratch 94535d2d80 Merge remote-tracking branch 'mathewv/master' 2017-03-28 13:33:06 -07:00
mshirt d8002dabca all the solstice changes
i'm lazy sorry and forgot to keep the repo up to date

but here's all the solstice scripts
2017-03-27 14:52:10 -05:00
tdixon cfd30bbca6 Enable localization of game text 2017-03-03 16:53:16 -04:00
Vinyl Darkscratch 0249ecd50c Merge remote-tracking branch 'mathewv/master'
# Conflicts:
#	scripts/SaveLoad.rb
2017-03-02 22:38:38 -08:00
mshirt 0f3217d16d Added save backup system to the game
To better deal with the random savefile corruptions that occur for some
users.  This should help?  I tested it with each file in the chain
corrupted to make sure it was falling back onto the backups properly,
and made it delete the base file if all backups were corrupt, which is a
very unlikely scenario but might as well put a case to handle it.
2017-02-04 19:17:47 -06:00
Vinyl Darkscratch 2119b1919d Merge remote-tracking branch 'mathewv/master' 2017-01-11 00:54:30 -08:00
mshirt 4a459cb330 Fixing text being corrupted when fullscreening
Mainly by increasing delay when fullscreening.
2017-01-03 02:23:03 -06:00
mshirt 546edc33b8 Preventing saving if intro variable isn't set
This is to prevent the "[Niko feels uneasy.]" infinite loop that can
occur if you somehow save in the INIT room.
2017-01-02 17:33:33 -06:00
mshirt 505f4214c1 Fixing EACCES error
That occurs when trying to copy the ______.exe when you already have it
running in the destination folder.
2017-01-01 18:25:11 -06:00
mshirt 102e0aea6c Game now saves settings to file
So the user doesn't have to customize their settings everytime they
launch.
2017-01-01 16:16:43 -06:00
mshirt b1b907a6e6 Settings menu script additions
Settings menu now fully works, but will need to add more changes in a
bit to make it save a settings file (so user won't have to change
settings every relaunch)
2017-01-01 05:04:32 -06:00
mshirt 79e70e8821 Fixed being able to open both menus at once
You could open both inventory and menu at once if you were walking.  But
now you can't.
2017-01-01 05:04:32 -06:00
Vinyl Darkscratch e97d42f132 Merge remote-tracking branch 'mathewv/master' 2016-12-20 13:09:17 -08:00
mshirt 6f7091db62 Making these colors brighter
Because people complained about the document text being "hard to read"
2016-12-18 16:39:56 -06:00
Vinyl Darkscratch d16959f0e8 Merge remote-tracking branch 'mathewv/master' 2016-12-17 22:53:21 -08:00
mshirt 3bdb5b6ea5 Revert "More anti-lag changes"
This reverts commit 07f2d5d6fa.
2016-12-17 20:10:23 -06:00
mshirt 07f2d5d6fa More anti-lag changes 2016-12-17 16:44:30 -06:00
mshirt 355b2d8528 Moving the Cancel higher
This change prevents the player from opening the fast travel menu and
the inventory from the Menu at the same time.
2016-12-17 16:44:30 -06:00
Vinyl Darkscratch 4662417dbe Merge remote-tracking branch 'mathewv/master' 2016-12-16 13:15:03 -08:00
mshirt f4aace6a27 Fixing observation deck + fast travel bug 2016-12-16 00:21:43 -06:00
Vinyl Darkscratch b0b024a01a Merge remote-tracking branch 'mathewv/master' 2016-12-15 13:37:16 -08:00
Mathew Velasquez d47a2241ee Messagebox fix 2016-12-15 05:39:51 -05:00
Vinyl Darkscratch 3224d65988 Made paths in script cross-platform friendly
An ending that made me very, VERY teary-eyed, interrupted by an access
denied error…argh, code bugs, why!  >~<  Basically, the path to “My
Games” and the name of the journal’s executable are now defined by
oneshot.cpp and loaded into the Ruby script, so the ending isn’t
interrupted.  Now all that’s left is to compile the journal!
2016-12-14 21:09:33 -08:00
mshirt 9c03d0da02 Adding in combinations for all 10 photos 2016-12-14 03:53:34 -06:00
mshirt 7b34518580 Fixing balcony event
Would trigger twice if you were at the top of the railing during a
cutscene.
2016-12-14 02:17:25 -06:00
mshirt aeff9a856c Adding in checkpoint save functionality 2016-12-14 02:16:57 -06:00
mshirt d76c700de0 Fixing "hack" in ed-text
Apparently there was already a function for reseting the frame wait,
used commonly after loading files.  So we don't have to use the hacky
method of making the game wait for X number of frames anymore.
2016-12-13 04:45:25 -06:00
mshirt 4fec45be25 Fixed softlock when opening menu
If you opened the fast travel or the item menu right before touching a
touch-run event, it would soft-lock you if the event changed niko's
move-route, since niko was unable to move due to his update function
being unreached.
2016-12-13 04:42:45 -06:00
mshirt f9a43eff45 Reordering the trigger on custom message boxes
With frame perfect inputs, you could close these on the same frame as
they open, which in some cases leads to a soft lock of the game.
2016-12-12 17:44:48 -06:00
mshirt ae846e0976 Fixing a bug with the music fade-in script
Used to crash if these commands were hit during a music fade-in command.
2016-12-12 14:00:02 -06:00
mshirt a2caa4d626 Script to check if the countdown is over 2016-12-12 13:59:30 -06:00
mshirt 941b611ba0 minor changes to sun room fix 2016-12-10 02:27:01 -06:00
mshirt 91e25907eb Adding a quickfix for the sunroom bug 2016-12-10 01:20:21 -06:00
mshirt ee0c895a1e increasing delay for graphics update to catch up 2016-12-08 02:19:46 -06:00
mshirt 2c5cc374cd Making game defullscreen during prompts 2016-12-07 23:06:40 -06:00
mshirt c51dfe842a Added more checks for names 2016-12-07 23:06:23 -06:00
mshirt cce13d8d01 Added a switch for red docs 2016-12-06 16:43:11 -06:00
mshirt 691bbc0f67 Making the computer username default
Even for steam
2016-12-06 15:28:36 -06:00
mshirt 9b91a3d5e3 Adding a fast travel for a new map in the Glen 2016-12-04 16:53:07 -06:00
mshirt ae8e161504 Changed hitbox on smallpool 2016-12-01 18:09:20 -06:00
mshirt 7c97b71824 Added in \l and \r to credits
For left-justified and right-justified text
2016-11-27 21:04:50 -06:00
mshirt 88d9690737 A switch to disable fullscreen toggling 2016-11-27 21:04:15 -06:00
mshirt ce147a44a5 Added fullscreen toggle (F8) 2016-11-26 12:55:05 -06:00
mshirt a229d8862f Putting in combinations for trying to smash the sun 2016-11-26 12:54:49 -06:00
mshirt 5178abd891 Put in countdown script
also adjusted green_ambient
2016-11-25 21:42:30 -06:00
mshirt 824cd3af3b Putting in the post-game version of the safe document 2016-11-25 21:39:23 -06:00
Michael Shirt 42d9b25f3c Fixing choices
Because the last commit I did just broke it
2016-11-19 05:07:08 -07:00
Michael Shirt bca00b4197 Making choices filter out \p 2016-11-18 01:54:10 -07:00
Michael Shirt 1762362044 Added permaflag/variable functionality 2016-11-18 01:53:52 -07:00
Michael Shirt bc2133b01f Adding scripts for plight's bruteforcing at elevator deck and for losing all items at beginning of tower 2016-11-18 01:51:49 -07:00
Michael Shirt a6df4ea3d2 Adjusting text colors to add contrast 2016-11-17 22:27:56 -07:00
Michael Shirt 83d6e46421 Added water pill combination 2016-11-17 13:02:44 -07:00
Michael Shirt 79ba9fc44a game_oneshot was misspelled
Mat did you even test this before you committed it?
2016-11-15 21:28:32 -07:00
Michael Shirt 6c819d0249 Commenting out choice scrolling with L/R
This was causing a bug where if you had 4 choices you could access
another page with blank choices?  Rather than try to figure out why
that's happening I'm opting to remove the functionality entirely, as
we're short on time and we don't even have any choice dialogues that
have more than 4 choices anyways.
2016-11-14 14:48:33 -07:00
Mathew Velasquez eff90ea95f Fixed wallpaper restore save bug 2016-11-06 17:43:00 -05:00
Michael Shirt c0a3cda160 Adding functions to disable saving on command 2016-11-04 14:04:38 -06:00
Michael Shirt 7a8cd433bd Adding journal copy function 2016-11-04 03:35:18 -06:00
Mathew Velasquez 1f35ab104f Various last-minute beta fixes 2016-11-04 05:29:22 -04:00
Michael Shirt e80454a0d6 Adding fast travel destinations 2016-11-02 16:38:00 -06:00
Michael Shirt 01b4e7e2a0 Fixing textbox width issue 2016-10-29 18:47:54 -06:00
Michael Shirt 2a03b10d7c Fixed a bug with quit_game_bed
The interpreter needs to +1 to the index before saving or else
quit_game_bed will have the game stuck in an infinite loop of quitting
the game when reloading, but we need to -1 immediately after because
otherwise the interpreter will skip a command after this is called.
2016-10-29 18:46:52 -06:00
Michael Shirt 01be2d6f4c Added 5th pixel puzzle for tower, S2 is no longer being used but will be left in the script anyways 2016-10-29 18:45:21 -06:00
Michael Shirt c7c4948817 Adding more footstep sfx for some tilesets 2016-10-29 18:44:48 -06:00
Michael Shirt 312672f160 Added courtyard as fast travel destination in Glen 2016-10-29 18:44:25 -06:00
Michael Shirt 1cba1adf66 Fixing bug with window prompts and adding credits message box
The game would try to catch up in frames when a window prompt was
opened, so if the window was open for 140 frames the game would process
the next 140 frames instantly after the game was closed.  To fix this, I
have the window prompt time how long it's opened and then I tell the
game to sleep for however many frames it was opened for.

Credits message works but does not yet have all the desired features,
will finish up later.
2016-10-29 18:44:06 -06:00
Michael Shirt d43e176b4c Footsplashes moved slightly lower to be more centered around feet 2016-10-22 20:10:13 -06:00
Michael Shirt ae62b5800d Added step sounds for endgame areas 2016-10-22 20:06:35 -06:00
Michael Shirt 6b91671ad0 Reducing house ambience
Cuz night said so
2016-10-22 20:05:21 -06:00
Michael Shirt 1750dc7c98 Changes to how the game handles quitting
With these changes the game technically never "allows" you to quit, and
instead the input is handled by Scene_Map.  This lets us run an event
before they quit.
2016-10-17 15:34:45 -06:00
Michael Shirt d403608189 Finishing footsplashes for the water room.
With these scripts the map properly loops and the footsplashes do as
well.  Footsplashes were also made bigger.
2016-10-17 15:27:52 -06:00
Michael Shirt 2e73c99b8a Fixes
Moved get_user_name back to where it belongs, and added self to the
wallpaper methods so they would be accessible from the event parser.
2016-10-15 01:06:27 -06:00
Michael Shirt cea46f76e8 Added footsplashes
These can be controlled with switch 101, to be primarily used in the
Tower area.

This isn't finalized yet but works as is atm, will be finished soon.
2016-10-13 18:32:34 -06:00
Michael Shirt f2368993d7 Made get_user_name script function
In the barrens during the prophet bot scene, the game was comparing the
entered name to Oneshot::USER_NAME.  But this was incorrect, as the name
could be either the steam name or the pc username and the name has some
preprocessing done to it.  With this new script function, we can compare
the name correctly
2016-10-13 18:32:34 -06:00
Michael Shirt ad48a874df 2 changes to basic text boxes
-If niko's character graphic is one of the gasmask graphics, change all
his facepics to the gasmask facepic
-User can now prompt text to show instantly by pressing action or cancel
while text is scrolling
2016-10-13 18:32:33 -06:00
Michael Shirt 99fbdf04cc Fixing a mistake with this script, should be checking for equality instead of inclusion 2016-10-13 18:32:33 -06:00
Michael Shirt 8314371b4f Rehauling the appearance of doc messages to look more like paper 2016-10-13 18:32:33 -06:00
Michael Shirt c04f442b0a Adding step sfx for the blue mineshaft 2016-10-13 18:32:33 -06:00
Mathew Velasquez 99c9a27f2a Wallpaper functionality restored for windows 2016-10-13 20:26:01 -04:00
Mathew Velasquez 0dc872bcea Journal screen stuff 2016-10-13 20:26:01 -04:00
Michael Shirt a0c9e2eeff Updating niko reflection script
Sink is no longer solid so the positioning of niko's reflection is
changed to "reflect" this.
2016-10-10 12:44:33 -06:00
Michael Shirt 77fdd558cb Added fadein functionality for bgm
This lets the user fadein bgm after using a normal "play bgm" command in
the event editor.  Just simply call "Script.fadein_bgm(target, speed)"
with the target being the target vol % that you want the fade in to
eventually reach and the speed being how fast you want it to reach it (1
- slowest, 100-instant)
2016-10-10 11:44:17 -06:00
Michael Shirt da01da31e7 Name checks
Checks for the name the player inputs, so that niko can have unique
dialogue for each situation.
2016-10-07 16:55:37 -06:00
Michael Shirt d884cbc2a6 Removing counter functionality of tiles
This was causing footsteps tiles in the barrens to allow the player to
interact with objects an extra tile in front of them, which was causing
issues (ex: letting players talk to doors through walls)
2016-10-07 16:54:29 -06:00
Michael Shirt 436a0f996f Bathroom mirror reflection
The bathroom mirror now reflects niko, with the aide of these scripts
2016-10-05 20:41:16 -06:00
Michael Shirt 583499f004 Added codebg to scrolling bgs
Night wanted this bg to be a scrolling/clamped bg as well
2016-10-04 01:34:05 -06:00
Michael Shirt 73c6ae14af Added splash step for tower
For the water room in the tower
2016-10-04 01:33:36 -06:00
Michael Shirt ab9856ef22 Made loading respect the fixed camera
Switch 100 is the fixed camera switch, this makes sure the game won't
try to focus on the player for the first frame.
2016-10-04 01:33:18 -06:00
Michael Shirt 4939d4678d Added more step puzzle solutions/checks
For the step puzzles in the tower
2016-10-04 01:31:28 -06:00
Michael Shirt e1a834220c commenting out debug so game respects the debug setting better 2016-10-03 11:04:17 -06:00