Minor Tweaks

master
Noah 2019-06-08 17:02:28 -07:00
parent 8ecd448b00
commit a1a5217309
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,9 @@
function main() {
log.Info("Azulian '%s' initialized!", Self.Doodad.Title);
Self.Canvas.SetBackground(RGBA(0, 153, 255, 100));
var playerSpeed = 12;
var gravity = 4;
var Vx = Vy = 0;

View File

@ -2,6 +2,8 @@ function main() {
Self.AddAnimation("open", 0, [1]);
var unlocked = false;
Self.Canvas.SetBackground(RGBA(0, 255, 255, 100));
// Map our door names to key names.
var KeyMap = {
"Blue Door": "Blue Key",
@ -32,6 +34,5 @@ function main() {
});
Events.OnLeave(function(e) {
console.log("%s has stopped touching %s", e, Self.Doodad.Title)
Self.Canvas.SetBackground(RGBA(0, 0, 1, 0));
})
}

View File

@ -3,7 +3,7 @@ function main() {
var timer = 0;
Self.SetHitbox(0, 0, 72, 9);
Self.SetHitbox(0, 0, 72, 6);
var animationSpeed = 100;
var opened = false;