Forum: Development
2010-05-03, 20:48
|
Replies: 5
Views: 4,048
|
Forum: Development
2010-05-03, 20:27
|
Replies: 5
Views: 4,048
|
Forum: Development
2010-04-27, 17:38
|
Replies: 11
Views: 4,129
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
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
|
Forum: Development
2010-04-26, 21:12
|
Replies: 11
Views: 4,129
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
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
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
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
|
Forum: Development
2010-04-24, 23:17
|
Replies: 6
Views: 2,513
|
Forum: Development
2010-04-24, 22:52
|
Replies: 6
Views: 2,513
|
Forum: Games
2010-04-23, 00:22
|
Replies: 3
Views: 2,024
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
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
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...
|