Home | History | Annotate | Download | only in games

Lines Matching full:player

70     private Node player;
103 player = createPlayer();
104 rootNode.attachChild(player);
139 player.setLocalTranslation(0,0,0);
155 cam.setLocation(player.getLocalTranslation().add(-8, 2, 0));
156 cam.lookAt(player.getLocalTranslation(), Vector3f.UNIT_Y);
169 System.out.println("Player has Collided. Final Score is " + Score);
174 * Randomly Places a cube on the map between 30 and 90 paces away from player
178 int playerX = (int) player.getLocalTranslation().getX();
179 int playerZ = (int) player.getLocalTranslation().getZ();
199 Vector3f loc = player.getLocalTranslation();
218 playerMesh.setName("player");
265 player.move(speed * tpf * fpsRate, 0, 0);
278 Geometry playerModel = (Geometry) player.getChild(0);
289 //Remove cube if 10 world units behind player
290 if (cubeField.get(i).getLocalTranslation().getX() + 10 < player.getLocalTranslation().getX()){
317 player.move(0, 0, -(speed / 2f) * value * fpsRate);
320 player.move(0, 0, (speed / 2f) * value * fpsRate);
326 * Determines the colors of the player, floor, obstacle and background