Commits

Laurens Rodriguez committed 6909b16

minor changes Minecraft4K sample

Comments (0)

Files changed (1)

bin/windows/game/minecraft4k.kia

 var f = 0;
 function renderMinecraft() {
     var dateNow = math.floor(1000 * love.timer.getTime());
-    var xRot = math.sin(dateNow % 10000 / 10000 * global.math.pi * 2) * 0.05 + global.math.pi / 2;
-    var yRot = math.cos(dateNow % 10000 / 10000 * global.math.pi * 2) * 0.05;
+    var xRot = math.sin(dateNow % 10000 / 10000 * global.math.pi * 2) * 0.1 + global.math.pi / 2;
+    var yRot = math.cos(dateNow % 10000 / 10000 * global.math.pi * 2) * 0.1;
     var yCos = math.cos(yRot);
     var ySin = math.sin(yRot);
     var xCos = math.cos(xRot);
 }
 
 function love.load() {
-    love.graphics.setCaption("Minecraft4k");
+    love.graphics.setCaption("Minecraft4k: " .. global._VERSION);
     love.graphics.setPoint(1, "rough");
     // Set window size
     assert(love.graphics.setMode(w, h, false, true, 0),