mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-04 07:29:20 +00:00
* More SlaveTwin * To cut or not to cut * SlaveTwin Beta Ready The SlaveTwin section should be ready for some testing, but the accompanying RopeGroup section still needs a lot of work doing to it. * Cleanup random selection function This still uses the previous random number selection method, it's just been cleaned up to make it more readable and to avoid duplication. As far as I could tell, there was no reason for the `C101_KinbakuClub_Slaves_Random#` variables to be global. So that's been incorperated into the function to keep things cleaner. * RopeGroup tidied for Alhpa * Change going to K Club. * More KC fitting in * Can leave KC Changed the door in the club, player can now leave if not in bondage. * A bit more RopeGroup * Twins Stage 1 First part of main interaction with either twin. * upload 14-11-2018 * Update Cassi 1 * Return to dorm added * RG bug fix Fixed reference error * Cassi with rope group release * Disabled save function in club
250 lines
12 KiB
HTML
250 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="cache-control" content="max-age=0" />
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
<meta http-equiv="expires" content="0" />
|
|
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
|
|
<meta http-equiv="pragma" content="no-cache" />
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=1200">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<title>Bondage College</title>
|
|
<link rel="icon" type="image/png" href="Icons/Player_Active.png">
|
|
</head>
|
|
|
|
<script src="Common.js"></script>
|
|
<script src="SaveState.js"></script>
|
|
<script src="Drawing.js"></script>
|
|
<script src="Actor.js"></script>
|
|
<script src="Inventory.js"></script>
|
|
<script src="Skill.js"></script>
|
|
<script src="Time.js"></script>
|
|
<script src="Struggle.js"></script>
|
|
<script src="GameLog.js"></script>
|
|
<script src="Cheat.js"></script>
|
|
<script src="Event.js"></script>
|
|
<script src="C000_Intro/Intro/Script.js"></script>
|
|
<script src="C000_Intro/ChapterSelect/Script.js"></script>
|
|
<script src="C000_Intro/CreatePlayer/Script.js"></script>
|
|
<script src="C001_BeforeClass/Intro/Script.js"></script>
|
|
<script src="C001_BeforeClass/Classroom/Script.js"></script>
|
|
<script src="C001_BeforeClass/Bag/Script.js"></script>
|
|
<script src="C001_BeforeClass/Sidney/Script.js"></script>
|
|
<script src="C001_BeforeClass/Amanda/Script.js"></script>
|
|
<script src="C001_BeforeClass/FightIntro/Script.js"></script>
|
|
<script src="C001_BeforeClass/Fight/Script.js"></script>
|
|
<script src="C001_BeforeClass/FightOutro/Script.js"></script>
|
|
<script src="C001_BeforeClass/Outro/Script.js"></script>
|
|
<script src="C002_FirstClass/Intro/Script.js"></script>
|
|
<script src="C002_FirstClass/SarahIntro/Script.js"></script>
|
|
<script src="C002_FirstClass/Classroom/Script.js"></script>
|
|
<script src="C002_FirstClass/Mildred/Script.js"></script>
|
|
<script src="C002_FirstClass/Amanda/Script.js"></script>
|
|
<script src="C002_FirstClass/Sidney/Script.js"></script>
|
|
<script src="C002_FirstClass/Sarah/Script.js"></script>
|
|
<script src="C002_FirstClass/Outro/Script.js"></script>
|
|
<script src="C003_MorningDetention/Intro/Script.js"></script>
|
|
<script src="C003_MorningDetention/DetentionRoom/Script.js"></script>
|
|
<script src="C003_MorningDetention/Sidney/Script.js"></script>
|
|
<script src="C003_MorningDetention/Yuki/Script.js"></script>
|
|
<script src="C003_MorningDetention/Glass/Script.js"></script>
|
|
<script src="C003_MorningDetention/Bag/Script.js"></script>
|
|
<script src="C003_MorningDetention/Outro/Script.js"></script>
|
|
<script src="C004_ArtClass/Intro/Script.js"></script>
|
|
<script src="C004_ArtClass/ArtRoom/Script.js"></script>
|
|
<script src="C004_ArtClass/Julia/Script.js"></script>
|
|
<script src="C004_ArtClass/Sarah/Script.js"></script>
|
|
<script src="C004_ArtClass/Jennifer/Script.js"></script>
|
|
<script src="C004_ArtClass/HiddenEgg/Script.js"></script>
|
|
<script src="C004_ArtClass/Outro/Script.js"></script>
|
|
<script src="C005_GymClass/Intro/Script.js"></script>
|
|
<script src="C005_GymClass/Jennifer/Script.js"></script>
|
|
<script src="C005_GymClass/GymFight/Script.js"></script>
|
|
<script src="C005_GymClass/WinFight/Script.js"></script>
|
|
<script src="C005_GymClass/LoseFight/Script.js"></script>
|
|
<script src="C005_GymClass/Outro/Script.js"></script>
|
|
<script src="C006_Isolation/Intro/Script.js"></script>
|
|
<script src="C006_Isolation/Mildred/Script.js"></script>
|
|
<script src="C006_Isolation/Yuki/Script.js"></script>
|
|
<script src="C006_Isolation/IsolationRoom/Script.js"></script>
|
|
<script src="C006_Isolation/CellGround/Script.js"></script>
|
|
<script src="C006_Isolation/CellDoor/Script.js"></script>
|
|
<script src="C006_Isolation/Pillory/Script.js"></script>
|
|
<script src="C006_Isolation/Horse/Script.js"></script>
|
|
<script src="C006_Isolation/Table/Script.js"></script>
|
|
<script src="C006_Isolation/Cross/Script.js"></script>
|
|
<script src="C006_Isolation/Outro/Script.js"></script>
|
|
<script src="C007_LunchBreak/Intro/Script.js"></script>
|
|
<script src="C007_LunchBreak/ActorSelect/Script.js"></script>
|
|
<script src="C007_LunchBreak/Amanda/Script.js"></script>
|
|
<script src="C007_LunchBreak/Sarah/Script.js"></script>
|
|
<script src="C007_LunchBreak/Sidney/Script.js"></script>
|
|
<script src="C007_LunchBreak/Jennifer/Script.js"></script>
|
|
<script src="C007_LunchBreak/JenniferTennis/Script.js"></script>
|
|
<script src="C007_LunchBreak/Natalie/Script.js"></script>
|
|
<script src="C007_LunchBreak/Outro/Script.js"></script>
|
|
<script src="C008_DramaClass/Intro/Script.js"></script>
|
|
<script src="C008_DramaClass/JuliaIntro/Script.js"></script>
|
|
<script src="C008_DramaClass/SarahIntro/Script.js"></script>
|
|
<script src="C008_DramaClass/AmandaIntro/Script.js"></script>
|
|
<script src="C008_DramaClass/DressingRoom/Script.js"></script>
|
|
<script src="C008_DramaClass/Dressing/Script.js"></script>
|
|
<script src="C008_DramaClass/DressingHiddenItem/Script.js"></script>
|
|
<script src="C008_DramaClass/Transition/Script.js"></script>
|
|
<script src="C008_DramaClass/Theater/Script.js"></script>
|
|
<script src="C008_DramaClass/Julia/Script.js"></script>
|
|
<script src="C008_DramaClass/Damsel/Script.js"></script>
|
|
<script src="C008_DramaClass/Heroine/Script.js"></script>
|
|
<script src="C008_DramaClass/Villain/Script.js"></script>
|
|
<script src="C008_DramaClass/Outro/Script.js"></script>
|
|
<script src="C009_Library/Intro/Script.js"></script>
|
|
<script src="C009_Library/Library/Script.js"></script>
|
|
<script src="C009_Library/Search/Script.js"></script>
|
|
<script src="C009_Library/Jennifer/Script.js"></script>
|
|
<script src="C009_Library/Yuki/Script.js"></script>
|
|
<script src="C009_Library/Outro/Script.js"></script>
|
|
<script src="C010_Revenge/Intro/Script.js"></script>
|
|
<script src="C010_Revenge/AmandaSarah/Script.js"></script>
|
|
<script src="C010_Revenge/SidneyJennifer/Script.js"></script>
|
|
<script src="C010_Revenge/EarlyEnding/Script.js"></script>
|
|
<script src="C010_Revenge/Outro/Script.js"></script>
|
|
<script src="C011_LiteratureClass/Intro/Script.js"></script>
|
|
<script src="C011_LiteratureClass/SelectDesk/Script.js"></script>
|
|
<script src="C011_LiteratureClass/MildredIntro/Script.js"></script>
|
|
<script src="C011_LiteratureClass/Mildred/Script.js"></script>
|
|
<script src="C011_LiteratureClass/Outro/Script.js"></script>
|
|
<script src="C012_AfterClass/Intro/Script.js"></script>
|
|
<script src="C012_AfterClass/Dorm/Script.js"></script>
|
|
<script src="C012_AfterClass/Wardrobe/Script.js"></script>
|
|
<script src="C012_AfterClass/Bed/Script.js"></script>
|
|
<script src="C012_AfterClass/DormExit/Script.js"></script>
|
|
<script src="C012_AfterClass/Roommates/Script.js"></script>
|
|
<script src="C012_AfterClass/Pub/Script.js"></script>
|
|
<script src="C012_AfterClass/Pool/Script.js"></script>
|
|
<script src="C012_AfterClass/PoolBullyFight/Script.js"></script>
|
|
<script src="C012_AfterClass/Sidney/Script.js"></script>
|
|
<script src="C012_AfterClass/Amanda/Script.js"></script>
|
|
<script src="C012_AfterClass/Sarah/Script.js"></script>
|
|
<script src="C012_AfterClass/Jennifer/Script.js"></script>
|
|
<script src="C012_AfterClass/RockShow/Script.js"></script>
|
|
<script src="C012_AfterClass/Library/Script.js"></script>
|
|
<script src="C012_AfterClass/Isolation/Script.js"></script>
|
|
<script src="C012_AfterClass/Humiliation/Script.js"></script>
|
|
<script src="C012_AfterClass/Outro/Script.js"></script>
|
|
<script src="C013_BondageClub/Intro/Script.js"></script>
|
|
<script src="C013_BondageClub/Entrance/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Intro/Script.js"></script>
|
|
<script src="C101_KinbakuClub/JennaIntro/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Discipline/Script.js"></script>
|
|
<script src="C101_KinbakuClub/ClubRoom1/Script.js"></script>
|
|
<script src="C101_KinbakuClub/ClubRoom2/Script.js"></script>
|
|
<script src="C101_KinbakuClub/ClubRoom3/Script.js"></script>
|
|
<script src="C101_KinbakuClub/ClubRoom4/Script.js"></script>
|
|
<script src="C101_KinbakuClub/BlindMansBuff/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Erica/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Fight/Script.js"></script>
|
|
<script src="C101_KinbakuClub/EricaBadEnd/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Lauren/Script.js"></script>
|
|
<script src="C101_KinbakuClub/RopeGroup/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Slaves/Script.js"></script>
|
|
<script src="C101_KinbakuClub/SlaveTwin/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Transition/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Door/Script.js"></script>
|
|
<script src="C101_KinbakuClub/Outro/Script.js"></script>
|
|
<script src="C999_Common/GameLoad/Script.js"></script>
|
|
<script src="C999_Common/GameSave/Script.js"></script>
|
|
<script src="C999_Common/Player/Script.js"></script>
|
|
<script src="C999_Common/Cuffs/Script.js"></script>
|
|
<script src="C999_Common/CuffsKey/Script.js"></script>
|
|
<script src="C999_Common/Rope/Script.js"></script>
|
|
<script src="C999_Common/Armbinder/Script.js"></script>
|
|
<script src="C999_Common/Manacles/Script.js"></script>
|
|
<script src="C999_Common/BallGag/Script.js"></script>
|
|
<script src="C999_Common/TapeGag/Script.js"></script>
|
|
<script src="C999_Common/ClothGag/Script.js"></script>
|
|
<script src="C999_Common/PantieGag/Script.js"></script>
|
|
<script src="C999_Common/SockGag/Script.js"></script>
|
|
<script src="C999_Common/DoubleOpenGag/Script.js"></script>
|
|
<script src="C999_Common/Collar/Script.js"></script>
|
|
<script src="C999_Common/Blindfold/Script.js"></script>
|
|
<script src="C999_Common/ButtPlug/Script.js"></script>
|
|
<script src="C999_Common/VibratingEgg/Script.js"></script>
|
|
<script src="C999_Common/ChastityBelt/Script.js"></script>
|
|
<script src="C999_Common/Crop/Script.js"></script>
|
|
<script src="C999_Common/SleepingPill/Script.js"></script>
|
|
<script src="C999_Common/RustyHook/Script.js"></script>
|
|
<script src="C999_Common/MetalSheet/Script.js"></script>
|
|
<script src="C999_Common/Fights/Fight.js"></script>
|
|
<script src="C999_Common/Fights/DoubleFight.js"></script>
|
|
<script src="C999_Common/Races/Race.js"></script>
|
|
<script src="C999_Common/Quiz/Quiz.js"></script>
|
|
<script src="C999_Common/Achievements/Script.js"></script>
|
|
<script>
|
|
|
|
// When the code is loaded, start on "Chapter 0" to select a chapter and loads the default language
|
|
window.onload = function() {
|
|
CheatAllow = false; // Set cheat mode
|
|
MainCanvas = document.getElementById("MainCanvas").getContext("2d");
|
|
if (localStorage.getItem("CurrentLanguageTag")) CurrentLanguageTag = localStorage.getItem("CurrentLanguageTag");
|
|
IsMobile = DetectMobile();
|
|
document.getElementById("MainCanvas").addEventListener("keypress", KeyDown);
|
|
document.getElementById("MainCanvas").tabIndex = 1000;
|
|
SetScene("C000_Intro", "Intro");
|
|
MainRun();
|
|
};
|
|
|
|
// Main game running state, runs the current screen code and bottom bar
|
|
function MainRun() {
|
|
if (CurrentScreen != "CreatePlayer") document.getElementById("MainCanvas").focus();
|
|
ProcessTimer();
|
|
DynamicFunction(CurrentChapter + "_" + CurrentScreen + "_Run()");
|
|
BuildBottomBar();
|
|
}
|
|
|
|
// When the user presses a key, we send the KeyDown event to the other screens
|
|
function KeyDown(event) {
|
|
KeyPress = event.keyCode || event.which;
|
|
if (CheatAllow) CheatKey();
|
|
DynamicFunction(CurrentChapter + "_" + CurrentScreen + "_KeyDown()");
|
|
}
|
|
|
|
// When the user clicks, we fire the click event for other screens
|
|
function Click(event) {
|
|
if (!IsMobile) {
|
|
MouseMove(event);
|
|
DynamicFunction(CurrentChapter + "_" + CurrentScreen + "_Click()");
|
|
LeaveButtonClick();
|
|
}
|
|
}
|
|
|
|
// When the user clicks, we fire the click event for other screens
|
|
function Touch(event) {
|
|
if (IsMobile) {
|
|
var rect = document.getElementById("MainCanvas").getBoundingClientRect();
|
|
MouseX = event.touches[0].clientX - rect.left;
|
|
MouseY = event.touches[0].clientY - rect.top;
|
|
DynamicFunction(CurrentChapter + "_" + CurrentScreen + "_Click()");
|
|
LeaveButtonClick();
|
|
}
|
|
}
|
|
|
|
// When mouse move, we keep the mouse position for other scripts
|
|
function MouseMove(event) {
|
|
var rect = document.getElementById("MainCanvas").getBoundingClientRect();
|
|
MouseX = event.clientX - rect.left;
|
|
MouseY = event.clientY - rect.top;
|
|
}
|
|
|
|
// When the mouse is away from the control, we stop keeping the coordinates
|
|
function LoseFocus(event) {
|
|
MouseX = -1;
|
|
MouseY = -1;
|
|
}
|
|
|
|
</script>
|
|
|
|
<body style="padding:0px; margin:0px; margin-top:1px;">
|
|
<canvas id="MainCanvas" width="1200" height="675" onClick="Click(event);" onTouchStart="Touch(event);" onMouseMove="MouseMove(event);" onMouseLeave="LoseFocus(event);" style="border:1px solid #000000; display:block; margin:0px; outline:none;"></canvas>
|
|
</body>
|
|
</html>
|