On Fri, 16 Nov 2007 08:49:21 +1030, "David Gowers" <[EMAIL PROTECTED]>
wrote:
> for x in range (0, numsquares_x):
> for y in range (0, numsquares_y):
> thissq = pygame.rect (x * square_width, y * square_height,(x+1) *
> square_width, (y+1) * square_height)
> squares.append (thissq)
I th
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, marta sanz <[EMAIL PR
On Nov 15, 2007 11:00 PM, marta sanz <[EMAIL PROTECTED]> wrote:
> 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,
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
Gameplay wise, you might want to give the other play a turn whether or
not the first one got the answer right or wrong. Otherwise Player One
has a bug advantage if they know the answers to a few of the questions
(Or just know a lot).
Have the question/answer come up in a popup. Trust me, it's a
A further description about this game:
you have a board, with 3 types of tile/squares, the normal ones that
have between 2 and 6 diferent colours -dependig on the configuration you
want to have- each colour belongs to a subject (maths, science, history,
animals,..), then you have special tiles, tha
marta sanz wrote:
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
The board has 3 kind of squares:
a) Normal ones, that depending on its colour, makes you a question of
the area asigned to that colour (i.e. blue:history, red:maths,..)
b) special ones, that depending on its colour makes you a question as
the normal ones,but if you are correct, you achieve a point
marta sanz wrote:
don't know if it's
better to draw the entire board with a paint program (inkscape, gimp..)
and then load it with pygame, or draw each individual squares and the
load them one by one making the board, or what.
If many of the squares are identical, or have only small
differenc
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
Ian Mallett wrote:
It doesn't really matter which way you do it, but I would
recommend making the entire thing all at once, as I see no advantage
to having individual squares, and it would make programming less
complicated.
Ian
I would make a square of the appropriate size of one color,
It doesn't really matter which way you do it, but I would
recommend making the entire thing all at once, as I see no advantage
to having individual squares, and it would make programming less
complicated.
Ian
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
13 matches
Mail list logo