Skip to main content

Tygame - GUI Project - alpha 1.0.1

The purpose of the tygame library is to allow the use of GUI objects to quickly and simply build GUI while still using the many features that pygame has to offer. It shares a simlar style of coding to tkinter (a python GUI library). Please note that this is still in the early phase of development so there will be bugs. If you find some please notify me on this page.


Eric
(zhang)
The library contains several kinds of comparable widgets that are found or not found within the tkinter library (i.e. Entries, Labels). Here is a list of the widgets implemented thus far: Frame, StaticFrame, Entry, Button, DropFrame, Label, HoverFrame, Table (in sublibrary extension). Tygame adds one other class: TypableSurface: a surface that takes a text and parses the string into lines to display a large amount of words which would otherwise be cumbersome with pygame's font library. More widgets, optimizations, information, documentations to come. Please if you find a bug which is not listed on this page write it so it can be fixed in the future.

Changes

1.0.1a Bug Fixes


- Fixed a bug where you can click through frames

- Fixed a bug where you an click multiple entries

Extension

- Added createMessageBox to extension

- Added createInputBox to extension

- Added MessageVariable class to go with Input Box

Contemplating

- Thinking about dividing extension module into extension and message

- Adding more documentation

- Adding more thorough example.py

Links

Home Page
http://www.pygame.org/
Source
http://www.mediafire.com/?r71zi21d2b9li8k
Windows
http://www.mediafire.com/?r71zi21d2b9li8k

Releases

Tygame - GUI Project alpha 1.0.1 — 14 Nov, 2011

Tygame - GUI Project alpha 1.0.0 — 11 Nov, 2011

Tygame - GUI Project alpha 1.0.2 — 27 Nov, 2011

Pygame.org account Comments

  • josmiley 2011-11-12 19:18

    interesting but no reaction with python2

  • SodaCookie 2011-11-13 00:22

    Unfortunately, I only learned python 3, so I'm not sure how to allow it to run in python 2.

    josmiley 2011-11-13 11:09

    good job anywayneed a more elaborate example.py, as screenshot.quit button should exit at release

  • WoofWoofDude 2011-12-18 00:32

    When you will post a new version ?

    And very nice work !

    It's simple to use and understand but just say we must use handle_widgets() and not use pygame.event.get()... I understand that after 2 day -__-... :P

  • SodaCookie 2011-12-18 04:09

    As of right now I'm really busy applying to university. Some time in January I'll be able to post another version. I've been reworking some of my widgets from scratch for a friend. So, in the next version, I might add skinning, copy and paste, word wrapping etc...

    WoofWoofDude 2011-12-18 04:45

    Okay tanks and good chance for university :) ...

    WoofWoofDude 2012-04-03 21:09

     And what going on ? Do you will ubdate it soon ?

    ... You said January, and we are in... heummm.. April :D. So ?

  • WoofWoofDude 2012-04-23 02:48

    [Bug]
    When you moving the counter object (I think...) the arrows has no reaction...

  • SodaCookie 2012-05-29 02:53

    Oh wow it's been so long, I've just been so busy. I'm sorry I haven't been keeping up the code, but the good news is that I've been working on rewriting the whole thing do that that'll be a lot better than the previous version. Like I've said before, as a freshman, university is so trying. It was naive of me to put a date on when I will be able to finish the next version of tygame. Sorry folks. I will try to continue this project.

    WoofWoofDude 2012-06-03 03:39

     Tanks man :) ... But I'm not hurry, I can be patient.

  • WoofWoofDude 2013-08-18 19:23

    And after a year ? :P