Give homie proper skin

This commit is contained in:
austin 2021-07-03 23:41:29 -04:00
parent f4bcc35cbf
commit 24c984b714
6 changed files with 16 additions and 5 deletions

View File

@ -90,7 +90,7 @@
"maxVelocity" : 0.015
}
],
"modelPath" : "/Models/person1walkanim.fbx"
"modelPath" : "Models/person1walkanim.fbx"
},

View File

@ -61,6 +61,16 @@
"/Textures/GoblinEyes.png",
"/Textures/GoblinEyes.png"
]
},
"Models/person1walkanim.fbx" : {
"makehuman1" : [
"/Textures/skin1.png",
"/Textures/skin1.png"
],
"high-poly" : [
"/Textures/w1.png",
"/Textures/w1.png"
]
}
}
}

BIN
assets/Textures/skin1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

View File

@ -481,10 +481,11 @@ public class LoadingThread extends Thread {
EntityUtils.getPosition(goblin).set(5, 0, 3);
EntityUtils.getScale(goblin).set(0.005f);
Entity sword = ItemUtils.spawnBasicItem("Katana");
Entity testHomie = CreatureUtils.spawnBasicCreature("Human");
EntityUtils.getScale(testHomie).set(0.005f);
EntityUtils.getPosition(testHomie).set(2,0,2);
Entity sword = ItemUtils.spawnBasicItem("Katana");
AttachUtils.attachEntityToEntityAtBone(testHomie, sword, "Bone.020");
}
}

View File

@ -19,8 +19,8 @@ public class LoggerInterface {
public static void initLoggers(){
loggerNetworking = new Logger(LogLevel.WARNING);
loggerFileIO = new Logger(LogLevel.WARNING);
loggerGameLogic = new Logger(LogLevel.DEBUG);
loggerRenderer = new Logger(LogLevel.WARNING);
loggerGameLogic = new Logger(LogLevel.WARNING);
loggerRenderer = new Logger(LogLevel.DEBUG);
loggerEngine = new Logger(LogLevel.WARNING);
}
}

View File

@ -79,7 +79,7 @@ public class RenderingEngine {
static ShaderProgram lightDepthShaderProgram;
static Framebuffer lightDepthBuffer;
public static boolean renderHitboxes = true;
public static boolean renderHitboxes = false;