ui-cs383 / Freedom-Galaxy

Primary repository for the FitG
1 stars 6 forks source link

Client/GUI Library Choices #16

Closed rangera closed 10 years ago

rangera commented 10 years ago

Okay, so, at the moment, the demo that I showed on Thursday, and the current plan for the graphics, is using VPython 5.74 from vpython.org . Note that this is not the default download. This only does the 3D aspect, which is basically the map. The whole "client" will then contain some sort of area off to the side of the view that is more text and buttons and such. For this, Python actually comes with tk/tkinter/tkk. These are built in libraries that use simple window management, buttons, text entry, etc. So, let's look into these choice a bit.

VPython:

tk/tkinter/tkk:

http://vpython.org/index.html Is the home of vpython, and has excellent documentation, tutorials, and examples

https://wiki.python.org/moin/TkInter is a great place to start for TkInter

mein1156 commented 10 years ago

I think whoever has to do the work with the graphics should have 51% of the vote, as long as all the graphics stuff is done by the GUI team :).

rangera commented 10 years ago

This is supposed to be tagged for the client team, but I don't have the ability to do so. I already have some graphics done (3d rendering of star systems) and am currently working on a tkinter mock-up of a user interface that has been looked over by multiple people.

rangera commented 10 years ago

So, now, for GUI, we are looking at GTK, which is being encompassed by PyGObject. This has been used to make GIMP and a lot of other things. It allows for overlay, different windows, and whatnot, as well as customizing the look.

rangera commented 10 years ago

Tutorial for GTK http://python-gtk-3-tutorial.readthedocs.org/en/latest/

rangera commented 10 years ago

Scratch that, now it's looking like wxpython is our man. wxpython.org

thom5468 commented 10 years ago

Client team is using pygame.