Re: [pygame] How to remove the window frame

2008-02-26 Thread marta sanz
Perfect! Thanks, I didn't notice those flags. Simon Pickles escribió: marta sanz wrote: Hi there! Does anyone know how can I remove the window frame? I mean the frame where appears the caption of that window. Try adding the flag pygame.NOFRAME to your display setup code, as detialed

[pygame] How to remove the window frame

2008-02-26 Thread marta sanz
Hi there! Does anyone know how can I remove the window frame? I mean the frame where appears the caption of that window. And how can I store the ranking of the players when the game finishes? I thought about simply store it in a txt file... Congrats for this list and thanks so much :D

Re: [pygame] How to make a GUi with a background image using pgu?

2008-02-13 Thread marta sanz
oops..didn't realise about it. Thanks! El 13/02/2008, a las 12:59, Marcus von Appen escribió: On, Wed Feb 13, 2008, marta sanz wrote: That's the question... Try asking on the respective pgu mailing lists. Regards Marcus

[pygame] How to make a GUi with a background image using pgu?

2008-02-13 Thread marta sanz
That's the question...

[pygame] About pgu

2008-02-12 Thread marta sanz
Hi there! I'm trying to use pgu to make a GUI like the image there's near pgu explanation on the pygame web (which has two places to enter the name of two players and below has a list for choosing one option) but I'm so newbie and I get lost on using pgu. The idea is to have a display, wh

Re: [pygame] Keyboard inputs & file navigator

2008-02-11 Thread marta sanz
Umm.. Ithought about building that interface with Glade, but I would like to have an interface window more like the game, I mean, doing the gui with that, the window generated has a serious windows look-a- like and I would like to know if doing this simply gui more like the game looks, I mea

[pygame] Keyboard inputs & file navigator

2008-02-11 Thread marta sanz
Hi there! I'm trying to make a initial GUI for a game, in this interface I want to ask for the name of each player (names that I want to store) and also ask them for selecting 3 questions banks for the game. I mean, in this game I have some questions banks about sports, cinema and things

Re: [pygame] Ideas about storing questions/answers for a boardGame.

2008-01-24 Thread marta sanz
amount of typing. Plus Ethan's suggestion already takes care of the problem in a much simpler way, and code is already provided.along wth his suggestion. XML is overkill for that task. -Thiago On Jan 24, 2008 2:22 AM, James Paige <[EMAIL PROTECTED] > wrote: > On Wed, Jan 23, 2008 at

[pygame] Ideas about storing questions/answers for a boardGame.

2008-01-23 Thread marta sanz
Hi there, I'm trying to develop a board game that has a board, and depending on the square a player goes, he has to answer a question and if the answer is wrong the play turn goes to other player, and if it is right, the player can redrop the dice, the player with more right answered ques

Re: [pygame] Error with image.get_rect()

2008-01-15 Thread marta sanz
-value of the top edge of the rectangle. If you're looking for a pair of numbers, check out 'topleft', 'midtop', or 'topright'. The second value for those three will be the same value as 'top'. I hope that makes sense. -Sean On Jan 14, 2008 2:

[pygame] Error with image.get_rect()

2008-01-14 Thread marta sanz
Hi there! I have a little problem with that function image.get_rect() and that is that after loading an image, I try to obtain its rect but it does nothing... in my code I do this: def __init__ (pygame.sprite.Sprite): ... self.counterArea=pygame.Rect(0,0,0,0) ... ...

Re: [pygame] Virtual attributes of pygame.Rect

2008-01-02 Thread marta sanz
Oops..sorry, I forgot putting the "self" argument, I mean, in fact that argument is on my code. I found that when I initialysed (is this correct?) my self.rect variable, I was doing self.rect=0, and that seems to be the problem, now I do self.rect=pygame.Rect(0,0,0,0) and now it goes well..

Re: [pygame] Doubt about using methods in python

2007-11-19 Thread marta sanz
Hello David, El 15/11/2007, a las 15:01, David Gowers escribió: Hi marta, On Nov 15, 2007 9:11 PM, marta sanz <[EMAIL PROTECTED]> wrote: Hi, I have a doubt about python and I would like to ask it to you. It is about the use of functions -methos- of a class within other class. I

Re: [pygame] board game

2007-11-16 Thread marta sanz
So the answer is that rects don't have to be asociated to an image,isn't? What I am doing is that you've said, I have two lists of squares in which each square is actually a rect. Thanks alot. El 15/11/2007, a las 23:19, David Gowers escribió: On Nov 15, 2007 11:00 PM, mar

Re: [pygame] board game

2007-11-15 Thread marta sanz
Hi there, I've left the board game for a time, and now that I have time again, I have returned to it.. Can I do new=pygame.rect(10,20,30,40) ? I mean, I do load an entire image of my game board, that will be the surface, and then, as Samuel said, I've tried to create invisible squares ov

[pygame] Doubt about using methods in python

2007-11-15 Thread marta sanz
Hi, I have a doubt about python and I would like to ask it to you. It is about the use of functions -methos- of a class within other class. I have 2 classes in 2 separate files, in file squares.py I have the class Square with the methods getRect() and setRect(). Now, in other file, board.py

Re: [pygame] board game

2007-09-19 Thread Marta Sanz
point. c) Drop again the dice. You can redrop the dices and go to another square. I do not understand what do you mean exactly.. (but thanks anyway :D) El mié, 19-09-2007 a las 10:15 +1200, Greg Ewing escribió: > marta sanz wrote: > > don't know if it's > > better to dra

[pygame] board game

2007-09-18 Thread marta sanz
Hi! I'm a newbie in game programming. I am programming -well, trying to do it.. :D- a board game like Trivial, a board game of questions and answers. In this game, you have a board with many squares, and each one have one question to be answered by the player, there are 6 types of squar