Active Topics

 

Showing results 1 to 15 of 15 @ 0.00 seconds. Search: Posts Made By: ErikHK
Forum: Development 2010-05-03, 20:48
Replies: 5
Views: 4,048
Posted By ErikHK
Re: Asteraids - an asteroids-like game that uses the gyroscope!

Optified? It's installed in /opt/asteraids/, should it be in ~ or what? I forgot to add python-pybox2d, will add it in future builds.
Forum: Development 2010-05-03, 20:27
Replies: 5
Views: 4,048
Posted By ErikHK
Asteraids - an asteroids-like game that uses the gyroscope!

I've made an asteroids-like game where there are asteroids coming towards you, and to push them away you have to shoot them. To aim you have to rotate the phone, and the ship will always shoot...
Forum: Development 2010-04-27, 17:38
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

I updated the http://www.erikhk.net/tmp/cairotest.py example, and it's pretty smooth when you're not relying on inputs to gtk, I guess http://cairographics.org/threaded_animation_with_cairo/ has to...
Forum: Development 2010-04-27, 14:33
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

Ah, sounds nice. Can anyone say if it's possible to make the cairo example more responsive? When I click somewhere on the screen it can take up to a second for it to redraw the triangle. Does it have...
Forum: Development 2010-04-27, 11:32
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

I have updated the pygame example, and now it seems to be rather fast:
http://www.erikhk.net/tmp/fysik.py
Forum: Development 2010-04-26, 21:12
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

I actually thought that I had some time limit thing implemented, but now that I've implemented pygame.time.Clock() and use clock.tick(60) I notice a real difference :)

But I still wonder about the...
Forum: Development 2010-04-26, 12:51
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

juise: sorry, didn't see your reply. I had that timeout value at something like 50 at first, but just tried to make it as low as possible to see if that was the problem. Could the pygtk/cairo thing...
Forum: Development 2010-04-26, 12:45
Replies: 11
Views: 4,129
Posted By ErikHK
Re: Is python really this slow?

well, crappy code then. But it's weird that I don't notice the slowness at all on the computer, at least not on the pygame thing, I suspected though that the gtk thing should be slow on the computer...
Forum: Development 2010-04-26, 12:27
Replies: 11
Views: 4,129
Posted By ErikHK
Is python really this slow?

I've made a small demo app with pygtk and cairo at www.erikhk.net/tmp/cairotest.py , press anywhere on the screen and one of the corners of the triangle should move to the point where you pressed....
Forum: Development 2010-04-24, 23:22
Replies: 6
Views: 2,513
Posted By ErikHK
Re: py2deb package becomes .tar.gz, how can I get .deb?

Oh, that's a shame. Thanks anyway :)
Forum: Development 2010-04-24, 23:17
Replies: 6
Views: 2,513
Posted By ErikHK
Re: py2deb package becomes .tar.gz, how can I get .deb?

fatalsaint: Thing is, I don't have dpkg-buildpackage, and apt-get install dpkg-dev says that the package doesn't exist, but is referred to by another package (doesn't say which one..).

MohammadAG:...
Forum: Development 2010-04-24, 22:52
Replies: 6
Views: 2,513
Posted By ErikHK
py2deb package becomes .tar.gz, how can I get .deb?

When I follow the guide on http://wiki.maemo.org/Py2deb I get the packages as it says there, and I can upload it to the repositories and download the package via apt-get, but how can I make a deb...
Forum: Games 2010-04-23, 00:22
Replies: 3
Views: 2,024
Posted By ErikHK
Re: Geography game for the N900 by me

It seems as though I've managed to add it to the extras-devel repository, just do a apt-get update and apt-get install leif, and you should be good to go. The options menu still doesn't work, so it's...
Forum: Games 2010-04-20, 12:14
Replies: 3
Views: 2,024
Posted By ErikHK
Re: Geography game for the N900 by me

Nice. I have custom language support, it's in English as default, but my two maps I've done (I will do more of course) exist in both English and Swedish. If you want it isn't that difficult to add...
Forum: Games 2010-04-19, 20:39
Replies: 3
Views: 2,024
Posted By ErikHK
Geography game for the N900 by me

I'm working on a geography game for the N900 http://erikhk.net/tmp/leif_n900.png

Here the game is in practice mode, if you click on a country it will display the name of it. Otherwise it will...
Showing results 1 to 15 of 15



 
Forum Jump

All times are GMT. The time now is 22:11.