Hi.
So i have tried PGS4A yesterday to port my already written game on my
android device. So i have downloaded the SDK, set up an avd, ran the
emulator with this fresh avd. Installed PGS4A on it, pushed my game into
the virtual device. Until there, it seemed to work, the game was listed in
the PGS4A available game list, then, i decided to run it.
Humf, so at the first sight it seemed to work perfectly, i can see the menu
of my game, choose the game type, choose my car (yeah that's cool!) but
when i tried to run a new race, the game crashed... i took a look in the
log provided by adb logcat and the only think it was able to tell is
something like that :
error at line 194 in circuit.py : screen.blit(lap_count, (SCREEN_SIZE_X/2 -
rect.width/2, 20))
lap_count is : lap_count = self.font.render('Lap : %s/3' % self.lap, 1,
(255, 0, 0))
and self.font is : self.font = pygame.font.Font(os.path.join('datas',
'fonts', 'freesansbold.ttf'), 18)
so as you can see i can load the font, render it but the blit of it seems
to fail (of course it works when i try on my computer).
So if someone could try to make it works on his emulator or directly on his
android device using PGS4A it would be really nice!
Here is a zipped archive of my game : http://bngames.org/racer.zip
Thanks!
2012/1/27 Nathan Biagini <[email protected]>
> I have tried to use it but i got lot of troubles.... not able to create a
> distribution with kivy or any modules...
>
>
> 2012/1/27 Vovk Donets <[email protected]>
>
>> There also https://github.com/kivy/python-for-android from Kivy guys.
>> But i have not used it, as for PGS4A works nice but requires optimisaion of
>> game code.
>>
>>
>> 2012/1/28 Nathan Biagini <[email protected]>
>>
>>> Hi guys,
>>>
>>> i love developing little games with Pygame and recently heard about a
>>> way to port your games on Android devices with "Pygame subset for
>>> Android".
>>> So, i'd like to ask if there are some of you who have already tested
>>> it? Does it works well? etc...
>>>
>>> Thanks.
>>>
>>
>>
>>
>> --
>> *Vovk Donets*
>> python developer
>>
>> skype: suunbeeam
>> icq: 232490857
>> mail: [email protected]
>> www: jetfix.ru
>>
>>
>