Jump to content

Help converting a game to Android?


Z0mBieP00Nani

Recommended Posts

Posted

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.

 

post-145287-0-89030400-1462835282_thumb.png

 

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.

Posted

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

 

Posted

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?

Posted

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.

Posted

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?

Posted

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?  ;)

Posted

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.

Posted

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... :-/

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...