<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.5700.6" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Mno manualy najdes tu </FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://www.geon.wz.cz/pygame/">http://www.geon.wz.cz/pygame/</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
// CZ</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;<A 
href="http://www.pygame.org/news.html">http://www.pygame.org/news.html</A>&nbsp; 
//ENG</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>O inych zatial neviem : / . </FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2></FONT><BR></DIV><BR><FONT face=sans-serif 
  size=2>Neviem presne co chces robit, ale hlavny problem preco </FONT><BR><FONT 
  face=sans-serif size=2>ti to nefungovalo si mal len v tej funkcii</FONT> 
  <BR><BR><FONT face="Courier New" size=2>kurzor.trefa(), </FONT><BR><BR><FONT 
  face=sans-serif size=2>ktora niekedy nevracala hodnotu.</FONT> <BR><FONT 
  face=sans-serif size=2>To ci si klikol na spravny objekt ti vrati vo funkcii 
  </FONT><BR><FONT face="Courier New" size=2>kurzor.trefa(</FONT><FONT 
  size=2><TT>self, ciel</TT></FONT><FONT face="Courier New" size=2>)</FONT><FONT 
  face=sans-serif size=2> </FONT><BR><FONT face=sans-serif size=2>zrejme ten 
  prikaz</FONT> <BR><FONT face="Courier New" 
  size=2>zasahObd.colliderect(ciel.rect)</FONT> <BR><FONT face=sans-serif 
  size=2>pricom </FONT><FONT face="Courier New" size=2>ciel</FONT><FONT 
  face=sans-serif size=2> je cez parameter funkcie odovzdana instancia triedy 
  </FONT><FONT face="Courier New" size=2>Opicka</FONT><FONT face=sans-serif 
  size=2>, </FONT><BR><FONT face=sans-serif size=2>alebo </FONT><FONT 
  face="Courier New" size=2>Kladivo</FONT><FONT face=sans-serif size=2> (alebo 
  nieco ine)</FONT> <BR><BR><FONT face=sans-serif size=2>Ked budes mat podobne 
  problemy ze nevies, co ako funguje, zvycajne pomoze,</FONT> <BR><FONT 
  face=sans-serif size=2>ked si do programu namontuijes na prislusne miesta par 
  kontrolnych vypisov.</FONT> <BR><BR><FONT face=sans-serif size=2>Ten package 
  Pygame mam sice nainstalovany, ale este som sa s nim nikdy nezaoberal, 
  </FONT><BR><FONT face=sans-serif size=2>len som si pozrel nejake demo. Mas k 
  Pygame nejaky dobry manual?</FONT> <BR><BR><BR><BR>
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD width="40%"><FONT face=sans-serif size=1><B>"petrik" 
        &lt;petrik@extel.sk&gt;</B> </FONT><BR><FONT face=sans-serif size=1>Sent 
        by: tutor-bounces@py.cz</FONT> 
        <P><FONT face=sans-serif size=1>10.10.2006 14:34</FONT> 
        <TABLE border=1>
          <TBODY>
          <TR vAlign=top>
            <TD bgColor=white>
              <DIV align=center><FONT face=sans-serif size=1>Please respond 
              to<BR>Konference Tutor portalu PyCZ 
              &lt;tutor@py.cz&gt;</FONT></DIV></TR></TBODY></TABLE><BR></P>
      <TD width="59%">
        <TABLE width="100%">
          <TBODY>
          <TR>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
            <TD vAlign=top><FONT face=sans-serif size=1>"Konference Tutor 
              portalu PyCZ" &lt;tutor@py.cz&gt;</FONT> 
          <TR>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
            <TD vAlign=top>
          <TR>
            <TD>
              <DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
            <TD vAlign=top><FONT face=sans-serif size=1>Re: [Tutor PyCZ] 
              &nbsp; &nbsp; &nbsp; &nbsp;Pygame - zasahy a otočky (bylo:Re: 
              &nbsp;Fw: HElP)</FONT></TR></TBODY></TABLE><BR>
        <TABLE>
          <TBODY>
          <TR vAlign=top>
            <TD>
            <TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT face=Arial 
  size=2>Heh je to super ..diky moc... </FONT><BR><FONT face=Arial size=2>Len 
  som chcel spravit specialnu skupinu objektov ktore maju rovnake udalosti ale 
  rozdielne suradnice,</FONT> <BR><FONT face=Arial size=2>Geon mi vravel ze by 
  som to mal spravit tak </FONT><BR><FONT face=Arial size=2>spravit jednu Class 
  Objekty ..a tam zadat vsetky udalosti ktore budu zdielat ostatne objekty ale 
  </FONT><BR><FONT face=Arial size=2>zadanie suradnic bude potom ,alebo malo by 
  byt v tomto tvare.</FONT> <BR><FONT face="Courier New" size=3>opicka = 
  Opicka('opicka.bmp',(61,70)) #ako tuple</FONT> <BR><FONT size=3>&nbsp;</FONT> 
  <BR><FONT face=Arial size=2>lenze aby to zobralo tak musim to zadefinovat do 
  __Init__ u tej class Objekty &nbsp;</FONT> <BR><FONT size=3>&nbsp;</FONT> 
  <BR><FONT face=Arial size=2>ktora vyzera asi takto</FONT> <BR><FONT 
  size=3>&nbsp;</FONT> <BR><FONT face=Arial size=2>&nbsp; &nbsp; def 
  __init__(self, image):<BR>&nbsp; &nbsp; &nbsp; 
  &nbsp;pygame.sprite.Sprite.__init__(self) #call Sprite intializer<BR>&nbsp; 
  &nbsp; &nbsp; &nbsp;self.image, self.rect = nahrajObrazok(image)<BR>&nbsp; 
  &nbsp; &nbsp; &nbsp;obrazovka = pygame.display.get_surface()<BR>&nbsp; &nbsp; 
  &nbsp; &nbsp;self.oblast = obrazovka.get_rect()<BR>&nbsp; &nbsp; &nbsp; 
  &nbsp;self.rect.topleft = 12, 70 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// 
  suradnice <BR>&nbsp; &nbsp; &nbsp; &nbsp;self.vrtenie = 0</FONT> <BR><FONT 
  size=3>&nbsp;</FONT> <BR><FONT face=Arial size=2>teda ten system ako to mysli 
  Geon je dobry pretoze kedze by som chcel spravit viac objektov tak by to tam 
  toho bolo milion.</FONT> <BR><FONT size=3>&nbsp;</FONT> <BR><FONT 
  size=3>&nbsp;</FONT> <BR><FONT face=Arial size=2>&nbsp;Diky moc , 
  </FONT><BR><FONT face=Arial size=2>s pozdravom WraCkeR</FONT> <BR><FONT 
  size=2><TT>_______________________________________________<BR>Tutor mailing 
  list<BR>Tutor@py.cz<BR>http://www.py.cz/mailman/listinfo/tutor</TT></FONT> 
  <BR><FONT face=sans-serif size=2><BR>Mgr. Ing. Roman MIKLÓ© <BR>Prvá stavebná 
  sporiteµňa a.s. <BR>Bajkalská 30, P. O. Box 48 <BR>829 48 &nbsp;Bratislava 25 
  <BR>Tel.: +421/ 2 / 582 31 174 <BR>Fax: +421/ 2 / 582 31 109 <BR></FONT>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Tutor mailing 
  list<BR>Tutor@py.cz<BR>http://www.py.cz/mailman/listinfo/tutor</BLOCKQUOTE></BODY></HTML>