-4
\$\begingroup\$

How to convert a java made game for pc to android manually ie without any external framework like libgdx?
For example games like minecraft and limbo were originally made for pc only but later they got released for other platforms also, how do they do it?
Where can i learn more about porting games across multi platforms?

\$\endgroup\$

closed as too broad by Alexandre Vaillancourt, Josh Mar 14 '16 at 15:08

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ What is this eternal "without external framework"? External frameworks save time and effort. Sometimes they change a task from "nearly impossible" to "could be done". \$\endgroup\$ – Almo Mar 14 '16 at 14:55
  • 1
    \$\begingroup\$ This attitude won't get you the sympathy of this community... Your question could be closed as "too broad", so don't be a jerk to users trying to help your by asking for more details. \$\endgroup\$ – LukeG Mar 14 '16 at 15:00
  • \$\begingroup\$ Ok i am sorry, i just wanted some answers instead of somebody just bragging about why i shouldn't learn about it \$\endgroup\$ – john jody Mar 14 '16 at 15:04
  • 1
    \$\begingroup\$ We see a never-ending parade of people who want "no external frameworks". It seldom goes well for them because that's not how game development is done. So if you want to learn real game dev, you will use external libraries and frameworks. \$\endgroup\$ – Almo Mar 14 '16 at 15:09
0
\$\begingroup\$

Porting games can be a painful process. You essentially need to rewrite large parts of the game, mainly the rendering and the input part, as they completely depend on the platform. Depending on the platforms you may be able to keep some of your code, but it's not guaranteed. You may end up deleting the complete rendering part of your code and start from scratch.

The actual game-logic code can be reused, as it should be platform independend. To simplify porting to other platforms I would encourage you to cleanly separate logic code from rendering code to make porting easier.

If you are using a pre-made game engine you may be lucky and it already supports multiple platforms, reducing the needed effort to port your game significantly.

There is no other way than rewriting the incompatible parts.

Also take a look at this: Cross-platform independent development

\$\endgroup\$
  • \$\begingroup\$ Thanks for the reply, are there any resources from where i can learn how to port games across cross platforms? \$\endgroup\$ – john jody Mar 14 '16 at 14:54
  • 1
    \$\begingroup\$ @ZxcCxz Totally depends on the technology your are using. And there is no standard way to go about the porting of a game. You essentially have to learn programming for both platforms and finally translate your program to the other platform. \$\endgroup\$ – LukeG Mar 14 '16 at 14:57
  • \$\begingroup\$ I don't get why this was downvoted? I know the question has issues (I flagged it as too broad myself), but I also tried to clear some of the apparent confusion OP has about the process of porting games, which was too long for a comment. \$\endgroup\$ – LukeG Mar 14 '16 at 15:43
  • \$\begingroup\$ This is why i get mad here... \$\endgroup\$ – john jody Mar 14 '16 at 16:01

Not the answer you're looking for? Browse other questions tagged or ask your own question.