Create Mario Kart game with Java for old Samsung or Nokia
KX Posted messages 19031 Status Modérateur -
Hello friends ^^
I would like to create a Mario Kart game in Java for older phones like Samsung, LG, Nokia, etc. that works with the numeric keypad and the right, left, and OK buttons.
Including characters (Mario, Peach, Luigi, Bowser, Rosalina, Toadette, etc.), the cup selection screen (one cup made up of 4 tracks), and classic gameplay with Lakitu starting the race and laps, along with items (shells, mushrooms, lightning...).
But I would first like to know what free software on PC to use for this, and also a source code to program the game, and since I don't have an old keypad phone (I just have a Samsung Galaxy J3 2016 and a Samsung Tab 4), I could play on a Java emulator.
Thank you in advance
2 réponses
Hello, I don't want to publish the game online but just create and test it, but not to the point of publishing it.
Hello,
Java applications on phones, as they existed before the advent of smartphones (and which were bought by calling a premium-rate phone number), were developed using the "Java Platform, Micro Edition" (also known as "Java ME" formerly "J2ME")
https://www.oracle.com/java/technologies/javameoverview.html
I don't know much about this part of Java, but I feel like the last version, 8, dates back to 2014 (with tool updates in 2018), yet the downloads on the official site don't seem to work... it seems abandoned (even though it surprises me).
In any case, it seems from your question that you are a beginner, and such a project seems ambitious, even more so with older technologies (which you do not have access to...)
Perhaps it would be more relevant to develop a Java FX application that can be directly used on the computer, with arrows and/or numbers on the numeric keypad; it wouldn't change much about the gaming experience, but it would be simpler to develop, as it is much better documented, with a still active community.
Here are a few links:
- Official site: https://openjfx.io/ and in particular FXGL
- Introduction to JavaFX for Game Development
"create an application file for an old Samsung or Nokia smartphone"
Be careful of misunderstanding, these phones were not "smartphones". They all had their own proprietary systems and were not compatible with each other, so it wouldn’t be "a file" but as many files as there are target phones, with obviously compatibility issues between each model...
"play it on a free emulator via a modern phone?"
There are a number of (unofficial) emulators available on the Android Play Store, just search using the keywords "J2ME" or "Java ME"
But if it's for playing on a modern phone, it's simpler to develop with recent technologies and give the game a retro look, because even if you managed to create a J2ME application that works on an emulator, that doesn’t necessarily mean it would actually work on an old phone...