<?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 : soru hatası</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : soru hatası]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:59:05 +0000</pubDate>
  <lastBuildDate>Mon, 29 Dec 2025 10:42:36 +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=1251</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[soru hatası : Merhaba Kayra,Hatan&#305;n sebebi OnActionTimer...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1251&amp;PID=2785#2785</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1251<br /><strong>Gönderim Zamanı:</strong> 29&nbsp;Aralık&nbsp;2025 Saat 10:42<br /><br />Merhaba Kayra,&nbsp;<br>Hatanın sebebi OnActionTimer prosedürün içinde okul_sonuc kontrolüne gelmeden bekleyenislem değişkeni sıfırlanıyor&nbsp;BekleyenIslem = '';<br>bu yüzden kod aşağı indiğinde boş değişken olduğu için bloğa girmiyor<br><br><div>// Timer İşlemleri</div><div>void OnActionTimer;</div><div>{</div><div>&nbsp; ActionTimer.Enabled = False;</div><div>&nbsp; PnlAction.Visible = False;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (BekleyenIslem == 'HASTANE_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (clMath.GenerateRandom(0, 100) &gt; 40) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SahipIlac = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşif başarılı! İLAÇ bulduk.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; EnvanterGuncelle;</div><div>&nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşifçi eli boş döndü ve yaralandı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MoralDeger = MoralDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (BekleyenIslem == 'POLIS_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;SahipTufek = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Risk aldık ama değdi! BİR TÜFEK BULDUK!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;EnvanterGuncelle;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div><br></div><div><br></div><div><br></div><div>if (BekleyenIslem == 'OKUL_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (clMath.GenerateRandom(0, 100) &gt; 30) { // %70 Başarı şansı</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ErzakDeger = ErzakDeger + 20;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MoralDeger = MoralDeger + 5;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Okuldan erzak ve eski kitaplar bulduk! (+20 Erzak, +5 Moral)');</div><div>&nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Okulda bubi tuzağı vardı! Keşifçi yaralandı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OksijenDeger = OksijenDeger - 5;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MoralDeger = MoralDeger - 15;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BekleyenIslem = '';</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 29 Dec 2025 10:42:36 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1251&amp;PID=2785#2785</guid>
  </item> 
  <item>
   <title><![CDATA[soru hatası : var MainForm: TclForm; UstPanel,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1251&amp;PID=2784#2784</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=350">kayra.55</a><br /><strong>Konu:</strong> 1251<br /><strong>Gönderim Zamanı:</strong> 29&nbsp;Aralık&nbsp;2025 Saat 09:25<br /><br /><div>var</div><div>&nbsp; MainForm: TclForm;</div><div>&nbsp; UstPanel, TerminalPanel, AltPanel: TClProPanel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // GÖRSEL ENVANTER</div><div>&nbsp; PnlEnvanter: TClProPanel;</div><div>&nbsp; ImgInvTufek, ImgInvRadyo, ImgInvIlac: TClProImage;</div><div>&nbsp;&nbsp;</div><div><br></div><div>&nbsp; // AKSİYON GÖRSELİ</div><div>&nbsp; PnlAction: TClProPanel;</div><div>&nbsp; ImgAction: TClProImage;</div><div>&nbsp; LblAction: TClProLabel;</div><div>&nbsp; ActionTimer: TClTimer;</div><div>&nbsp; BekleyenIslem: String;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ALARM PANELİ</div><div>&nbsp; PnlAlarm: TClProPanel;</div><div>&nbsp; LblAlarm: TClProLabel;</div><div>&nbsp; AlarmTimer: TClTimer;</div><div>&nbsp; AlarmSayac: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // GECE MODU</div><div>&nbsp; PnlGece: TClProPanel;</div><div>&nbsp; LblGeceMesaj: TClProLabel;</div><div>&nbsp; GeceTimer: TClTimer;</div><div>&nbsp; GunlukKararSayisi: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // OYUN SONU</div><div>&nbsp; PnlOyunSonu: TClProPanel;</div><div>&nbsp; LblSonuBaslik, LblSonuDetay, LblSkor: TClProLabel;</div><div>&nbsp; BtnRestart: TClProButton;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // İstatistik Barları</div><div>&nbsp; OksijenBarDis, ErzakBarDis, MoralBarDis: TClProPanel;</div><div>&nbsp; OksijenBar, ErzakBar, MoralBar: TClProPanel;</div><div>&nbsp; OksijenLbl, ErzakLbl, MoralLbl: TClProLabel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Değerler</div><div>&nbsp; OksijenDeger, ErzakDeger, MoralDeger, NufusDeger: Integer;</div><div>&nbsp; GunSayisi: Integer;</div><div>&nbsp; GunLabel, NufusLabel: TClProLabel;</div><div>&nbsp;&nbsp;</div><div>&nbsp; HastalikRiskiVar: Boolean;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Olay Ekranı</div><div>&nbsp; OlayBaslikLbl, OlayDetayLbl: TClProLabel;</div><div>&nbsp; BtnKabul, BtnRed: TClProButton;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Veri Dizileri</div><div>&nbsp; OlayBasliklari, OlayAciklamalari: TclArrayString;</div><div>&nbsp; OksijenEtkisiEvet, ErzakEtkisiEvet, MoralEtkisiEvet, NufusEtkisiEvet: TclArrayInteger;</div><div>&nbsp; OksijenEtkisiHayir, ErzakEtkisiHayir, MoralEtkisiHayir, NufusEtkisiHayir: TclArrayInteger;</div><div>&nbsp;&nbsp;</div><div>&nbsp; MevcutSoruIndex: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // RESPONSIVE DEĞİŞKENLERİ</div><div>&nbsp; EkranYukseklik, EkranGenislik: Integer;</div><div>&nbsp; BarYukseklik: Integer;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Eşya Durumları</div><div>&nbsp; SahipTufek, SahipRadyo, SahipIlac: Boolean;</div><div>&nbsp; Baslik : String;</div><div>&nbsp; Img :TClProImage;</div><div><br></div><div>void AssetleriYukle;</div><div><br></div><div>{</div><div><br></div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/tufek.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/tufek.png</a>');&nbsp; // tüfek</div><div><br></div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/ilac.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/ilac.png</a>');&nbsp; // ilaç</div><div><br></div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/radyo.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/radyo.png</a>'); // radyo maske&nbsp;</div><div><br></div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/kesif.png" target="_blank" rel="nofollow">https://githubusercontent.com/kayra12oztruk-byte/oyun-/main/kesif.png</a> '); // kesif</div><div>&nbsp;&nbsp;</div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/&#102;ormum.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/formum.png</a>');//TerminalPanel</div><div><br></div><div>}&nbsp;</div><div><br></div><div>void AlarmCalistir(Mesaj: String);</div><div>{</div><div>&nbsp; PnlAlarm.Visible = True;</div><div>&nbsp; PnlAlarm.BringToFront;</div><div>&nbsp; LblAlarm.Text = Mesaj;</div><div>&nbsp; AlarmSayac = 0;</div><div>&nbsp; AlarmTimer.Enabled = True;</div><div>}</div><div><br></div><div>void ActionGoster(Mesaj: String);</div><div>{</div><div>&nbsp; PnlAction.Visible = True;</div><div>&nbsp; PnlAction.BringToFront;</div><div>&nbsp; LblAction.Text = Mesaj;</div><div>}</div><div><br></div><div>void EnvanterGuncelle;</div><div>{</div><div>&nbsp; if (SahipTufek) ImgInvTufek.Opacity = 1; else ImgInvTufek.Opacity = 0.3;</div><div>&nbsp; if (SahipRadyo) ImgInvRadyo.Opacity = 1; else ImgInvRadyo.Opacity = 0.3;</div><div>&nbsp; if (SahipIlac) ImgInvIlac.Opacity = 1; else ImgInvIlac.Opacity = 0.3;</div><div>}</div><div><br></div><div>void BarlariGuncelle;</div><div>{</div><div>&nbsp; // Sınır Kontrolleri</div><div>&nbsp; if (OksijenDeger &gt; 100) OksijenDeger = 100; if (OksijenDeger &lt; 0) OksijenDeger = 0;</div><div>&nbsp; if (ErzakDeger &gt; 100) ErzakDeger = 100; if (ErzakDeger &lt; 0) ErzakDeger = 0;</div><div>&nbsp; if (MoralDeger &gt; 100) MoralDeger = 100; if (MoralDeger &lt; 0) MoralDeger = 0;</div><div>&nbsp; if (NufusDeger &lt; 0) NufusDeger = 0;</div><div><br></div><div>&nbsp; // Bar Genişlikleri</div><div>&nbsp; OksijenBar.Width = (OksijenDeger * OksijenBarDis.Width) div 100;</div><div>&nbsp; ErzakBar.Width = (ErzakDeger * ErzakBarDis.Width) div 100;</div><div>&nbsp; MoralBar.Width = (MoralDeger * MoralBarDis.Width) div 100;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Etiketler</div><div>&nbsp; OksijenLbl.Text = 'Oksijen: %' + IntToStr(OksijenDeger);</div><div>&nbsp; ErzakLbl.Text = 'ERZAK: %' + IntToStr(ErzakDeger);</div><div>&nbsp; MoralLbl.Text = 'MORAL: %' + IntToStr(MoralDeger);</div><div>&nbsp; GunLabel.Text = 'GÜN: ' + IntToStr(GunSayisi);</div><div>&nbsp; NufusLabel.Text = 'NÜFUS: ' + IntToStr(NufusDeger);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Renk Değişimi (Kritik Seviye)</div><div>&nbsp; if (OksijenDeger &lt; 30) OksijenBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#D32F2F'); else OksijenBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0288D1'); OksijenBar.SetclProSettings(OksijenBar.clProSettings);</div><div>&nbsp; if (ErzakDeger &lt; 30) ErzakBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#D32F2F'); else ErzakBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F57C00'); ErzakBar.SetclProSettings(ErzakBar.clProSettings);</div><div>&nbsp; if (MoralDeger &lt; 30) MoralBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#D32F2F'); else MoralBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#388E3C'); MoralBar.SetclProSettings(MoralBar.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; EnvanterGuncelle;</div><div>}</div><div><br></div><div>void OyunBitti(Baslik, Detay: String; RenkKodu: String);</div><div>{</div><div>&nbsp; PnlOyunSonu.Visible = True; PnlOyunSonu.BringToFront;</div><div>&nbsp; PnlOyunSonu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor(RenkKodu);</div><div>&nbsp; PnlOyunSonu.SetclProSettings(PnlOyunSonu.clProSettings);</div><div>&nbsp; LblSonuBaslik.Text = Baslik;</div><div>&nbsp; LblSonuDetay.Text = Detay;</div><div>&nbsp; LblSkor.Text = 'HAYATTA KALINAN SÜRE: ' + IntToStr(GunSayisi) + ' GÜN';</div><div>}</div><div><br></div><div>void DurumKontrol;</div><div>{</div><div>&nbsp; if (OksijenDeger &lt;= 0) { OyunBitti('BOĞULARAK ÖLDÜNÜZ', 'Oksijen sistemi iflas etti.', '#263238'); Exit; }</div><div>&nbsp; if (ErzakDeger &lt;= 0) { OyunBitti('AÇLIKTAN ÖLDÜNÜZ', 'Stoklar tükendi.', '#3E2723'); Exit; }</div><div>&nbsp; if (MoralDeger &lt;= 0) { OyunBitti('İSYAN ÇIKTI', 'Yönetim ele geçirildi.', '#B71C1C'); Exit; }</div><div>&nbsp; if (NufusDeger &lt;= 0) { OyunBitti('HERKES ÖLDÜ', 'Sığınak sessizliğe gömüldü.', '#000000'); Exit; }</div><div><br></div><div>&nbsp; GunlukKararSayisi = GunlukKararSayisi + 1;</div><div>&nbsp; if (GunlukKararSayisi &gt;= 5)&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; PnlGece.Visible = True; PnlGece.BringToFront;</div><div>&nbsp; &nbsp; &nbsp; LblGeceMesaj.Text = 'GÜN ' + IntToStr(GunSayisi) + ' SONA ERİYOR..';</div><div>&nbsp; &nbsp; &nbsp; GeceTimer.Enabled = True;</div><div>&nbsp; }&nbsp;</div><div>&nbsp; else&nbsp;</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; // YENİ OLAY GETİR</div><div>&nbsp; &nbsp; &nbsp; if (HastalikRiskiVar == True)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (clMath.GenerateRandom(1, 100) &lt; 30)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MevcutSoruIndex = 999;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OlayBaslikLbl.Text = '&#9888;&#65039; SALGIN UYARISI &#9888;&#65039;';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OlayDetayLbl.Text = 'Virüs yayılıyor! İlaç kullanıp karantina uygulayalım mı?';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AlarmCalistir('BİYOLOJİK TEHLİKE!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BtnKabul.Text = 'İLAÇ KULLAN';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BtnRed.Text = 'KADERİNE BIRAK';</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HastalikRiskiVar = False;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Exit;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; MevcutSoruIndex = clMath.GenerateRandom(0, OlayBasliklari.Count);</div><div>&nbsp; &nbsp; &nbsp; Baslik = OlayBasliklari.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (Baslik == 'GİZEMLİ SİNYAL')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (GunSayisi &lt; 12)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while (Baslik == 'GİZEMLİ SİNYAL')</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MevcutSoruIndex = clMath.GenerateRandom(0, OlayBasliklari.Count);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Baslik = OlayBasliklari.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div>&nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; OlayBaslikLbl.Text = Baslik;</div><div>&nbsp; &nbsp; &nbsp; OlayDetayLbl.Text = OlayAciklamalari.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; // Buton Metinleri</div><div>&nbsp; &nbsp; &nbsp; if (Baslik == 'HAYDUT SALDIRISI') { BtnKabul.Text = 'SAVAŞ (TÜFEK)'; BtnRed.Text = 'SAKLAN'; AlarmCalistir('SALDIRI ALTINDAYIZ!'); }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'TERK EDİLMİŞ POLİS ARACI') { BtnKabul.Text = 'ARAŞTIR'; BtnRed.Text = 'GİTME'; }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'ESKİ OKUL') { BtnKabul.Text = 'KEŞİFÇİ YOLLA'; BtnRed.Text = 'GİTME'; }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'ESKİ HASTANE') { BtnKabul.Text = 'KEŞİFÇİ YOLLA'; BtnRed.Text = 'RİSKLİ'; }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'GEZGİN TÜCCAR') { BtnKabul.Text = 'TAKAS (30 ERZAK)'; BtnRed.Text = 'REDDET'; }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'GİZEMLİ SİNYAL') { BtnKabul.Text = 'CEVAPLA (RADYO)'; BtnRed.Text = 'GÖRMEZDEN GEL'; }</div><div>&nbsp; &nbsp; &nbsp; else if (Baslik == 'YARALI YABANCI') { BtnKabul.Text = 'İÇERİ AL'; BtnRed.Text = 'KOV'; }</div><div>&nbsp; &nbsp; &nbsp; else { BtnKabul.Text = 'KABUL ET'; BtnRed.Text = 'REDDET'; }</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>// Timer İşlemleri</div><div>void OnActionTimer;</div><div>{</div><div>&nbsp; ActionTimer.Enabled = False;</div><div>&nbsp; PnlAction.Visible = False;</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (BekleyenIslem == 'HASTANE_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (clMath.GenerateRandom(0, 100) &gt; 40) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SahipIlac = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşif başarılı! İLAÇ bulduk.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; EnvanterGuncelle;</div><div>&nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşifçi eli boş döndü ve yaralandı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MoralDeger = MoralDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (BekleyenIslem == 'POLIS_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;SahipTufek = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Risk aldık ama değdi! BİR TÜFEK BULDUK!');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;EnvanterGuncelle;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; BekleyenIslem = '';</div><div><br></div><div><br></div><div><br></div><div>&nbsp; if (BekleyenIslem == 'OKUL_SONUC')</div><div>&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; if (clMath.GenerateRandom(0, 100) &gt; 40) {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; SahipIlac = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşifçi başarılı oldu ilaç bulmayı başardık.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; EnvanterGuncelle;</div><div>&nbsp; &nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Keşifçi eli boş döndü ve yaralandı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MoralDeger = MoralDeger - 10;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; BarlariGuncelle;</div><div>&nbsp; &nbsp; &nbsp; DurumKontrol;</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; BekleyenIslem = '';</div><div>}</div><div><br></div><div>void OnAlarmTimer;</div><div>{</div><div>&nbsp; AlarmSayac = AlarmSayac + 1;</div><div>&nbsp; if (PnlAlarm.Visible) PnlAlarm.Visible = False; else PnlAlarm.Visible = True;</div><div>&nbsp; if (AlarmSayac &gt; 6) { AlarmTimer.Enabled = False; PnlAlarm.Visible = False; }</div><div>}</div><div><br></div><div>void OyunuSifirla;</div><div>{</div><div>&nbsp; OksijenDeger = 80; ErzakDeger = 100; MoralDeger = 80; NufusDeger = 5;</div><div>&nbsp; GunSayisi = 1; GunlukKararSayisi = 0;</div><div>&nbsp; HastalikRiskiVar = False;</div><div>&nbsp; PnlOyunSonu.Visible = False; PnlGece.Visible = False; PnlAlarm.Visible = False; PnlAction.Visible = False;</div><div>&nbsp; SahipTufek = False; SahipRadyo = False; SahipIlac = False;</div><div>&nbsp; EnvanterGuncelle;</div><div>&nbsp; DurumKontrol;</div><div>}</div><div><br></div><div>void OnGeceTimer;</div><div>{</div><div>&nbsp; GeceTimer.Enabled = False;</div><div>&nbsp; ErzakDeger = ErzakDeger - (NufusDeger * 1);</div><div>&nbsp; OksijenDeger = OksijenDeger - (NufusDeger * 1);</div><div>&nbsp; GunSayisi = GunSayisi + 1;</div><div>&nbsp; GunlukKararSayisi = 0;</div><div>&nbsp; PnlGece.Visible = False;</div><div>&nbsp; BarlariGuncelle;</div><div>&nbsp; DurumKontrol;&nbsp;</div><div>}</div><div><br></div><div>void KararVer(EvetSecildi: Boolean);</div><div>var</div><div>&nbsp; Olay: String;</div><div>{</div><div>&nbsp; if (MevcutSoruIndex == 999) { // Salgın</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; if (SahipIlac) { ShowMessage('İlaç stoğumuz sayesinde salgını atlatmayı Başardık !'); SahipIlac = False; EnvanterGuncelle; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; else { ShowMessage('İlacımız yoktu! Erzaklar ziyan oldu.'); ErzakDeger = ErzakDeger - 40; }</div><div>&nbsp; &nbsp; } else {</div><div>&nbsp; &nbsp; &nbsp; NufusDeger = NufusDeger - 2; MoralDeger = MoralDeger - 30; ShowMessage('Müdahale edilmediği için 2 kişi öldü.');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; BarlariGuncelle; DurumKontrol; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; Olay = OlayBasliklari.GetItem(MevcutSoruIndex);</div><div><br></div><div>&nbsp; if (Olay == 'YARALI YABANCI') { if (EvetSecildi) HastalikRiskiVar = True; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; if (Olay == 'TERK EDİLMİŞ POLİS ARACI') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ActionGoster('BÖLGE ARAŞTIRILIYOR...');&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;BekleyenIslem = 'POLIS_SONUC';</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ActionTimer.Enabled = True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;Exit;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (Olay == 'ESKİ HASTANE') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; ActionGoster('KEŞİFÇİ GİDİYOR...');&nbsp;</div><div>&nbsp; &nbsp; &nbsp; BekleyenIslem = 'HASTANE_SONUC';</div><div>&nbsp; &nbsp; &nbsp; ActionTimer.Enabled = True;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Exit;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div><br></div><div>&nbsp; if (Olay == 'ESKİ OKUL') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; ActionGoster('KEŞİFÇİ GİDİYOR...');&nbsp;</div><div>&nbsp; &nbsp; &nbsp; BekleyenIslem = 'OKUL_SONUC';</div><div>&nbsp; &nbsp; &nbsp; ActionTimer.Enabled = True;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Exit;&nbsp;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div><br></div><div>&nbsp; if (Olay == 'HAYDUT SALDIRISI') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp;if (SahipTufek) { ShowMessage('Tüfek ateşiyle haydutları kaçırdık! Ganimet bıraktılar.'); ErzakDeger = ErzakDeger + 25; MoralDeger = MoralDeger + 10; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;else { ShowMessage('Silahımız yoktu! Bizi saldırıp erzakları çaldılar.'); ErzakDeger = ErzakDeger - 50; NufusDeger = NufusDeger - 1; MoralDeger = MoralDeger - 25; }</div><div>&nbsp; &nbsp; } else {&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;ShowMessage('Saklandık. Deponun bir kısmını patlattılar.'); ErzakDeger = ErzakDeger - 20; OksijenDeger = OksijenDeger - 10;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; BarlariGuncelle; DurumKontrol; Exit;</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (Olay == 'GEZGİN TÜCCAR') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; if (ErzakDeger &gt;= 30) { SahipRadyo = True; ShowMessage('Tüccar ile anlaştık! Artık bir RADYOMUZ var.'); EnvanterGuncelle; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; else { ShowMessage('Yeterli erzak yok!'); BarlariGuncelle; DurumKontrol; Exit; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (Olay == 'GİZEMLİ SİNYAL') {</div><div>&nbsp; &nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; &nbsp; if (SahipRadyo) { OyunBitti('KURTULUŞ!', 'Ordu geldi!', '#2E7D32'); Exit; }&nbsp;</div><div>&nbsp; &nbsp; &nbsp; else { ShowMessage('Radyo olmadan duyamayız.'); MoralDeger = MoralDeger - 10; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div><br></div><div>&nbsp; if (EvetSecildi) {</div><div>&nbsp; &nbsp; OksijenDeger = OksijenDeger + OksijenEtkisiEvet.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; ErzakDeger = ErzakDeger + ErzakEtkisiEvet.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; MoralDeger = MoralDeger + MoralEtkisiEvet.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; NufusDeger = NufusDeger + NufusEtkisiEvet.GetItem(MevcutSoruIndex);</div><div>&nbsp; } else {</div><div>&nbsp; &nbsp; OksijenDeger = OksijenDeger + OksijenEtkisiHayir.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; ErzakDeger = ErzakDeger + ErzakEtkisiHayir.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; MoralDeger = MoralDeger + MoralEtkisiHayir.GetItem(MevcutSoruIndex);</div><div>&nbsp; &nbsp; NufusDeger = NufusDeger + NufusEtkisiHayir.GetItem(MevcutSoruIndex);</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; BarlariGuncelle;</div><div>&nbsp; DurumKontrol;</div><div>}</div><div><br></div><div>void BtnKabulClick; { KararVer(True); }</div><div>void BtnRedClick; { KararVer(False); }</div><div><br></div><div>void VerileriYukle;</div><div>{</div><div>&nbsp; OlayBasliklari = TclArrayString.Create; OlayAciklamalari = TclArrayString.Create;</div><div>&nbsp; OksijenEtkisiEvet = TclArrayInteger.Create; ErzakEtkisiEvet = TclArrayInteger.Create; MoralEtkisiEvet = TclArrayInteger.Create; NufusEtkisiEvet = TclArrayInteger.Create;</div><div>&nbsp; OksijenEtkisiHayir = TclArrayInteger.Create; ErzakEtkisiHayir = TclArrayInteger.Create; MoralEtkisiHayir = TclArrayInteger.Create; NufusEtkisiHayir = TclArrayInteger.Create;</div><div><br></div><div>&nbsp; OlayBasliklari.Add('YARALI YABANCI'); OlayAciklamalari.Add('Kapıda biri var. Öksürüyor ama yardıma ihtiyacı var yardım etsek mi?.');</div><div>&nbsp; OksijenEtkisiEvet.Add(-2); ErzakEtkisiEvet.Add(-10); MoralEtkisiEvet.Add(5); NufusEtkisiEvet.Add(1);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(-5); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('HAVALANDIRMA'); OlayAciklamalari.Add('Fanlar bozuldu. Tamir etmek yorucu.');</div><div>&nbsp; OksijenEtkisiEvet.Add(15); ErzakEtkisiEvet.Add(-15); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(-25); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(-10); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('SAKLI ERZAK'); OlayAciklamalari.Add('Eski bir kutuda konserve bulduk.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(20); MoralEtkisiEvet.Add(5); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(-5); MoralEtkisiHayir.Add(-5); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('HAYDUT SALDIRISI'); OlayAciklamalari.Add('Silahlı grup kapıda Tehlikedeyiz!');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(0); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(0); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('TERK EDİLMİŞ POLİS ARACI'); OlayAciklamalari.Add('Dışarıda polis aracı var. Silah olabilir.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(0); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);&nbsp;</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(0); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('GEZGİN TÜCCAR'); OlayAciklamalari.Add('Tüccar geldi. 30 Erzak = Radyo.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(-30); MoralEtkisiEvet.Add(10); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(0); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('ESKİ HASTANE'); OlayAciklamalari.Add('Yıkık hastanede ilaç olabilir.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(0); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(0); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('GİZEMLİ SİNYAL'); OlayAciklamalari.Add('Radyodan ses geliyor.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(0); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(-5); NufusEtkisiHayir.Add(0);</div><div><br></div><div>&nbsp; OlayBasliklari.Add('ESKİ OKUL'); OlayAciklamalari.Add('Dışarıda eski bir okul var işimize yarayacak ekipmanlar bulabiliriz.');</div><div>&nbsp; OksijenEtkisiEvet.Add(0); ErzakEtkisiEvet.Add(0); MoralEtkisiEvet.Add(0); NufusEtkisiEvet.Add(0);&nbsp;</div><div>&nbsp; OksijenEtkisiHayir.Add(0); ErzakEtkisiHayir.Add(0); MoralEtkisiHayir.Add(0); NufusEtkisiHayir.Add(0);</div><div>}</div><div><br></div><div><br></div><div>{</div><div>&nbsp; MainForm = TclForm.Create(Self);</div><div>&nbsp; MainForm.clSetCaption('Sığınak Yöneticisi: Dark Edition');</div><div>&nbsp; // 1. ANA TASARIM: Koyu Füme/Siyah Arka Plan</div><div>&nbsp; MainForm.AddAssetFromUrl('<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/&#102;ormum.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/formum.png</a>');</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; EkranYukseklik = MainForm.clHeight; EkranGenislik = MainForm.clWidth; BarYukseklik = (EkranYukseklik * 3) div 100;</div><div>&nbsp; AssetleriYukle; VerileriYukle;</div><div><br></div><div>&nbsp; // ÜST PANEL (Daha koyu, bordersız)</div><div>&nbsp; UstPanel = MainForm.AddNewProPanel(MainForm, 'UstPanel'); UstPanel.Align = alTop; UstPanel.Height = (EkranYukseklik * 30) div 100;&nbsp;</div><div>&nbsp; UstPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#ADD8E6'); UstPanel.SetclProSettings(UstPanel.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Gün ve Nüfus (Vurgulu Renkler)</div><div>&nbsp; GunLabel = MainForm.AddNewProLabel(UstPanel, 'GunLabel', 'GÜN: 1'); GunLabel.Align = alTop; GunLabel.Height = (UstPanel.Height * 15) div 100; GunLabel.Margins.Top = 5;&nbsp;</div><div>&nbsp; GunLabel.clProSettings.FontSize = 24; GunLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFC107'); // Amber</div><div>&nbsp; GunLabel.clProSettings.FontHorzAlign = palCenter; GunLabel.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; GunLabel.SetclProSettings(GunLabel.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; NufusLabel = MainForm.AddNewProLabel(UstPanel, 'NufusLabel', 'NÜFUS: 5'); NufusLabel.Align = alTop; NufusLabel.Height = (UstPanel.Height * 12) div 100;&nbsp;</div><div>&nbsp; NufusLabel.clProSettings.FontSize = 16; NufusLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#E0E0E0');&nbsp;</div><div>&nbsp; NufusLabel.clProSettings.FontHorzAlign = palCenter; NufusLabel.SetclProSettings(NufusLabel.clProSettings);</div><div><br></div><div>&nbsp; // BARLAR (Dish rengi koyultuldu)</div><div>&nbsp; OksijenBarDis = MainForm.AddNewProPanel(UstPanel, 'OksijenBarDis'); OksijenBarDis.Align = alTop; OksijenBarDis.Height = BarYukseklik; OksijenBarDis.Margins.Top = 5; OksijenBarDis.Margins.Left = 10; OksijenBarDis.Margins.Right = 10;&nbsp;</div><div>&nbsp; OksijenBarDis.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2C2C2C'); OksijenBarDis.clProSettings.IsRound = True; OksijenBarDis.SetclProSettings(OksijenBarDis.clProSettings);</div><div>&nbsp; OksijenBar = MainForm.AddNewProPanel(OksijenBarDis, 'OksijenBar'); OksijenBar.Align = alLeft; OksijenBar.Width = 100; OksijenBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#0288D1'); OksijenBar.clProSettings.IsRound = True; OksijenBar.SetclProSettings(OksijenBar.clProSettings);</div><div>&nbsp; OksijenLbl = MainForm.AddNewProLabel(UstPanel, 'OksijenLbl', 'Oksijen'); OksijenLbl.Align = alTop; OksijenLbl.Height = 15; OksijenLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#B0BEC5'); OksijenLbl.clProSettings.FontSize = 11; OksijenLbl.SetclProSettings(OksijenLbl.clProSettings);</div><div><br></div><div>&nbsp; ErzakBarDis = MainForm.AddNewProPanel(UstPanel, 'ErzakBarDis'); ErzakBarDis.Align = alTop; ErzakBarDis.Height = BarYukseklik; ErzakBarDis.Margins.Top = 2; ErzakBarDis.Margins.Left = 10; ErzakBarDis.Margins.Right = 10;&nbsp;</div><div>&nbsp; ErzakBarDis.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2C2C2C'); ErzakBarDis.clProSettings.IsRound = True; ErzakBarDis.SetclProSettings(ErzakBarDis.clProSettings);</div><div>&nbsp; ErzakBar = MainForm.AddNewProPanel(ErzakBarDis, 'ErzakBar'); ErzakBar.Align = alLeft; ErzakBar.Width = 100; ErzakBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#F57C00'); ErzakBar.clProSettings.IsRound = True; ErzakBar.SetclProSettings(ErzakBar.clProSettings);</div><div>&nbsp; ErzakLbl = MainForm.AddNewProLabel(UstPanel, 'ErzakLbl', 'Erzak'); ErzakLbl.Align = alTop; ErzakLbl.Height = 15; ErzakLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#B0BEC5'); ErzakLbl.clProSettings.FontSize = 11; ErzakLbl.SetclProSettings(ErzakLbl.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; MoralBarDis = MainForm.AddNewProPanel(UstPanel, 'MoralBarDis'); MoralBarDis.Align = alTop; MoralBarDis.Height = BarYukseklik; MoralBarDis.Margins.Top = 2; MoralBarDis.Margins.Left = 10; MoralBarDis.Margins.Right = 10;&nbsp;</div><div>&nbsp; MoralBarDis.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2C2C2C'); MoralBarDis.clProSettings.IsRound = True; MoralBarDis.SetclProSettings(MoralBarDis.clProSettings);</div><div>&nbsp; MoralBar = MainForm.AddNewProPanel(MoralBarDis, 'MoralBar'); MoralBar.Align = alLeft; MoralBar.Width = 100; MoralBar.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#388E3C'); MoralBar.clProSettings.IsRound = True; MoralBar.SetclProSettings(MoralBar.clProSettings);</div><div>&nbsp; MoralLbl = MainForm.AddNewProLabel(UstPanel, 'MoralLbl', 'Moral'); MoralLbl.Align = alTop; MoralLbl.Height = 15; MoralLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#B0BEC5'); MoralLbl.clProSettings.FontSize = 11; MoralLbl.SetclProSettings(MoralLbl.clProSettings);</div><div><br></div><div>&nbsp; // ALT PANEL (Butonlar)</div><div>&nbsp; AltPanel = MainForm.AddNewProPanel(MainForm, 'AltPanel'); AltPanel.Align = alBottom; AltPanel.Height = (EkranYukseklik * 15) div 100;&nbsp;</div><div>&nbsp; AltPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#121212'); AltPanel.SetclProSettings(AltPanel.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnRed = MainForm.AddNewProButton(AltPanel, 'BtnRed', 'REDDET'); BtnRed.Align = alLeft; BtnRed.Width = (EkranGenislik * 45) div 100; BtnRed.Margins.Top = 10; BtnRed.Margins.Bottom = 10; BtnRed.Margins.Left = 10;&nbsp;</div><div>&nbsp; BtnRed.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#C62828'); // Koyu Kırmızı</div><div>&nbsp; BtnRed.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); BtnRed.clProSettings.IsRound = True; BtnRed.clProSettings.RoundWidth = 5; // Daha keskin köşe</div><div>&nbsp; BtnRed.SetclProSettings(BtnRed.clProSettings); MainForm.AddNewEvent(BtnRed, tbeOnClick, 'BtnRedClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp; BtnKabul = MainForm.AddNewProButton(AltPanel, 'BtnKabul', 'KABUL ET'); BtnKabul.Align = alRight; BtnKabul.Width = (EkranGenislik * 45) div 100; BtnKabul.Margins.Top = 10; BtnKabul.Margins.Bottom = 10; BtnKabul.Margins.Right = 10;&nbsp;</div><div>&nbsp; BtnKabul.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#2E7D32'); // Koyu Yeşil</div><div>&nbsp; BtnKabul.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); BtnKabul.clProSettings.IsRound = True; BtnKabul.clProSettings.RoundWidth = 5;</div><div>&nbsp; BtnKabul.SetclProSettings(BtnKabul.clProSettings); MainForm.AddNewEvent(BtnKabul, tbeOnClick, 'BtnKabulClick');</div><div><br></div><div>&nbsp; // ENVANTER (HUD Tasarımı)</div><div>&nbsp; PnlEnvanter = MainForm.AddNewProPanel(MainForm, 'PnlEnvanter'); PnlEnvanter.Align = alBottom; PnlEnvanter.Height = (EkranYukseklik * 8) div 100;&nbsp;</div><div>&nbsp; PnlEnvanter.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#263238'); // Slate</div><div>&nbsp; PnlEnvanter.clProSettings.BorderColor = clAlphaColor.clHexToColor('#37474F'); PnlEnvanter.clProSettings.BorderWidth = 1; PnlEnvanter.SetclProSettings(PnlEnvanter.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; ImgInvTufek = MainForm.AddNewProImage(PnlEnvanter, 'ImgInvTufek'); ImgInvTufek.Align = alLeft; ImgInvTufek.Width = (PnlEnvanter.Width * 33) div 100; ImgInvTufek.Margins.top = 5;&nbsp;</div><div>&nbsp; ImgInvTufek.Margins.bottom = 5;</div><div>&nbsp; ImgInvTufek.Margins.left = 5;</div><div>&nbsp; ImgInvTufek.Margins.Right = 5;</div><div>&nbsp; ImgInvTufek.clProSettings.PictureSource = 'tufek.png'; ImgInvTufek.clProSettings.PictureAutoFit = True; ImgInvTufek.SetclProSettings(ImgInvTufek.clProSettings);</div><div>&nbsp; ImgInvRadyo = MainForm.AddNewProImage(PnlEnvanter, 'ImgInvRadyo'); ImgInvRadyo.Align = alLeft; ImgInvRadyo.Width = (PnlEnvanter.Width * 33) div 100; ImgInvRadyo.Margins.top = 5;&nbsp;</div><div>&nbsp; ImgInvRadyo.Margins.bottom = 5;</div><div>&nbsp; ImgInvRadyo.Margins.left = 5;</div><div>&nbsp; ImgInvRadyo.Margins.Right = 5;</div><div>&nbsp; ImgInvRadyo.clProSettings.PictureSource = 'radyo.png'; ImgInvRadyo.clProSettings.PictureAutoFit = True; ImgInvRadyo.SetclProSettings(ImgInvRadyo.clProSettings);</div><div>&nbsp; ImgInvIlac = MainForm.AddNewProImage(PnlEnvanter, 'ImgInvIlac'); ImgInvIlac.Align = alLeft; ImgInvIlac.Width = (PnlEnvanter.Width * 33) div 100; ImgInvIlac.Margins.top = 5;</div><div>&nbsp; ImgInvIlac.Margins.left = 5;</div><div>&nbsp; ImgInvIlac.Margins.Right = 5;</div><div>&nbsp; ImgInvIlac.Margins.bottom = 5;</div><div>&nbsp; ImgInvIlac.clProSettings.PictureSource = 'ilac.png'; ImgInvIlac.clProSettings.PictureAutoFit = True; ImgInvIlac.SetclProSettings(ImgInvIlac.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // TERMINAL PANELİ (Cyber-Monitor Havası)</div><div>&nbsp; TerminalPanel = MainForm.AddNewProPanel(MainForm, 'TerminalPanel'); TerminalPanel.Align = alClient; TerminalPanel.Margins.Top = 10; TerminalPanel.Margins.Bottom = 10; TerminalPanel.Margins.Left = 10; TerminalPanel.Margins.Right = 10;&nbsp;</div><div>&nbsp; TerminalPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#000000'); // Tam Siyah</div><div>&nbsp; TerminalPanel.clProSettings.BorderColor = clAlphaColor.clHexToColor('#4CAF50'); // Neon Yeşil Çerçeve</div><div>&nbsp; TerminalPanel.clProSettings.BorderWidth = 2; TerminalPanel.clProSettings.IsRound = True; TerminalPanel.clProSettings.RoundWidth = 5;</div><div>&nbsp; TerminalPanel.SetclProSettings(TerminalPanel.clProSettings);</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;Img = MainForm.AddNewImage(TerminalPanel,'Img');</div><div>&nbsp; &nbsp;Img.Align=alContents;</div><div>&nbsp; &nbsp;MainForm.SetImage(Img,'<a href="https://raw.githubuserc&#111;ntent.com/kayra12oztruk-byte/oyun-/main/&#102;ormum.png" target="_blank" rel="nofollow">https://raw.githubusercontent.com/kayra12oztruk-byte/oyun-/main/formum.png</a>');</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; OlayBaslikLbl = MainForm.AddNewProLabel(TerminalPanel, 'OlayBaslikLbl', 'SİSTEM BAŞLATILIYOR...'); OlayBaslikLbl.Align = alTop; OlayBaslikLbl.Height = (EkranYukseklik * 10) div 100;&nbsp;</div><div>&nbsp; OlayBaslikLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#4CAF50'); // Yeşil Başlık</div><div>&nbsp; OlayBaslikLbl.clProSettings.FontSize = 22; OlayBaslikLbl.clProSettings.FontHorzAlign = palCenter; OlayBaslikLbl.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; OlayBaslikLbl.SetclProSettings(OlayBaslikLbl.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; OlayDetayLbl = MainForm.AddNewProLabel(TerminalPanel, 'OlayDetayLbl', 'Veriler yükleniyor...'); OlayDetayLbl.Align = alClient; OlayDetayLbl.Margins.top = 15;</div><div>&nbsp; OlayDetayLbl.Margins.left = 15;</div><div>&nbsp; OlayDetayLbl.Margins.Right = 15;</div><div>&nbsp; OlayDetayLbl.Margins.bottom = 15;</div><div>&nbsp; OlayDetayLbl.clProSettings.FontColor = clAlphaColor.clHexToColor('#A5D6A7'); // Açık Yeşil Yazı</div><div>&nbsp; OlayDetayLbl.clProSettings.FontSize = 18; OlayDetayLbl.clProSettings.FontHorzAlign = palCenter; OlayDetayLbl.clProSettings.FontVertAlign = palCenter; OlayDetayLbl.clProSettings.WordWrap = True; OlayDetayLbl.SetclProSettings(OlayDetayLbl.clProSettings);</div><div><br></div><div>&nbsp; // GİZLİ PANELLER</div><div>&nbsp; PnlAlarm = MainForm.AddNewProPanel(MainForm, 'PnlAlarm'); PnlAlarm.Align = alCenter; PnlAlarm.Width = (EkranGenislik * 80) div 100; PnlAlarm.Height = (EkranYukseklik * 20) div 100; PnlAlarm.Visible = False; PnlAlarm.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#D32F2F'); PnlAlarm.clProSettings.IsRound = True; PnlAlarm.SetclProSettings(PnlAlarm.clProSettings);</div><div>&nbsp; LblAlarm = MainForm.AddNewProLabel(PnlAlarm, 'LblAlarm', 'ALARM!'); LblAlarm.Align = alCenter; LblAlarm.Height = 50; LblAlarm.Width = (PnlAlarm.Width * 90) div 100; LblAlarm.clProSettings.FontSize = 24; LblAlarm.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); LblAlarm.clProSettings.FontHorzAlign = palCenter; LblAlarm.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblAlarm.SetclProSettings(LblAlarm.clProSettings);</div><div>&nbsp;&nbsp;</div><div>&nbsp; PnlAction = MainForm.AddNewProPanel(MainForm, 'PnlAction'); PnlAction.Align = alCenter; PnlAction.Width = (EkranGenislik * 70) div 100; PnlAction.Height = (EkranYukseklik * 40) div 100; PnlAction.Visible = False;&nbsp;</div><div>&nbsp; PnlAction.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#263238'); // Koyu Arkaplan</div><div>&nbsp; PnlAction.clProSettings.IsRound = True; PnlAction.clProSettings.BorderColor = clAlphaColor.clHexToColor('#FFFFFF'); PnlAction.clProSettings.BorderWidth = 2; PnlAction.SetclProSettings(PnlAction.clProSettings);</div><div>&nbsp; ImgAction = MainForm.AddNewProImage(PnlAction, 'ImgAction'); ImgAction.Align = alClient; ImgAction.Height = (PnlAction.Height * 70) div 100; ImgAction.clProSettings.PictureSource = 'kesif.png'; ImgAction.clProSettings.PictureAutoFit = True; ImgAction.SetclProSettings(ImgAction.clProSettings);</div><div>&nbsp; LblAction = MainForm.AddNewProLabel(PnlAction, 'LblAction', '...'); LblAction.Align = alClient; LblAction.clProSettings.FontSize = 18; LblAction.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF'); LblAction.clProSettings.FontHorzAlign = palCenter; LblAction.clProSettings.FontVertAlign = palCenter; LblAction.SetclProSettings(LblAction.clProSettings);</div><div><br></div><div>&nbsp; PnlGece = MainForm.AddNewProPanel(MainForm, 'PnlGece'); PnlGece.Align = alContents; PnlGece.Visible = False; PnlGece.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#000000'); PnlGece.SetclProSettings(PnlGece.clProSettings);</div><div>&nbsp; LblGeceMesaj = MainForm.AddNewProLabel(PnlGece, 'LblGeceMesaj', 'GÜN BİTTİ...'); LblGeceMesaj.Align = alCenter; LblGeceMesaj.Width = (EkranGenislik * 80) div 100; LblGeceMesaj.Height = 100; LblGeceMesaj.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); LblGeceMesaj.clProSettings.FontSize = 24; LblGeceMesaj.clProSettings.FontHorzAlign = palCenter; LblGeceMesaj.SetclProSettings(LblGeceMesaj.clProSettings);</div><div><br></div><div>&nbsp; PnlOyunSonu = MainForm.AddNewProPanel(MainForm, 'PnlOyunSonu'); PnlOyunSonu.Align = alContents; PnlOyunSonu.Visible = False; PnlOyunSonu.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#c0392b'); PnlOyunSonu.SetclProSettings(PnlOyunSonu.clProSettings);</div><div>&nbsp; LblSonuBaslik = MainForm.AddNewProLabel(PnlOyunSonu, 'LblSonuBaslik', 'OYUN BİTTİ'); LblSonuBaslik.Align = alTop; LblSonuBaslik.Height = (EkranYukseklik * 15) div 100; LblSonuBaslik.Margins.Top = 40; LblSonuBaslik.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); LblSonuBaslik.clProSettings.FontSize = 30; LblSonuBaslik.clProSettings.FontHorzAlign = palCenter; LblSonuBaslik.clProSettings.TextSettings.Font.Style = &#091;fsBold&#093;; LblSonuBaslik.SetclProSettings(LblSonuBaslik.clProSettings);</div><div>&nbsp; LblSkor = MainForm.AddNewProLabel(PnlOyunSonu, 'LblSkor', 'SKOR: 0'); LblSkor.Align = alTop; LblSkor.Height = 50; LblSkor.clProSettings.FontColor = clAlphaColor.clHexToColor('#f1c40f'); LblSkor.clProSettings.FontSize = 20; LblSkor.clProSettings.FontHorzAlign = palCenter; LblSkor.SetclProSettings(LblSkor.clProSettings);</div><div>&nbsp; LblSonuDetay = MainForm.AddNewProLabel(PnlOyunSonu, 'LblSonuDetay', '...'); LblSonuDetay.Align = alClient; LblSonuDetay.Margins.top = 20; LblSonuDetay.Margins.bottom = 20; LblSonuDetay.Margins.Left = 20; LblSonuDetay.Margins.Right = 20; LblSonuDetay.clProSettings.FontColor = clAlphaColor.clHexToColor('#ecf0f1'); LblSonuDetay.clProSettings.FontSize = 18; LblSonuDetay.clProSettings.FontHorzAlign = palCenter; LblSonuDetay.clProSettings.WordWrap = True; LblSonuDetay.SetclProSettings(LblSonuDetay.clProSettings);</div><div>&nbsp; BtnRestart = MainForm.AddNewProButton(PnlOyunSonu, 'BtnRestart', 'YENİDEN BAŞLAT'); BtnRestart.Align = alBottom; BtnRestart.Height = (EkranYukseklik * 10) div 100; BtnRestart.Margins.Left = 50; BtnRestart.Margins.Right = 50; BtnRestart.Margins.Bottom = 50; BtnRestart.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#263238'); BtnRestart.clProSettings.FontColor = clAlphaColor.clHexToColor('#ffffff'); BtnRestart.clProSettings.IsRound = True; BtnRestart.clProSettings.FontSize = 20; BtnRestart.SetclProSettings(BtnRestart.clProSettings); MainForm.AddNewEvent(BtnRestart, tbeOnClick, 'OyunuSifirla');</div><div>&nbsp;&nbsp;</div><div>&nbsp; // Timerlar</div><div>&nbsp; AlarmTimer = MainForm.AddNewTimer(MainForm, 'AlarmTimer', 500); AlarmTimer.Enabled = False; MainForm.AddNewEvent(AlarmTimer, tbeOnTimer, 'OnAlarmTimer');</div><div>&nbsp; GeceTimer = MainForm.AddNewTimer(MainForm, 'GeceTimer', 2000); GeceTimer.Enabled = False; MainForm.AddNewEvent(GeceTimer, tbeOnTimer, 'OnGeceTimer');</div><div>&nbsp; ActionTimer = MainForm.AddNewTimer(MainForm, 'ActionTimer', 2000); ActionTimer.Enabled = False; MainForm.AddNewEvent(ActionTimer, tbeOnTimer, 'OnActionTimer');</div><div><br></div><div>&nbsp; OyunuSifirla;&nbsp;</div><div><br></div><div>&nbsp; MainForm.Run;</div><div>}</div><div><br></div><div><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Mon, 29 Dec 2025 09:25:43 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1251&amp;PID=2784#2784</guid>
  </item> 
 </channel>
</rss>