Answer the question
In order to leave comments, you need to log in
Is it difficult to create a game in pure Java?
Good day. The question arose, is it difficult to write games in pure Java without using third-party libraries? And what are the challenges you might face?
Didn't find an answer on google. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
See what games.
Text quests - already running. The MMO server is real. But TOTALLY without libraries and with normal graphics - it's complicated.
And so, if at least with openGL - look at minecraft ;-)
JavaFX 8 has support for simple 3D graphics. So if the requirements are not high, then you can do without links with OpenGL. Well, if you need only 2D - then you can not doubt it at all.
Face the lack of game engines.
And you have to write it yourself.
And this is at least tens of thousands of dollars of extra costs.
Well, there is an article on Habré about writing a software renderer.
And so is libGDX. I would not say that a complex structure
Of course it is possible.
import javax.imageio.ImageIO;
import javax.swing.*;
import java.awt.*;
import java.awt.image.BufferedImage;
and forward.
But why? If the goal is to gain experience - then ok.
If the goal is to get the game, it's better to take the engine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question