Z0mBieP00Nani Posted May 9, 2016 Posted May 9, 2016 I should probably be asking a question like this on Ren'Py forums, but given the nature of the game this place seems more fitting. Recently the "Gold Edition" of a game called Princess Trainer came out and I wanted to make a conversion of it for Android, so I went through the difficult process of downloading and installing Ren'Py and got everything working properly but have hit a snag (the screen pictured below) what am I supposed to be doing here? I don't know what any of this stuff means or, more specifically, what I'm supposed to be typing into that space. I've looked all over for tutorials on converting Ren'Py games to Android, but everything I've been able to find is either in a foreign language or is very vague and seems to assume you already know what you're doing.
Guest Posted May 9, 2016 Posted May 9, 2016 Android is based on Java. Everything on java is put in a "package". A "package is some sort of namespace for all the classes (the code) of your application. A package is a set of names, lowercase, separated by dots. That in some way should identify you. Something like: com.zombiepoonani.myfirstgame.princesstrainer
Z0mBieP00Nani Posted May 10, 2016 Author Posted May 10, 2016 Android is based on Java. Everything on java is put in a "package". A "package is some sort of namespace for all the classes (the code) of your application. A package is a set of names, lowercase, separated by dots. That in some way should identify you. Something like: com.zombiepoonani.myfirstgame.princesstrainer So it doesn't have to be specific to anything as long as it is written similar to the format above and contains at least some reference to the game its self?
Guest Posted May 10, 2016 Posted May 10, 2016 Yes. Just start with "com." and add a couple of other words inside. It just has to be unique. No reference to the game are required. But something like "com.aaa" for sure will conflict with another package.
Z0mBieP00Nani Posted May 10, 2016 Author Posted May 10, 2016 Yes. Just start with "com." and add a couple of other words inside. It just has to be unique. No reference to the game are required. But something like "com.aaa" for sure will conflict with another package. Oh, well what is that used for for anyway?
Guest Posted May 10, 2016 Posted May 10, 2016 To make your classes unique. Imagine to have a java class named Init. How many "init" classes can be present in the runtime environment? Tons! So if every class is identified in a different package, then all classes can co-exist without problems. Question: am I doing Java courses here?
Z0mBieP00Nani Posted May 10, 2016 Author Posted May 10, 2016 I was able to test what you said, and sure enough it got me past the issue. Thanks for your help. Unfortunately I have hit another snag, but reading around has reveled it to be a possible programming bug, so nothing to do but wait for a fix.
Z0mBieP00Nani Posted May 14, 2016 Author Posted May 14, 2016 I was able to figure out a way around waiting for a file update by using an older version and was able to make an Android port, HOWEVER... after installing the game on my phone it crashes after the Ren'Py load screen... I made a port of an example game that shipped with Ren'Py just to see what would happen, and that worked, but Princess Trainer is not cooperating for some reason...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.