Skip to content

Commit

Permalink
Update game.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Toonigy authored Nov 16, 2024
1 parent 6d926b1 commit 36abdfc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pde1500/js/game.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -40880,6 +40880,19 @@ Attack.BX = 2e3, Attack.BY = 1e3, Prodigy.Control.ScrollBar = function(e, t, i,
var h = h || "";
this.input = document.createElement("input"), this.input.setAttribute("value", h), this.input.setAttribute("id", i), this.input.setAttribute("class", "game-input"), this.input.setAttribute("autocapitalize", "off"), this.ID = "#" + i;
var t = document.getElementById("external-ui");
i.appendChild(this.googleLoginButton), this.googleLoginButton.addEventListener("click", this.onGoogleLoginButtonClick.bind(this)), this.googleLoginButton.addEventListener("mouseenter", function() {
this.googleButtonHeightOffset = 3
}.bind(this)), this.googleLoginButton.addEventListener("mouseleave", function() {
this.googleButtonHeightOffset = 0
}.bind(this)), this.googleLoginButton.style.backgroundImage = "url('" + GameConstants.get("GameConstants.Build.ASSETS_LOCATION") + "v1/single-images/login-google-signin/1/google-signin-btn.png')", this.googleLoginButton.style.backgroundRepeat = "no-repeat", this.googleLoginButton.style.backgroundSize = "100% 100%", this.googleLoginButton.style.backgroundColor = "transparent", e.isGoogleAuthLoaded || (this.googleLoginButton.disabled = !0, $("#google-button").css({
opacity: .65,
cursor: "default"
}), e.onGoogleAuthLoadedCallback = function() {
e.isGoogleAuthLoaded && (this.googleLoginButton.disabled = !1, $("#google-button").css({
opacity: 1,
cursor: "default"
}))
}.bind(this));
t.appendChild(this.input), this.canvas = $("#game-container canvas"), this.x = s, this.y = r, this.twidth = o, this.theight = n, this.createEvents()
}, Prodigy.Control.InputField.HEIGHT_SMALL = 30, Prodigy.Control.InputField.HEIGHT_MEDIUM = 45, Prodigy.Control.InputField.WIDTH_MEDIUM = 300, Prodigy.Control.InputField.WIDTH_LARGE = 450, Prodigy.extends(Prodigy.Control.InputField, Prodigy.Control.Element, {
constructor: Prodigy.Control.InputField,
Expand Down Expand Up @@ -55455,7 +55468,7 @@ var Screen = function() {
icon: "close",
text: "okay",
size: Prodigy.Control.TextButton.MED
}, this. game.prodigy.open.message("To load your character with Google, click on load character, choose your save file, click on the Sign in with Google button, and then choose your Google account."), this.showLogin.bind(this, !0)), this.error.visible = !1, this.closeButton.visible = !1, this.progressBox.visible = !1, this.createAccountButton = this.game.prodigy.create.button(this.background, 100, 560, "login-buttons", "student", this.game.prodigy.start.bind(this, "CharCreate")), this.googleLoginButton = document.createElement("button"), this.googleLoginButton.style.position = "absolute", this.googleLoginButton.style.display = "block", this.googleLoginButton.style.left = "103px", this.googleLoginButton.style.top = "480px", this.googleLoginButton.style.height = "65px", this.googleLoginButton.style.width = "285px", this.googleLoginButton.setAttribute("id", "google-button"), this.googleButtonHeightOffset = 0, this.canvas = $("#game-container canvas");
}, this.showLogin.bind(this, !0)), this.progressBox.visible = !1, this.createAccountButton = this.game.prodigy.create.button(this.background, 100, 560, "login", "student", this.createAccount.bind(this));
var t = this.game.prodigy.create.panel(this.background, 100, 660, 4, 1, "lb");
t.alpha = .25, this.game.prodigy.create.font(this.background, t.x, t.y + 8, "Privacy Policy", {
size: 16,
Expand Down

0 comments on commit 36abdfc

Please sign in to comment.