BUG UPDATE


A bug was already discovered after uploading. I forget to change the wallclip  variable from true to false.

 If you have downloaded the vel-ball.zip file, the bug is in vars.js:

//----Initialize important variables----
var player = {
    x:-435,
    y:-285,
    xv:0,
    yv:0,
}
var start = [
    {
        tile:[0,0],
        x:1.5,
        y:1.5,
    },
    {
        tile:[0,0],
        x:1.5,
        y:1.5
    }
]
var sounds = {}
var images = {}
var ctx = null;
var canvas = null;
const soundnames = ["death","intro","music","menumusic","tada","chimes","chord","bounce"];
const loopedsoundnames = ["music","menumusic"];
const imagenames = ["menubg/svg/900/600","logo/png/50/50","portal0/svg/400/400","portal1/svg/400/400","settings/svg/100/100","checkpoint0/svg/100/100","checkpoint1/svg/100/100"]
var gamestate = 0;
var mainloop = null;
var framerate = 60;
var mouse = {
    x:0,
    y:0,
    down:false
}
var keypress = {
    up:false,
    left:false,
    right:false,
    down:false
}
var level = -1;
var playercolor = 0;
var pause = false;
var build = {
    type:"prealpha",
    build:0.54
}
var inter = false;
var finishedcheckpoint = {
    tile:[null,null],
    x:null,
    y:null
}
var musicon = true;
var deaths = 0;
var newgame = false;
var hascheckpoints = false;
var wallclip = true; <-- THIS IS THE BUG

Leave a comment

Log in with itch.io to leave a comment.