Java CryEngine 3 [closed] - java

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Just a quick question, as googling it lead to not any (good) results: Can CryEngine 3 be used from within Java? And if so, would it be a good choice or not?
Currently I am trying something in jME3 (jMonkey) and it seems to be doing pretty well, only I think that CryEngine 3 should be capable of more.

As the Cryengine compiles to DLLs and you can access DLLs via the Java Native Interface. So it shouble be theoretically possible. Considering the size and complexity of the Cryengine3, I'm pretty sure they are at CryEngine 5 or 6 till you have wrapped the necessary functions of the CryEngine 3. Also calling native functions is quite expensive performancewise, so shouldn't expect any great performance. On the other hand till you are finished, processor speed will increased significantly.
Doing games with High-End graphics in Java is usally not possible. While jMonkeyEngine3 seems to be quite good, I'm sure it will not reach the quality of a good professional C/C++(/C#) Engine. When you want to get serious with game development, there are currently two options.
Learn C++ and/or C#. That are the languages usually used for larger games.
Do Browsergames. Than you can do the all the logic on the server in Java and just the presentation in flash or html5. But currently this limits you basically to 2D, because WebGL, etc. are not mature and fast enough to do a 3D game with an high end graphics.

Related

What programming language to use for developing visual novel type game? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I would like start to build my own framwork to make visual novel type games. I am fairly confident in using Java.
Please tell me if it is a good choice to use it to for that kinda development. I want to use fullHD images, hq animation to display and I'm not sure if java is a good choice or not, but in the other hand i would like my games to run on any platform.
If is not the good choice for my requierments please tell me what programming language should I use.
Thanks for taking your time to help sincerely and sorry for my english.
Well, I think you can do this with most 3rd generation languages. For this type of game you could do several things depending on how much control you want. If you want to render quads (2d planes with images on them) and texts, and be able to transform them and apply your own shader programs for visual effects take a look at slick utils and the light weight java game library (LWJGL), an openGL implementation.
just using java native code will limit you significantly, as well as just using native classes in other languages.
it not really the language you should search for but more the frameworks. I worked with LWJGL and it was quite hard to learn. but in my opinion easier to learn than serious frameworks within a language such as c or c++

GPU programming in java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to improve a JAVA program performances using GPU programming.
After some research on the internet I found that it is possible if i use jcuda or jocl, but the problem is that the kernel code must be written in C in both cases.
and the algorithm that i want every thread to execute is very complicated to be written in C (it does some computations to know if there will be an accident between two aircrafts) so an object-oriented language is necessery.
Is there a solution ? or must we translate the whole project to C++ ?
Thanks for your help !
Simple rule: if it needs object orientation, it looses its performance. Even if you are using GPU acceleration.
I would advise you to identify the parallel parts of your program code. You do not have to transfer all of your algorithm to the GPU device. Is there any aspect of paralellization, e.g. arrays or grids that are filled?
What kind is your simulation message exchange? Is it explicit, i.e. sending messages around your kernels, or implicit via synchronization.
You should at least give us some more information about you algorithm and its data layout.

What is the best and easier IDE/programing language for creating games for android? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have question:
What is the best and easiest IDE/programing language for creating games
for android?
(I heard about Java - Android SDK, C# - xamarin, C# - unity, Scratch)
I think I need more info in this field and I will glad for any answer.
(Is there something with Python and is it easier or more complex than others...?)
It's a very subjective question, but Unity sounds like what you're looking for. It has support for Boo as a language (although it's not at the forefront of Unity usage). Boo isn't Python, but is similar enough for you to carry on your knowledge of Python with you, and Unity is a solid engine for both 2D and 3D games that abstracts away a lot of the lower level details between different platforms. It's packaged with Mono Develop, which works as an IDE. I personally prefer UnityVS + Visual Studio (For C# you don't need UnityVS unless you want to debug in VS). Also watch out for the upcoming free release of UnityVS.

How to transfer from doing algorithm questions to making apps? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I recently learned java by reading the book Head First Java and I also bought the book Effective Java which I'm planning to finish later. I've been searching the ways to improve Java programming skills online but all I found are algorithm practice questions just like questions in the book Cracking the Coding Interview. I finished about a hundred of them and I found they are useful; however, I still cannot see how this is related to making real object oriented applications like desktop softwares or Android Apps.
Every time I visit stackoverflow.com, under tag Java I see those questions about things that I have never heard of. I'm really frustrated. Am I on the wrong track to the real programming world?
Thanks.
There are many options you might resort to, to improve your development and design skills. And all come through developing real-purpose applications. If you are at loss yourself to find a problem interesting enough and complex enough for you to exercise and hone your skills, you can always contribute to opensource projects. For instance you might go through java projects hosted in github, pick one you like, and have a look at its todo list if any, or pick a an issue and investigate it, fix it if you can and contribute a patch.
This exercise will expose you to product-grade codebases (depending on the project your chose) and several aspects of software development and will most certainly help you improve your skills.
link for java projects hosted at github

Generic way to test performance/efficiency of some code? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Can anybody tell me of a way that one can determine the efficiency of a program that i have written, that is not specific to a particular computer. For instance a piece of code running on an i3 may take 1 second, but on an i7 it may take 0.95 seconds. Then if you test the program again if the computer is doing just a little more work the times may increase to 1.0001 and 0.950003 respectively. I want a way to measure efficiency in a way that would be the same on all archs. Is that (mathematically,...,) possible?
I want a way to measure efficiency in a way that would be the same on all archs
You wont get exactly the same number on the same machine, running at the same CPU speed with the same code and the same version of Java.
You can't hope to get a number which will be the same across architectures, with different versions of Java, CPUs, speed, loads, OSes.
In short, your question is not possible on any real machine. Only a theoretical one which is why big-O is for a theoretical machine (and is derived from the code, not measured)

Categories

Resources