<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : Oluşturduğum program çalışmıyor</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Oluşturduğum program çalışmıyor]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:54:54 +0000</pubDate>
  <lastBuildDate>Mon, 05 Aug 2024 14:08:09 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=775</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : Merhaba ZeynepHatan&#305;n resmini...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1416#1416</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2024 Saat 14:08<br /><br />Merhaba Zeynep&nbsp;<div>Hatanın resmini atar mısın?</div>]]>
   </description>
   <pubDate>Mon, 05 Aug 2024 14:08:09 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1416#1416</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : var MyForm: TclGameForm; bottleImg:...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1337#1337</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 15:43<br /><br /><div>var</div><div>&nbsp; MyForm: TclGameForm;</div><div>&nbsp; bottleImg: TClProImage;</div><div>&nbsp; spinnerTimer: TClTimer;</div><div>&nbsp; selectedPerson: string;</div><div>&nbsp; persons: TClArrayString;&nbsp;</div><div>&nbsp; spinSpeed: Integer;</div><div>&nbsp; isSpinning: Boolean;</div><div>&nbsp; personCount, i, index, angle: Integer;</div><div>&nbsp; personCountInput: TClEdit;</div><div>&nbsp; startButton: TClProButton;</div><div>&nbsp; personCountLabel: TCLProLabel;</div><div><br></div><div>// Prosedürlerin ön bildirimleri</div><div>procedure InitializeGame;</div><div>procedure StartGame;</div><div>procedure StartSpin;</div><div>procedure StopSpin;</div><div>procedure OnSpinTimer;</div><div>procedure ShowSelectedPerson(person: string);</div><div>procedure OnClickStartButton;</div><div><br></div><div>// Ana kod bloğu</div><div>begin</div><div>&nbsp; InitializeGame;</div><div>end</div><div><br></div><div>procedure InitializeGame;</div><div>begin</div><div>&nbsp; MyForm := TclGameForm.Create(Self);</div><div>&nbsp; MyForm.SetFormColor('#f1e9e9', '#7893b0', MyForm);</div><div><br></div><div>&nbsp; // Kişi sayısı girişi</div><div>&nbsp; personCountLabel := MyForm.AddNewProLabel(MyForm, 'personCountLabel', 'Enter number of people:');</div><div>&nbsp; ClRTSetProperty(personCountLabel, 'Top', 50);</div><div>&nbsp; ClRTSetProperty(personCountLabel, 'Left', 50);</div><div><br></div><div>&nbsp; personCountInput := MyForm.AddNewEdit(MyForm, 'personCountInput', '');</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Top', 80);</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Left', 50);</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Width', 100);</div><div><br></div><div>&nbsp; startButton := MyForm.AddNewProButton(MyForm, 'startButton', 'Start Game');</div><div>&nbsp; ClRTSetProperty(startButton, 'Top', 120);</div><div>&nbsp; ClRTSetProperty(startButton, 'Left', 50);</div><div>&nbsp; MyForm.AddNewEvent(startButton, tbeOnClick, 'OnClickStartButton');</div><div><br></div><div>&nbsp; MyForm.RunModal;</div><div>end</div><div><br></div><div>procedure StartGame;</div><div>begin</div><div>&nbsp; personCount := StrToInt(personCountInput.Text);</div><div>&nbsp; if personCount &lt;= 0 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; ShowMessage('Please enter a valid number of people.');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; end</div><div><br></div><div>&nbsp; persons := TClArrayString.Create;&nbsp;</div><div>&nbsp; for i := 0 to personCount - 1 do</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; persons.Add('Person' + IntToStr(i + 1));</div><div>&nbsp; end</div><div><br></div><div>&nbsp; // Şişe resmi</div><div>&nbsp; bottleImg := MyForm.AddNewProImage(MyForm, 'bottleImg');</div><div>&nbsp; MyForm.setImage(bottleImg, '<a href="https://upload.wikimedia.org/wikipedia/comm&#111;ns/thumb/e/e3/Bouteille.jpg/800px-Bouteille.jpg" target="_blank" rel="nofollow">https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Bouteille.jpg/800px-Bouteille.jpg</a>');</div><div>&nbsp; bottleImg.Align := alCenter;</div><div>&nbsp; bottleImg.Width := 200;</div><div>&nbsp; bottleImg.Height := 300;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Timer ayarları</div><div>&nbsp; spinnerTimer := MyForm.AddNewTimer(MyForm, 'spinnerTimer', 10); // Timer her 10ms'de bir çalışır</div><div>&nbsp; spinnerTimer.Enabled := False;</div><div>&nbsp; MyForm.AddNewEvent(spinnerTimer, tbeOnTimer, 'OnSpinTimer');</div><div><br></div><div>&nbsp; // Oyun başlat</div><div>&nbsp; isSpinning := False;</div><div>&nbsp; StartSpin;</div><div>end</div><div><br></div><div>procedure StartSpin;</div><div>begin</div><div>&nbsp; if not isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; isSpinning := True;</div><div>&nbsp; &nbsp; spinSpeed := 30; // Başlangıç dönme hızı</div><div>&nbsp; &nbsp; spinnerTimer.Enabled := True;</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure StopSpin;</div><div>begin</div><div>&nbsp; if isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; isSpinning := False;</div><div>&nbsp; &nbsp; spinnerTimer.Enabled := False;</div><div>&nbsp; &nbsp; // Şişenin hangi kişiyi işaret ettiğini bulur</div><div>&nbsp; &nbsp; angle := bottleImg.RotationAngle;</div><div>&nbsp; &nbsp; index := Round((angle mod 360) / (360 / persons.Count));</div><div>&nbsp; &nbsp; selectedPerson := persons.GetItem(index);</div><div>&nbsp; &nbsp; ShowSelectedPerson(selectedPerson); // Burada prosedürü çağırıyoruz</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure OnSpinTimer;</div><div>begin</div><div>&nbsp; if isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; // Şişeyi döndür</div><div>&nbsp; &nbsp; bottleImg.RotationAngle := bottleImg.RotationAngle + spinSpeed;</div><div>&nbsp; &nbsp; spinSpeed := spinSpeed * 0.98; // Dönme hızını yavaşlatır</div><div>&nbsp; &nbsp; if spinSpeed &lt; 1 then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; StopSpin;</div><div>&nbsp; &nbsp; end</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure ShowSelectedPerson(person: string);</div><div>begin</div><div>&nbsp; ShowMessage('Selected Person: ' + person);</div><div>&nbsp; // Burada seçilen kişiye göre bir görev veya soru sorulur</div><div>end</div><div><br></div><div>procedure OnClickStartButton;</div><div>begin</div><div>&nbsp; StartGame;</div><div>end</div><div>&nbsp;</div><div><br></div><div>söylediğiniz gibi prosedür tanımlarını yaptım sıralamaları düzeltmeye çalıştım .dizi yapısını da düzelttiğimi düşünüyorum. ama hala çalıştıramıyorum. hatam nerede yardımcı olur musunuz ?</div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 15:43:51 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1337#1337</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : arad&#305;&#287;&#305;m&#305; buldum te&#351;ekk&#252;rler ]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1334#1334</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 15:13<br /><br />aradığımı buldum teşekkürler]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 15:13:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1334#1334</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : Merhaba Zeynep,Dizi yap&#305;s&#305;n&#305; kullanmak...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1331#1331</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 14:59<br /><br />Merhaba Zeynep,<div>Dizi yapısını kullanmak için şu linki inceler misin:</div><div><a href="https://www.docs.clomosy.com/index.php/TclArray" target="_blank" rel="nofollow">https://www.docs.clomosy.com/index.php/TclArray</a></div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 14:59:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1331#1331</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : peki persons dizisinin uzunlu&#287;unu...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1329#1329</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 14:42<br /><br /><code>peki persons</code> dizisinin uzunluğunu <code>personCount</code> değerine ayarlayabilecek bir hazır fonksiyon var mı ? length fonksiyonu burada işime yaramıyor.&nbsp;]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 14:42:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1329#1329</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : procedure birinciProcbeginendprocedure...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1318#1318</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=171">OlgunAgac</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 12:40<br /><br />procedure birinciProc<div>begin</div><div><br></div><div>end</div><div><br></div><div>procedure ikinciProc</div><div>begin</div><div><br></div><div>end</div><div><br></div><div>Bu sıralamayla procedür tanımlandığında birinciProc içerisinde ikinciProc çağrılamaz. Kod bloğu yukarıdan aşağı doğru işlem gördüğü için birinciProc çağırmaya çalıştığında henüz ikinciProc tanımlanmamış olmakta.</div><div><br></div><div>Eğer en sondaki ana kod bloğuna eklerseniz çalışır çünkü sonda, fakat kodunuzda kendisinden sonra tanımlanan procedürlerin çağrıldığını görmekteyim.&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 12:40:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1318#1318</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : &amp;#039;Bunun d&#305;&#351;&#305;nda tan&#305;mlad&#305;&#287;&#305;n&#305;z...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1317#1317</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 12:13<br /><br />'<span style=": rgb251, 251, 253;">Bunun dışında tanımladığınız procedurleri çağırmadan önce tanımlanmış olması gerek. Üstünde bulunan StartGame proceduründen altında bulunan startSpin çağrılamaz.'&nbsp;</span><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">burada neyden bahsettiğinizi tam anlayamadım</span></div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 12:13:13 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1317#1317</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : begin InitializeGame;endolarak...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1316#1316</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 12:04<br /><br /><div>begin</div><div>&nbsp; InitializeGame;</div><div>end&nbsp;</div><div><br></div><div>olarak sona eklediğimde fonksiyonların tek tek çalışmaya başlaması gerekmiyor mu&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 12:04:54 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1316#1316</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : &#214;ncelikle ana kod blo&#287;u g&#246;remedim...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1315#1315</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=171">OlgunAgac</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 11:47<br /><br />Öncelikle ana kod bloğu göremedim ben. Bunun dışında tanımladığınız procedurleri çağırmadan önce tanımlanmış olması gerek. Üstünde bulunan StartGame proceduründen altında bulunan startSpin çağrılamaz.]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 11:47:58 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1315#1315</guid>
  </item> 
  <item>
   <title><![CDATA[Oluşturduğum program çalışmıyor : &#350;i&#351;e &#231;evirmece oyunu tasarl&#305;yorum....]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1311#1311</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=214">zeynepsimsek</a><br /><strong>Konu:</strong> 775<br /><strong>Gönderim Zamanı:</strong> 31&nbsp;Temmuz&nbsp;2024 Saat 10:29<br /><br /><div><font color="#000066">Şişe çevirmece oyunu tasarlıyorum. Programın önce kişi sayısını alması sonra ise isimlerin girilmesini istemesi gerekiyor(İsimleri alan kodu yazamadım).&nbsp; Sonra oyun başlar ve şişe döner, bir zaman sonra durur ve seçilen kişiyi gösterir.&nbsp;</font></div><div><font color="#000066">Kodum çalışmıyor. Algoritma kurma kısmında hata mı yapıyorum?</font></div><div><br></div><div>var</div><div>&nbsp; MyForm: TclGameForm;</div><div>&nbsp; bottleImg: TClProImage;</div><div>&nbsp; spinnerTimer: TClTimer;</div><div>&nbsp; selectedPerson: string;</div><div>&nbsp; persons: array of string;</div><div>&nbsp; spinSpeed: Integer;</div><div>&nbsp; isSpinning: Boolean;</div><div>&nbsp; personCount , i , index , angle :Integer;</div><div>&nbsp; personCountInput: TClEdit;</div><div>&nbsp; startButton: TClProButton;</div><div>&nbsp; personCountLabel: TCLProLabel;</div><div><br></div><div>procedure InitializeGame;</div><div>begin</div><div>&nbsp; MyForm = TclGameForm.Create(Self);</div><div>&nbsp; MyForm.SetFormColor('#f1e9e9', '#7893b0', MyForm);</div><div><br></div><div>&nbsp; // Kişi sayısı girişi</div><div>&nbsp; personCountLabel := MyForm.AddNewProLabel(MyForm, 'personCountLabel', 'Enter number of people:');</div><div>&nbsp; ClRTSetProperty(personCountLabel, 'Top', 50);</div><div>&nbsp; ClRTSetProperty(personCountLabel, 'Left', 50);</div><div><br></div><div>&nbsp; personCountInput := MyForm.AddNewEdit(MyForm, 'personCountInput','');</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Top', 80);</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Left', 50);</div><div>&nbsp; ClRTSetProperty(personCountInput, 'Width', 100);</div><div><br></div><div>&nbsp; startButton := MyForm.AddNewProButton(MyForm, 'startButton', 'Start Game');</div><div>&nbsp; ClRTSetProperty(startButton, 'Top', 120);</div><div>&nbsp; ClRTSetProperty(startButton, 'Left', 50);</div><div>&nbsp; MyForm.AddNewEvent(startButton, tbeOnClick, 'OnClickStartButton');</div><div><br></div><div>&nbsp; MyForm.RunModal;</div><div>end;</div><div><br></div><div>procedure StartGame;</div><div>begin</div><div>&nbsp; personCount := StrToInt(personCountInput.Text);</div><div>&nbsp; if personCount &lt;= 0 then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; ShowMessage('Please enter a valid number of people.');</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; end</div><div><br></div><div>&nbsp; SetLength(persons, personCount);</div><div>&nbsp; for i := 0 to personCount - 1 do</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; persons<em> := 'Person' + IntToStr(i + 1);</div><div>&nbsp; end</div><div><br></div><div>&nbsp; // Şişe resmi</div><div>&nbsp; bottleImg := MyForm.AddNewProImage(MyForm, 'bottleImg');</div><div>&nbsp; MyForm.setImage(bottleImg, '<a href="https://upload.wikimedia.org/wikipedia/comm&#111;ns/thumb/e/e3/Bouteille.jpg/800px-Bouteille.jpg" target="_blank" rel="nofollow">https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Bouteille.jpg/800px-Bouteille.jpg</a>');</div><div>&nbsp; bottleImg.Align := alCenter;</div><div>&nbsp; bottleImg.Width := 200;</div><div>&nbsp; bottleImg.Height := 300;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Timer ayarları</div><div>&nbsp; spinnerTimer := MyForm.AddNewTimer(MyForm, 'spinnerTimer', 10); // Timer her 10ms'de bir çalışır</div><div>&nbsp; spinnerTimer.Enabled := False;</div><div>&nbsp; MyForm.AddNewEvent(spinnerTimer, tbeOnTimer, 'OnSpinTimer');</div><div><br></div><div>&nbsp; // Oyun başlat</div><div>&nbsp; isSpinning := False;</div><div>&nbsp; StartSpin;</div><div>end</div><div><br></div><div>procedure StartSpin;</div><div>begin</div><div>&nbsp; if not isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; isSpinning := True;</div><div>&nbsp; &nbsp; spinSpeed := 30; // Başlangıç dönme hızı</div><div>&nbsp; &nbsp; spinnerTimer.Enabled := True;</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure StopSpin;</div><div>begin</div><div>&nbsp; if isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; isSpinning := False;</div><div>&nbsp; &nbsp; spinnerTimer.Enabled := False;</div><div>&nbsp; &nbsp; // Şişenin hangi kişiyi işaret ettiğini bulur</div><div>&nbsp; &nbsp; angle := bottleImg.RotationAngle;</div><div>&nbsp; &nbsp; index := Round((angle mod 360) / (360 / Length(persons)));</div><div>&nbsp; &nbsp; selectedPerson := persons&#091;index&#093;;</div><div>&nbsp; &nbsp; ShowSelectedPerson(selectedPerson);</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure OnSpinTimer;</div><div>begin</div><div>&nbsp; if isSpinning then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; // Şişeyi döndür</div><div>&nbsp; &nbsp; bottleImg.RotationAngle := bottleImg.RotationAngle + spinSpeed;</div><div>&nbsp; &nbsp; spinSpeed := spinSpeed * 0.98; // Dönme hızını yavaşlatır</div><div>&nbsp; &nbsp; if spinSpeed &lt; 1 then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; StopSpin;</div><div>&nbsp; &nbsp; end</div><div>&nbsp; end</div><div>end</div><div><br></div><div>procedure ShowSelectedPerson(person: string);</div><div>begin</div><div>&nbsp; ShowMessage('Selected Person: ' + person);</div><div>&nbsp; // Burada seçilen kişiye göre bir görev veya soru sorulur</div><div>end</div><div><br></div><div>procedure OnClickStartButton;</div><div>begin</div><div>&nbsp; StartGame;</div><div>end</div><div><br></div><div>StartGame;&nbsp;</div><div>end</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 31 Jul 2024 10:29:46 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=775&amp;PID=1311#1311</guid>
  </item> 
 </channel>
</rss>