You are not logged in.
background info: i've started making a little dice game in python. most of the guts of it are finished, so now i'd like to put a GUI on it. as a child, i knew this game as The Game of 5000. it's played very similarly to this game.
so my needs are pretty simple: i need to draw some dice (2D drawing). i don't know if i want to go to the trouble of animating the dice rolling, so i'll probably opt for something simpler; for example, a row of six dice that are sort of spinning in place until they turn up a number, very similar to how a slot machine looks.
i already know how to do basic GUI programming with pygtk and wxpython, but i think this would be an opportunity to learn something new. so does anybody have any recommendations about what library i could use to easily/elegantly/beautifully do this? should i be looking at cairo/pycairo? sdl? something else?
thanks in advance for the input.
Last edited by upsidaisium (2010-01-18 02:53:45)
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
maybe pygame? It's definitely overkill for a dice game, but then, it's something new.
Or, do 3D dice; Soya3D is always fun.
Dusty
Offline
pygame certainly looks like a possibility. might as well play around with it a bit and see what happens
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
Maybe try tkinter and canvas class, it is simple and bundled with python
Offline
Maybe try tkinter and canvas class, it is simple and bundled with python
If you think those are simple, wait till you try pygame
Offline
I've used both (pygame more), and tkinter has some nice design in it, pygame is much more like c binding, and it's a bit inconsistent (just IMHO).
Offline
pyglet is another alternative.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline