-
Notifications
You must be signed in to change notification settings - Fork 7
- Many JVM languages are object-oriented
- Java is taught at many schools (AP Computer Science)
- Faster downloading through network, only through Eclipse for right now, usb downloading may come soon, if we can sort a few things out.
- Libraries to do things that you never thought possible, like direct drawing of images to the screen via a framebuffer library
- Tons of libraries for things such as movement. Never deal with ticks again! The libraries handle it all for you.
- Advanced camera tracking features in addition to all the ones you know and love
Well, yes and no. It’s slower than C, as C is a native language; but it is easier to write code in Java or other high-level languages, meaning that you will most likely end up using better programming design, and your end result may actually be faster. For example, instead of checking for button presses in while loops, there is a nice Event system to handle that for you, that makes it easier to properly manage the CPU time, actually reducing the load.
Yes. See cbccore.motors and cbccore.movement.
While we highly recommend you do a clean port of your code on top of the new APIs, you can use cbccore.low to quickly port code over. We are currently seeking a more elegant solution for this issue of porting. But no matter what we come up with, the most elegant way will be to port code directly over.
We are only two people, so the only languages we really support now are Java, Scala, and JavaScript. If you want to use some other language, be our guest. It should be easy enough, as long as it runs on top of the JVM. A module system is in the works, but for now you can just statically link your code to any necessary libraries (put the libraries in the same directory as Main.class). There are a lot of languages that work on top of the JVM.
We are currently looking into a way of doing this, but it is a little far off. You can look into the JNI if you want to, but we can’t yet support this.