[OLD-1] AGS engine Android port

Started by JJS, Thu 03/11/2011 20:18:29

Previous topic - Next topic

DazJ

Running my 1280x720 game I receive the following error as soon as I try to run it:

"The background scene for this room is smaller than the game resolution. If you have recently changed the game resolution, you will need to re-import the background for this room."

ALL backgrounds are 1280x720 and I even double-checked and re-imported them all so I've no idea why I'm receiving this error? I also tried starting the game in different rooms but still receive the same error.

JJS

1280x720? Is the game created with the regular AGS 3.2.1 or with a modified version? Because I don't think the standard engine can handle that resolution.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

DazJ

It's the modified engine so I guess that's the reason why?

JJS

Yes, that is the reason. The ports are built on top of AGS 3.2.1 with no enhancements from any of the development branches.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

DazJ

No problem, thanks for letting me know. Is it something you are considering implementing?

jannar85

Still problems with voice and music packs in Kings Quest X and Al Emmo...:/ Both are in the same folder..
Veteran, writer... with loads of unreleased games. Work in progress.

Haggis

This is superb, great feeling seeing your own game running on your phone!

Just a question regarding verbcoin interfaces -
My game uses the verbcoin template created a while back by Electroshokker. I've enabled the long leftclick option so it should consider a long tap as a held left mouse button however the verb coin interface does not display. Anyone else have this issue and any known ways to resolve it. Everything else is working incredibly well.

Should add - I've played through Monkey Island 3 on this phone which implements the double tap and hold verb coin interface. Phone is a Samsung Galaxy S2.

Appreciate any help and looking forward to seeing this app develop!

JJS

I have another report from AGD2 about non-functional longclicking here: http://jjs.at/tracker/view.php?id=66

A common point I see between your issues is that you both use Samsung Galaxy devices. Up to now I have no real lead and it works on my HTC Desire so I cannot reproduce the issue. I could imagine that it is either related to me enabling the longlicking after setting the handler or that the amount of movement I allow while the finger is down is too low for those devices (< 4 pixel in x and y direction). I will have to do some test versions to narrow that down.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

EchosofNezhyt

I got a galaxy s 1 I can test on, Its running custom ics though.

Haggis

Same here - can test on my Galaxy S2 if needed (also upgraded to ICS).

I PM'd you some extra details but may as well post here too:
I read earlier in this thread that when you enable the longleftclick functionality the phone will vibrate. Mine did not vibrate (the long click functionality was turned off by default).

EchosofNezhyt

My vibrated.

Also if I put to fingers down my right click on hold menu flashes on and then off.

JJS

The longclick issue should be fixed in the newest daily build. Special thanks to Haggis for testing and also thanks to Frito Master for the testing offer.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

JJS

I have now split the engine from the launcher app. This means that the frontend can be more easily switched to a custom one for releasing a game on the market.

The engine part is now in /Android/library, the standard launcher in /Android/launcher_list. The engine is included into launcher project as a library through the "project.properties" file. I will later include a more basic example for a simple single-game launcher.

For a market release there is still the problem that the game files must somehow be placed on the memory card. Either through downloading them from the net in the launcher or by bundling them in the APK and unpacking them on first start. The engine cannot read the game files directly from the APK.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

Shane 'ProgZmax' Stevens

#233
Isn't the .apk format basically just a renamed .zip?  Surely you could design the frontend to extract the contents temporarily to a folder (ram being the first choice), run the game, then clear the folder when the game is closed (just keep save games elsewhere)?

voh

There's a lot of pages here, and I'm in a hurry, so I'll just ask this, risking a repeat: Can you add Escape to the keys menu? I'd like to be able to skip cutscenes :)

Anyway, HTC Desire Z, runs Resonance and the Ben Jordans fine :)
Still here.

JJS

The "back" hardware button acts as the ESC key.
Ask me about AGS on PSP, Android and iOS! Source, Daily builds

unicronic

Just wanted to extend some heavy thanks for the all the work that has gone into getting the Android AGS app where it is.

I tried it recently on my Xoom tablet and Xperia S phone and it works flawlessly.

Now to enjoy some great games on the go.

Blackthorne

#237
I'm very interested in this, and I think a lot of others will be, with the coming of OUYA ( http://www.kickstarter.com/projects/ouya/ouya-a-new-kind-of-video-game-console )  Being able to make our games for a console would be pretty interesting. 

Bt
-----------------------------------
"Enjoy Every Sandwich" - Warren Zevon

http://www.infamous-quests.com

EchosofNezhyt

I forgot about that, Yes that would be very awesome :D!
QuoteIsn't the .apk format basically just a renamed .zip?

Yes or It was last time I checked which was like ginger bread.

Joseph DiPerla

Quote from: Frito Master on Tue 17/07/2012 07:59:13
I forgot about that, Yes that would be very awesome :D!
QuoteIsn't the .apk format basically just a renamed .zip?

Yes or It was last time I checked which was like ginger bread.

The problem with the APK files is that once the Android SDL builds the APK, even though you can open it with a zip tool, the files inside are encrypted. Atleast the XML files and Java files are.
Joseph DiPerla--- http://www.adventurestockpile.com
Play my Star Wars MMORPG: http://sw-bfs.com
See my Fiverr page for translation and other services: https://www.fiverr.com/josephdiperla
Google Plus Adventure Community: https://plus.google.com/communities/116504865864458899575

SMF spam blocked by CleanTalk