1 posts
Posted 05 August 2012 - 01:22 AM
As a Java programmer, Lua is very confusing to use, as the syntax is very different. I would love if you implemented a JVM (ik a JVM in an Emulator in a game in a JVM is really stupid sounding) I know how hard that would be but would it be possible for you to make a program that reads the instructions directly rather than from lua? Another thing I would love is Turtle.getBlock(<side>) and a 3D array to keep track of the turtles location, so you could set waypoints, teleport, and even tell the turtle to come to your house. This goes realy well with another idea of mine, turtle.fillChest(<slot>) and turtle.emptyChest(<slot>)! That way you can have turtles being able to mine forever without coming to you! i would really appreciate it if you have read this and would love my request implemented!
1604 posts
Posted 05 August 2012 - 01:43 AM
As a Java programmer, Lua is very confusing to use, as the syntax is very different.
Lua is really easy to learn, just give it a try.
I would love if you implemented a JVM (ik a JVM in an Emulator in a game in a JVM is really stupid sounding) I know how hard that would be but would it be possible for you to make a program that reads the instructions directly rather than from lua?
If you want CC to use another language, that's not happening.
But a VM written in lua is possible. I'm working on one, just not a JVM. If someone then writes a java compiler, you could use it :P/>/>
Another thing I would love is Turtle.getBlock(<side>) and a 3D array to keep track of the turtles location, so you could set waypoints, teleport, and even tell the turtle to come to your house.
If you want that function to return a block id, that's also not happening. And you can use gps to locate the turtle.
This goes realy well with another idea of mine, turtle.fillChest(<slot>) and turtle.emptyChest(<slot>)! That way you can have turtles being able to mine forever without coming to you! i would really appreciate it if you have read this and would love my request implemented!
In 1.4 turtles can interact with chests. Take a look at it.
839 posts
Location
England
Posted 06 August 2012 - 07:37 AM
If you can program in Java, Lua should be easy enough. Before using Lua I had a firm grasp of visual basic, started the move over to C# and some very basic knowledge of C++. Now I can use Lua, it's shown me just how similar all the languages really are once you get to know them, and ultimately it's all a matter of syntax. In fact if I could get an IDE to work without JVM creation failing every single time, I would attempt to learn Java.
I have to agree with the locate thing. I've been working on a system that's easier than the current gps system and works on solid coordinates, treating one block as a point on a 3d grid. Admittedly it's a maths nightmare, but if it gets off the ground it will open up so much more possibility.