<?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 : Aynı konumda olan pngleri hareket ettirmek sorun</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Aynı konumda olan pngleri hareket ettirmek sorun]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 11:23:54 +0000</pubDate>
  <lastBuildDate>Wed, 21 Aug 2024 16:27:47 +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=898</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[Aynı konumda olan pngleri hareket ettirmek sorun : Hay&#305;r, sorunum &#231;&#246;z&#252;ld&#252;. Te&#351;ekk&#252;rler....]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1728#1728</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=200">steelwing</a><br /><strong>Konu:</strong> 898<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Ağustos&nbsp;2024 Saat 16:27<br /><br />Hayır, sorunum çözüldü. Teşekkürler.]]>
   </description>
   <pubDate>Wed, 21 Aug 2024 16:27:47 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1728#1728</guid>
  </item> 
  <item>
   <title><![CDATA[Aynı konumda olan pngleri hareket ettirmek sorun : Merhaba Steelwing ,Hatan hala...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1717#1717</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 898<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Ağustos&nbsp;2024 Saat 14:12<br /><br />Merhaba Steelwing <font face="Arial, Helvetica, sans-serif"><span style="font-size: 15px; : rgb251, 251, 253;"><b>,</b></span></font><div><font face="Arial, Helvetica, sans-serif"><span style="font-size: 15px; : rgb251, 251, 253;"><b>Hatan hala devam ediyor mu?</b></span></font></div>]]>
   </description>
   <pubDate>Wed, 21 Aug 2024 14:12:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1717#1717</guid>
  </item> 
  <item>
   <title><![CDATA[Aynı konumda olan pngleri hareket ettirmek sorun : Ayn&#305; konumda olan pngleri s&#252;rekli...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1706#1706</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=200">steelwing</a><br /><strong>Konu:</strong> 898<br /><strong>Gönderim Zamanı:</strong> 21&nbsp;Ağustos&nbsp;2024 Saat 09:36<br /><br />Aynı konumda olan pngleri sürekli hareket ettirmek istediğimde sorun yaşıyorum. Pnglerden sadece biri hareket ediyor diğeri ise görünmüyor.&nbsp;<div><br></div><div><div>var</div><div>&nbsp; MyForm: TclGameForm;</div><div>&nbsp; myGameEngine: TclGameEngine;</div><div>&nbsp; GameTimer: TClTimer;</div><div>&nbsp; BtnStartGame: TclButton;</div><div>&nbsp; geribtn: TclProButton;</div><div>&nbsp; ImgBack: TclProImage;</div><div>&nbsp; ImgField, ImgField1, ImgRoad, ImgRoad1, ImgLambo, ImgFerrari: TclProImage;</div><div>&nbsp; tPosX, tPosY, tPosY1, tPosY2: Single;</div><div>&nbsp; LamboSpeed: Integer;</div><div>&nbsp; DeviceMotionSensor: TClMotionSensor;</div><div><br></div><div>function isLamboCrashed: Boolean;</div><div>begin</div><div>&nbsp; Result := False;</div><div><br></div><div>&nbsp; if (ImgLambo.Position.X + ImgLambo.Width &gt; ImgField.Position.X) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.X &lt; ImgField.Position.X + ImgField.Width) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.Y + ImgLambo.Height &gt; ImgField.Position.Y) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.Y &lt; ImgField.Position.Y + ImgField.Height) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; Result := True;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; end;</div><div><br></div><div>&nbsp; if (ImgLambo.Position.X + ImgLambo.Width &gt; ImgField1.Position.X) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.X &lt; ImgField1.Position.X + ImgField1.Width) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.Y + ImgLambo.Height &gt; ImgField1.Position.Y) and</div><div>&nbsp; &nbsp; &nbsp;(ImgLambo.Position.Y &lt; ImgField1.Position.Y + ImgField1.Height) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; Result := True;</div><div>&nbsp; &nbsp; Exit;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure geriprcdr;</div><div>begin</div><div>&nbsp; TclProButton(MyForm.clFindComponent('BtnGoBack')).Click;</div><div>end;</div><div><br></div><div>procedure ProcOnGameTimer;</div><div>begin</div><div>&nbsp; ImgRoad.Visible := True;</div><div>&nbsp; ImgRoad1.Visible := True;</div><div>&nbsp; ImgFerrari.Visible := True;</div><div>&nbsp;&nbsp;</div><div>&nbsp; tPosY := tPosY + 15; // ImgRoad hızı</div><div>&nbsp; tPosY1 := tPosY1 + 15; // ImgRoad1 hızı</div><div>&nbsp; tPosY2 := tPosY2 + 4;</div><div>&nbsp;&nbsp;</div><div>&nbsp; // ImgRoad pozisyonunu sıfırla</div><div>&nbsp; if tPosY &gt;= TForm(MyForm).ClientHeight then</div><div>&nbsp; &nbsp; tPosY := -ImgRoad.Height;</div><div><br></div><div>&nbsp; // ImgRoad1 pozisyonunu sıfırla</div><div>&nbsp; if tPosY1 &gt;= TForm(MyForm).ClientHeight then</div><div>&nbsp; &nbsp; tPosY1 := -ImgRoad1.Height;</div><div><br></div><div>&nbsp; if tPosY2 &gt;= TForm(MyForm).ClientHeight then</div><div>&nbsp; &nbsp; tPosY2 := -ImgFerrari.Height;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; ImgRoad.Position.X := tPosX;</div><div>&nbsp; ImgRoad.Position.Y := tPosY;</div><div><br></div><div>&nbsp; ImgRoad1.Position.X := tPosX;</div><div>&nbsp; ImgRoad1.Position.Y := tPosY1;</div><div><br></div><div>&nbsp; ImgFerrari.Position.X := tPosX;</div><div>&nbsp; ImgFerrari.Position.Y := tPosY2;</div><div><br></div><div>&nbsp; // Jiroskop ile ImgLambo hareketi</div><div>&nbsp; if Clomosy.PlatformIsMobile then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; case DeviceMotionSensor.GetDirectionX of</div><div>&nbsp; &nbsp; &nbsp; 1: ImgLambo.Position.X := ImgLambo.Position.X - LamboSpeed; // Sola hareket et</div><div>&nbsp; &nbsp; &nbsp; 2: ImgLambo.Position.X := ImgLambo.Position.X + LamboSpeed; // Sağa hareket et</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end;</div><div><br></div><div>&nbsp; // Çarpışma kontrolü</div><div>&nbsp; if isLamboCrashed then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; GameTimer.Enabled := False;</div><div>&nbsp; &nbsp; if Clomosy.PlatformIsMobile then</div><div>&nbsp; &nbsp; &nbsp; DeviceMotionSensor.Active := False; // Oyun durduruldu</div><div>&nbsp; &nbsp; ShowMessage('Tekrar deneyin.'); // Mesaj gösteriliyor</div><div>&nbsp; &nbsp; BtnStartGame.Text := 'START GAME';</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>procedure BtnStartGameClick;</div><div>begin</div><div>&nbsp; GameTimer.Enabled := not GameTimer.Enabled;</div><div><br></div><div>&nbsp; if GameTimer.Enabled then</div><div>&nbsp; &nbsp; BtnStartGame.Text := 'STOP GAME'</div><div>&nbsp; else</div><div>&nbsp; &nbsp; BtnStartGame.Text := 'START GAME';</div><div><br></div><div>&nbsp; if Clomosy.PlatformIsMobile then</div><div>&nbsp; &nbsp; DeviceMotionSensor.Active := GameTimer.Enabled;</div><div>end;</div><div><br></div><div>begin</div><div>&nbsp; MyForm := TclGameForm.Create(Self);</div><div>&nbsp; ImgField := MyForm.AddNewProImage(MyForm, 'ImgField');</div><div>&nbsp; ImgField.clSetImage('<a href="https://i.imgur.com/8jxbJAj.png" target="_blank" rel="nofollow">https://i.imgur.com/8jxbJAj.png</a>');</div><div>&nbsp; ImgField.Width := 50;</div><div>&nbsp; ImgField.Height := 50;</div><div>&nbsp; ImgField.Align := alNone;</div><div>&nbsp; ImgField.Position.X := 340;</div><div>&nbsp; ImgField.Position.Y := 440;</div><div><br></div><div>&nbsp; ImgField1 := MyForm.AddNewProImage(MyForm, 'ImgField1');</div><div>&nbsp; ImgField1.clSetImage('<a href="https://i.imgur.com/lAt43Ml.png" target="_blank" rel="nofollow">https://i.imgur.com/lAt43Ml.png</a>');</div><div>&nbsp; ImgField1.Width := 50;</div><div>&nbsp; ImgField1.Height := 50;</div><div>&nbsp; ImgField1.Align := alNone;</div><div>&nbsp; ImgField1.Position.X := -10;</div><div>&nbsp; ImgField1.Position.Y := 440;</div><div><br></div><div>&nbsp; ImgRoad := MyForm.AddNewProImage(MyForm, 'ImgRoad');</div><div>&nbsp; ImgRoad.clSetImage('<a href="https://i.hizliresim.com/l6z8qre.png" target="_blank" rel="nofollow">https://i.hizliresim.com/l6z8qre.png</a>');</div><div>&nbsp; ImgRoad.Properties.AutoSize := False;</div><div>&nbsp; ImgRoad.Width := ImgRoad.Width * 8;</div><div>&nbsp; ImgRoad.Height := ImgRoad.Height * 32;</div><div>&nbsp; ImgRoad.Visible := False;</div><div>&nbsp; ImgRoad.Align := alNone;</div><div><br></div><div>&nbsp; ImgRoad1 := MyForm.AddNewProImage(MyForm, 'ImgRoad1');</div><div>&nbsp; ImgRoad1.clSetImage('<a href="https://i.hizliresim.com/l6z8qre.png" target="_blank" rel="nofollow">https://i.hizliresim.com/l6z8qre.png</a>');</div><div>&nbsp; ImgRoad1.Properties.AutoSize := False;</div><div>&nbsp; ImgRoad1.Width := ImgRoad1.Width * 8;</div><div>&nbsp; ImgRoad1.Height := ImgRoad1.Height * 32;</div><div>&nbsp; ImgRoad1.Visible := False;</div><div>&nbsp; ImgRoad1.Align := alNone;</div><div><br></div><div>&nbsp; ImgLambo := MyForm.AddNewProImage(MyForm, 'ImgLambo');</div><div>&nbsp; ImgLambo.clSetImage('<a href="https://i.imgur.com/y6jIvYx.png" target="_blank" rel="nofollow">https://i.imgur.com/y6jIvYx.png</a>');</div><div>&nbsp; ImgLambo.Width := 150;</div><div>&nbsp; ImgLambo.Height := 50;</div><div>&nbsp; ImgLambo.Align := alNone;</div><div>&nbsp; ImgLambo.Position.X := 150;</div><div>&nbsp; ImgLambo.Position.Y := 450;</div><div><br></div><div>&nbsp; ImgFerrari := MyForm.AddNewProImage(MyForm, 'ImgFerrari');</div><div>&nbsp; ImgFerrari.clSetImage('<a href="https://i.imgur.com/Bdxodrg.png" target="_blank" rel="nofollow">https://i.imgur.com/Bdxodrg.png</a>');</div><div>&nbsp; ImgFerrari.Width := 100;</div><div>&nbsp; ImgFerrari.Height := 50;</div><div>&nbsp; ImgFerrari.Align := alNone;</div><div>&nbsp; ImgFerrari.Position.X := 80;</div><div>&nbsp; ImgFerrari.Position.Y := 200;</div><div><br></div><div>&nbsp; tPosX := (TForm(MyForm).ClientWidth - ImgRoad.Width) / 2;</div><div>&nbsp; tPosY := 0;</div><div>&nbsp; tPosY1 := -ImgRoad.Height;</div><div>&nbsp;&nbsp;</div><div>&nbsp; tPosX := (TForm(MyForm).ClientWidth - ImgFerrari.Width) / 2;</div><div>&nbsp; tPosY := 0;</div><div>&nbsp; tPosY2 := -ImgFerrari.Height;</div><div>&nbsp;&nbsp;</div><div>&nbsp; LamboSpeed := 2; // ImgLambo hızı</div><div><br></div><div>&nbsp; // Hareket sensörünü etkinleştir</div><div>&nbsp; DeviceMotionSensor := MyForm.AddNewSensorsMotion(MyForm, 'DeviceMotionSensor');</div><div>&nbsp; DeviceMotionSensor.Active := True;</div><div><br></div><div>&nbsp; BtnStartGame := MyForm.AddNewButton(MyForm, 'BtnStartGame', 'START GAME');</div><div>&nbsp; BtnStartGame.Align := alBottom;</div><div>&nbsp; BtnStartGame.Height := 30;</div><div>&nbsp; BtnStartGame.StyledSettings := ssFamily;</div><div>&nbsp; BtnStartGame.TextSettings.FontColor := clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; BtnStartGame.Margins.Bottom := 50;</div><div>&nbsp; MyForm.AddNewEvent(BtnStartGame, tbeOnClick, 'BtnStartGameClick');</div><div><br></div><div>&nbsp; geribtn := MyForm.AddNewProButton(MyForm, 'geribtn', '');</div><div>&nbsp; clComponent.SetupComponent(geribtn, '{"Align" : "None","Width":70,"Height":50,"ImgUrl":"<a href="https://i.imgur.com/XUYO0A6.png" target="_blank" rel="nofollow">https://i.imgur.com/XUYO0A6.png"</a>}');</div><div>&nbsp; MyForm.AddNewEvent(geribtn, tbeOnClick, 'geriprcdr');</div><div>&nbsp; geribtn.Position.X := 5;</div><div>&nbsp; geribtn.Position.Y := 7;</div><div><br></div><div>&nbsp; GameTimer := MyForm.AddNewTimer(MyForm, 'GameTimer', 20);</div><div>&nbsp; GameTimer.Interval := 1;</div><div>&nbsp; GameTimer.Enabled := True;</div><div>&nbsp; MyForm.AddNewEvent(GameTimer, tbeOnTimer, 'ProcOnGameTimer');</div><div><br></div><div>&nbsp; if Clomosy.PlatformIsMobile then&nbsp;</div><div>&nbsp; &nbsp; MyForm.Run;</div><div>end;</div></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 21 Aug 2024 09:36:51 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=898&amp;PID=1706#1706</guid>
  </item> 
 </channel>
</rss>