added rube knife, quickstart in menu lobby, cleaned up the lobby code a bit

This commit is contained in:
logsol 2014-03-03 02:47:23 +01:00
parent d0e9f0d458
commit 8730324a83
8 changed files with 968 additions and 215 deletions

View file

@ -65,7 +65,8 @@ function (Parent, Settings, Nc, Exception) {
Settings.GRAPHICS_PATH
+ Settings.GRAPHICS_SUBPATH_CHARACTERS
+ this.characterName
+ "/Animation/WithArms/ChuckAnimations0"
+ "/Animation/WithoutArms/ChuckAnimationsWithoutArms0"
//+ "/Animation/WithoutArms/ChuckAnimations0"
+ padF(i)
+ ".png"
);

View file

@ -56,19 +56,21 @@ function (Parent, Settings, Nc, PIXI) {
}
var characterNames = ["Chuck"];
var animationSets = ["WithArms"]; // FIXME add WithoutArms
var animationSets = ["WithoutArms"];//, "WithArms"];
var addition = "";
for (var i = 0; i < characterNames.length; i++) {
var characterName = characterNames[i];
for (var j = 1; j <= 126; j++) {
for (var k = 0; k < animationSets.length; k++) {
var animationSet = animationSets[k];
addition = animationSet == "WithoutArms" ? "WithoutArms" : "";
paths.push(
Settings.GRAPHICS_PATH
+ Settings.GRAPHICS_SUBPATH_CHARACTERS
+ characterName
+ "/Animation/"
+ animationSet
+ "/ChuckAnimations0"
+ "/ChuckAnimations" + addition + "0"
+ padF(j)
+ ".png"
);

View file

@ -72,7 +72,7 @@ function (ProtocolHelper, GameController, User, Nc, Settings, DomController) {
}
Networker.prototype.onJoinError = function(options) {
alert(options.message);
// alert(options.message);
window.location.href = "/";
};