SDL and PyGame available for MeeGo 1.2 Harmattan

mairas | 13 January, 2012 10:20

Thanks to initial porting efforts of Javier Pedro, Simple DirectMedia Layer (SDL) is now available for the Nokia N9. The packages can be installed from the Platform SDK and Nokia Apps repositories. As is the case with other packages in the Nokia Apps repository, applications submitted to Ovi Store are allowed to depend on them. Therefore, you can submit your SDL games to the Ovi Store!

SDL is a cross-platform multimedia library, presenting a simple low-level interface to the platform's audio, input, OpenGL ES, and 2D video framebuffer facilities. It allows easy porting of existing SDL games to Nokia N9.

In addition to the native C-language SDL library, also the the PyGame Python bindings are now available.

List of packages

The following packages are now available in the Nokia Apps and SDK repositories:

  • libsdl1.2
  • libsdl-image1.2
  • libsdl-mixer1.2
  • libsdl-net1.2
  • libsdl-ttf2.0-0
  • libmikmod2
  • python-pygame

The respective header file (-dev) and debugging (-dbg) packages, where applicable, have also been uploaded to the SDK repositories, so that the header files can be installed on the Platform SDK.

Changes to upstream

SMPEG support has been removed. OGG samples can be used instead of MP3 for audio playback. There are also many other changes and additions, including support for OpenGL ES, multitouch, accelerometer sensors, and vibration. To see the full list, refer to the git commit log at gitorious.org and the package changelog.


RSSComments

Nice but ...

Khertan | 13/01/2012, 11:11

Nice but ... Why fullscreen only ?

https://gitorious.org/sdl-1_2-harmattan/sdl-1_2-harmattan/commit/a78ccd6a85d5974bbadd1cce054965170f7f8b36

Fullscreen

oniongarlic | 13/01/2012, 11:35

Isn't that pretty obvious, all apps are run fullscreen on the N9.

Fullscreen

mairas | 13/01/2012, 11:50

Yes, all apps are fullscreen on the N9. Without having the fullscreen flag, you'd have a big menu bar which would take a considerable amount of screen real estate without doing anything useful. Also, if my memory serves correctly, there were some screen refresh issues in the windowed mode. We decided it's better to just force everything fullscreen.

javispedro

javispedro | 13/01/2012, 12:10

Khertan: Even in fullscreen, it might still be possible for an SDL app to show the statusbar, in different orientations. Working on that! :)

Very good!

rocjohn | 16/01/2012, 04:40

Thanks for this project.It make the game development easier !
I will take acoount it in my games.

et3rnal

et3rnal | 18/01/2012, 07:54

This great news :D more games plz plz

Compositor is in the way

mardy | 22/01/2012, 12:32

Thanks for this, I've been waiting for it! :-)

Unfortunately, this bug makes it impossible for me to make anything out of it:
http://harmattan-bugs.nokia.com/show_bug.cgi?id=693

While that is not fixed, do you have any hints on how to disable the harmattan window compositor?

You must login to post comments. Login
 
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2012 All rights reserved