clean arena
This commit is contained in:
parent
9e94e010a9
commit
797cda06ad
@ -690,18 +690,18 @@ public class LoadingThread extends Thread {
|
|||||||
// OpportunisticAttacker.attachToCreature(goblin);
|
// OpportunisticAttacker.attachToCreature(goblin);
|
||||||
|
|
||||||
//sword
|
//sword
|
||||||
Entity sword = ItemUtils.spawnBasicItem("Katana");
|
// Entity sword = ItemUtils.spawnBasicItem("Katana");
|
||||||
EntityUtils.getPosition(sword).set(new Vector3f(1,0.4f,2));
|
// EntityUtils.getPosition(sword).set(new Vector3f(1,0.4f,2));
|
||||||
EntityUtils.getRotation(sword).set(new Quaternionf().rotationY((float)(Math.PI/2.0)));
|
// EntityUtils.getRotation(sword).set(new Quaternionf().rotationY((float)(Math.PI/2.0)));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//work on ez volumetrics shader
|
//work on ez volumetrics shader
|
||||||
Entity myCube = EntityUtils.spawnDrawableEntity("Models/unitcube.fbx");
|
// Entity myCube = EntityUtils.spawnDrawableEntity("Models/unitcube.fbx");
|
||||||
EntityUtils.getActor(myCube).maskShader("Cube", "Shaders/clouds1/clouds1.vs", "Shaders/clouds1/clouds1.fs");
|
// EntityUtils.getActor(myCube).maskShader("Cube", "Shaders/clouds1/clouds1.vs", "Shaders/clouds1/clouds1.fs");
|
||||||
Globals.assetManager.addShaderToQueue("Shaders/clouds1/clouds1.vs", "Shaders/clouds1/clouds1.fs");
|
// Globals.assetManager.addShaderToQueue("Shaders/clouds1/clouds1.vs", "Shaders/clouds1/clouds1.fs");
|
||||||
myCube.putData(EntityDataStrings.DRAW_TRANSPARENT_PASS, true);
|
// myCube.putData(EntityDataStrings.DRAW_TRANSPARENT_PASS, true);
|
||||||
EntityUtils.getPosition(myCube).set(3,1,3);
|
// EntityUtils.getPosition(myCube).set(3,1,3);
|
||||||
|
|
||||||
// Globals.entityManager.registerBehaviorTree(new BehaviorTree() {
|
// Globals.entityManager.registerBehaviorTree(new BehaviorTree() {
|
||||||
// int i = 0;
|
// int i = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user