3.0.0 beta (ZGE on Android)

Information and change log about the latest ZGameEditor release.

Moderator: Moderators

Post Reply
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

y offs et wrote:The .exe won't start on my vista - says "dsound failed" in a small box in a see-thru screen.
That's strange, it means DirectSound could not be started. Do you have audio in other programs? Is it a virtual machine or something else non-standard?

I'll try the updated Eater later, looking very polished now judging from that image! And I will see what else is needed to sign and upload the finished apk-files.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

You're right - it was my system. I had an update from M$ yesterday. Everything seems to be operating correctly after a reboot.

Great game on windows too. Just two things -
1) it could be a tiny bit bigger.
2) the "yes" seems to be completely unintelligible - sounds like a wind up toy swinging a paddle.
"great expectations"
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Both games are now very nice with great presentation. Definitely good demos of ZGE Android! We should put them on the market.

Here is the latest build of the engine. I found a way to disable floating point exceptions which means it should not crash if one accidentally makes a division by zero or square root a negative number in scripting. Possibly this could be the cause of the crash in the sample playback you've encountered Rado1. Also mouse tap should work better (again).

http://www.zgameeditor.org/files/ZGEAndroid-debug.apk

Now for the signed apps. Signing apps for market is quite an involved operation, though still not as difficult as on iOS (at least not last time I tried).

You need the Android SDK and then run a couple of command line tools. Please read the instruction for "Signing in Release Mode" here:

http://developer.android.com/guide/publ ... ml#signapp

Here are the binaries that needs to be signed:

http://www.zgameeditor.org/files/Eater- ... signed.apk
http://www.zgameeditor.org/files/Saucer ... signed.apk

When the apps are signed you can uploaded them to market (Google Play). Let me know of any problems or if you want me to rebuild using newer zzdc.dat files.
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

Hi Ville, the latest ZGEAndroid-debug.apk cannot be started on my device - gives a black screen for 1 second, then returns back. Installation of Eater-release-unsigned.apk terminates with the message "Application not installed".

Another thing, I'm still working on some improvements of Eater and I expect they will be ready by tomorrow evening. I still have not played with Google Play and Android SDK, so Eater will be little bit delayed.
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Strange, it works here. I removed the floating point exception fix and rebuilt, please try again: http://www.zgameeditor.org/files/ZGEAndroid-debug.apk

The release apk's can't be installed until they are signed so that is normal.
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

It is working now. ... but unfortunately, the application sometimes crashes on playing a sampled sound.
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post by y offs et »

I'm not sure which .apk is being referred to here.

They both seem to work fine for me.
"great expectations"
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

y offs et wrote:I'm not sure which .apk is being referred to here.
With my last comment I referred to the version without the floating point exception fix; currently the latest version.

Ville, could you please provide also the previous version of the ZGEAndroid-debug.apk with the fix? I would like to test it again. Thanks.
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Rado1 wrote:Ville, could you please provide also the previous version of the ZGEAndroid-debug.apk with the fix? I would like to test it again. Thanks.
Here you go: http://www.zgameeditor.org/files/ZGEAnd ... _FPFIX.apk
User avatar
Rado1
Posts: 775
Joined: Wed May 05, 2010 12:16 pm

Post by Rado1 »

Thanks Ville. I tried it again many times with Saucer Invasion, Eater, and some testing simple zzdc.dat files. I tried also to switch on/off various tasks, but without any positive result. Simply, application with this fix is not working on Orange San Francisco II :-( Damn it!
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

Should I go ahead and sign and upload Saucer Invasion? or wait till this crash issue is resolver? It runs fine here with the new version installed.

here is the signed file; http://iterationgames.com/SaucerInvasion.apk
Last edited by jph_wacheski on Tue Jun 19, 2012 4:18 pm, edited 1 time in total.
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

jph_wacheski wrote:Should I go ahead and sign and upload Saucer Invasion? or wait till this crash issue is resolver? It runs fine here with the new version installed.
Just for safety I rebuilt your apk with the fp fix turned off: http://www.zgameeditor.org/files/Saucer ... signed.apk
Please go ahead and sign it.

I'm not sure why the fp-fix does not work everywhere. It might be different revisions of ARM CPUs or something. The diversity of the Android platform hits us once again ;)
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

The one above was signed from the fixed version,. works here!

I will redo the process, as I seem to have figured it out now,. (crazy silly process btw) with that last one you posted,. but I have to go for bike ride to get some beer, as all that command line nonsense, using the spotty documentation, was too taxing on my little simian brain,. (some tools are in the java folder while others in the Android one, yet no info. is given as to what is where) Anyway, once that one is working I will start to populate the store entry with all the images and such,. just trying to get through the process one time for the sake of learning it. More to come.

https://play.google.com/store/apps/deta ... Zhc2lvbiJd
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

That's great, I could search for it and install from Google Play!
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Small update regarding this thread: viewtopic.php?p=5197#5197

Only relevant to advanced raw casting stuff that Kjell plays with :)

Code: Select all

//Hard cast float value to int
int x=reinterpret_cast<int>(0.12345678f);

//Then back to float again
float y=reinterpret_cast<float>(x);
int test=y*100000000;

//test is now 12345678
This makes the "?" operator bug observed in the thread no longer needed for this hack, so I've fixed it.

http://www.zgameeditor.org/files/ZGameEditor_beta.zip
Post Reply