Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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 595 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: 485
Exp: 7 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  

ivj94 (583 views)
2018-03-24 14:47:39

ivj94 (48 views)
2018-03-24 14:46:31

ivj94 (374 views)
2018-03-24 14:43:53

Solater (62 views)
2018-03-17 05:04:08

nelsongames (109 views)
2018-03-05 17:56:34

Gornova (151 views)
2018-03-02 22:15:33

buddyBro (693 views)
2018-02-28 16:59:18

buddyBro (92 views)
2018-02-28 16:45:17

xxMrPHDxx (493 views)
2017-12-31 17:17:51

xxMrPHDxx (733 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!