Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (521)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Creating cross platform games  (Read 240 times)
0 Members and 1 Guest are viewing this topic.
Offline tstewart

Junior Newbie





« Posted 2014-05-14 19:03:04 »

I am a game programming newbie and right now I am just trying to make some simple games in Java, following through various tutorials, etc. However, I have an interest in making both desktop and Android games. I have seen frameworks such as libGDX that allow for cross platform support but I was wondering how I would go about developing a cross platform game myself. I was wondering if anyone knows of any examples of people doing this that I could look at.
Offline Nausica
« Reply #1 - Posted 2014-05-14 19:16:40 »

LibGDX will do most of the work for you, by giving you the tools to make a game for different platforms, but it is up to the programmer to implement the different input handling methods and configurations of the game, depending on the platform. Your actual game code, will remain relatively untouched. Of course you have to keep in mind the different specifications of mobile devices, backwards-forwards compatability with the device you are developing for (if that's a problem/becomes one), etc. But for the most part, LibGDX will take care of the core porting.
Offline tstewart

Junior Newbie





« Reply #2 - Posted 2014-05-14 19:20:04 »

Thanks, I looked at libGDX, went over a few tutorials, and plan to investigate it further, but I first want to look at making some games without a game engine, and dealing with some of the nitty gritty details myself. But I was also hoping it might not be too difficult to structure my code in such a way to handle a little bit of cross platform development myself.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 271
Exp: 5 years



« Reply #3 - Posted 2014-05-14 19:27:02 »

Note that libGDX is not a game engine, you still have to do that yourself.
Also, how to write cross-platform games in java? Write them in java.

Sarcasm aside, porting between desktop and android is not worth doing manually, not when libGDX does it for you; I've actually not aware on how to do it, although I imagine it involves the Android SDK.

A motto of people here on this forum goes along the lines of "Stop making frameworks and make your game." I would follow that advise if you do indeed want to make a game.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xFryIx (58 views)
2014-11-13 12:34:49

digdugdiggy (37 views)
2014-11-12 21:11:50

digdugdiggy (30 views)
2014-11-12 21:10:15

digdugdiggy (26 views)
2014-11-12 21:09:33

kovacsa (48 views)
2014-11-07 19:57:14

TehJavaDev (51 views)
2014-11-03 22:04:50

BurntPizza (51 views)
2014-11-03 18:54:52

moogie (66 views)
2014-11-03 06:22:04

CopyableCougar4 (65 views)
2014-11-01 23:36:41

DarkCart (151 views)
2014-11-01 14:51:03
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!