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
me?..) Thanks so much to all ;) Marta. El 24/01/2008, a las 10:38, Chris Smith escribió: I too would go with just putting all the questions into a text editor. That way it's easy to edit and easy to spell-check the questions and answers. You'd need a little bit of code to parse the

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

2008-01-23 Thread marta sanz
le bank and how can I access it from the pygame code. Any idea? Thanks so much. Marta.

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
;0 Does anyone have any idea of where do my code fails? I have look for examples and info, but all I see seems to say I'm right, so what's wrong? Thanks so much. Regards.. Marta.

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
e player is in. I thought about a list of pointers... El mié, 19-09-2007 a las 09:50 +0200, Lionel Barret De Nazaris escribió: > marta sanz wrote: > > Hi! > > > > I'm a newbie in game programming. I am programming -well, trying to do > > it.. :D- a board game

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

Re: [pygame] board game

2007-09-18 Thread marta
So, Do you mean to draw an entire background -the board in this case- and then define areas? I mean, defining an area of action over a square, so when you click it, the question appears? Sorry for my English, it's being a long time since I used it for the last time :).. El mar, 18-09-2007 a las 11

[pygame] board game

2007-09-18 Thread marta sanz
ividual squares and the load them one by one making the board, or what. The board has an hexagonal shape. Any idea? Regards and Thanks for all. Marta.