Minor Tweaks
This commit is contained in:
parent
8ecd448b00
commit
a1a5217309
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user