<?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 : Animasyon kullanımında sorun yaşıyorum</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Animasyon kullanımında sorun yaşıyorum]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:55:58 +0000</pubDate>
  <lastBuildDate>Wed, 11 Sep 2024 15:17:34 +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=930</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[Animasyon kullanımında sorun yaşıyorum : Merhaba Steelwing,AnaForm := TCLGameForm.Create(Self);...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1811#1811</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=106">Developer</a><br /><strong>Konu:</strong> 930<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Eylül&nbsp;2024 Saat 15:17<br /><br />Merhaba Steelwing,<div><div style=": rgb251, 251, 253;">&nbsp;AnaForm := TCLGameForm.Create(Self);&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; AnaForm.AddGameAssetFromUrl('<a href="https://i.imgur.com/BedqHXr.jpeg" target="_blank" rel="nofollow">https://i.imgur.com/BedqHXr.jpeg</a>');&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle := AnaForm.AddNewCircle(AnaForm, 'rectangle');&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle.Fill.Kind := fbkBitmap;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle.Fill.Bitmap.WrapMode := fbwmTileStretch;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle.Width := 650;&nbsp;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle.Height := 620;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; rectangle.Stroke.Thickness := 1;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1 := AnaForm.AddNewBitmapListAnimation(rectangle,'animasyon1');&nbsp;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.AnimationBitmap.LoadFromFile(clomosy.appfilespath + '/BedqHXr.jpeg');&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Stop;&nbsp;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.AnimationCount := 6;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.AnimationRowCount := 2;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Delay := 0;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Duration := 0.75;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.AutoReverse := True;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Enabled := True;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Loop := True;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; animasyon1.Start;&nbsp;</div><div style=": rgb251, 251, 253;">&nbsp; AnaForm.Run;&nbsp;</div></div><div style=": rgb251, 251, 253;">Bu kod her seferinde tekrar çalışıyor. Bu hata bundan kaynaklı.</div>]]>
   </description>
   <pubDate>Wed, 11 Sep 2024 15:17:34 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1811#1811</guid>
  </item> 
  <item>
   <title><![CDATA[Animasyon kullanımında sorun yaşıyorum : var MyForm: TclGameForm; AnaForm:TclGameForm;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1809#1809</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=200">steelwing</a><br /><strong>Konu:</strong> 930<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Eylül&nbsp;2024 Saat 13:57<br /><br /><div>var</div><div>&nbsp; MyForm: TclGameForm;</div><div>&nbsp; AnaForm:TclGameForm;&nbsp;</div><div>&nbsp; animasyon1:TclBitmapListAnimation;&nbsp;</div><div>&nbsp; rectangle: Tclrectangle;&nbsp;&nbsp;</div><div>&nbsp; ImgRifle, ImgSavan: TclProImage;</div><div>&nbsp; DeviceMotionSensor: TClMotionSensor;</div><div>&nbsp; LblDisplay: TclLabel;</div><div>&nbsp; GameTimer: TclTimer;</div><div>&nbsp; geribtn, BtnFire: TClProButton;</div><div>&nbsp; circle1, circle2: tclcircle;</div><div>&nbsp; SoundIndex: Integer;</div><div>&nbsp; myDeviceManager: TclDeviceManager;</div><div>&nbsp; number: Integer;</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 InitializeComponents;</div><div>begin</div><div>&nbsp; MyForm := TclGameForm.Create(Self);</div><div>&nbsp; myDeviceManager := TclDeviceManager.Create;</div><div><br></div><div>&nbsp; LblDisplay := MyForm.AddNewLabel(MyForm, 'LblDisplay', '--');</div><div>&nbsp; LblDisplay.Align := alTop;</div><div>&nbsp; LblDisplay.Visible := False;</div><div><br></div><div>&nbsp; // Initialize Joystick Circles</div><div>&nbsp; circle1 := MyForm.AddNewCircle(MyForm, 'circle1');</div><div>&nbsp; circle1.Align := alNone;</div><div>&nbsp; circle1.Width := 100;&nbsp;&nbsp;</div><div>&nbsp; circle1.Height := 100;</div><div>&nbsp; circle1.Position.X := MyForm.clWidth / 8;</div><div>&nbsp; circle1.Position.Y := MyForm.clHeight * 83 / 150;</div><div><br></div><div>&nbsp; circle2 := MyForm.AddNewCircle(MyForm, 'circle2');&nbsp;</div><div>&nbsp; circle2.Align := alNone;</div><div>&nbsp; circle2.Width := 40;&nbsp;&nbsp;</div><div>&nbsp; circle2.Height := 40;&nbsp;</div><div>&nbsp; circle2.Position.X := circle1.Position.X + 30;</div><div>&nbsp; circle2.Position.Y := circle1.Position.Y + 30;</div><div>&nbsp; circle2.Visible := true;</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; ImgSavan := MyForm.AddNewProImage(MyForm, 'ImgSavan');</div><div>&nbsp; ImgSavan.clSetImage('<a href="https://i.hizliresim.com/tw0gudt.png" target="_blank" rel="nofollow">https://i.hizliresim.com/tw0gudt.png</a>');</div><div>&nbsp; ImgSavan.Width := 800;</div><div>&nbsp; ImgSavan.Height := 800;</div><div>&nbsp; ImgSavan.Align := alCenter;</div><div>&nbsp; ImgSavan.Position.X := 0;</div><div>&nbsp; ImgSavan.Position.Y := 0;</div><div>&nbsp; ImgSavan.hittest := false;</div><div>&nbsp; clRTMethod(ImgSavan, 'SendToBack');</div><div><br></div><div>&nbsp; ImgRifle := MyForm.AddNewProImage(MyForm, 'ImgRifle');</div><div>&nbsp; ImgRifle.clSetImage('<a href="https://i.imgur.com/o5kq53m.png" target="_blank" rel="nofollow">https://i.imgur.com/o5kq53m.png</a>');</div><div>&nbsp; ImgRifle.Width := 150;</div><div>&nbsp; ImgRifle.Height := 150;</div><div>&nbsp; ImgRifle.Align := alNone;</div><div>&nbsp; ImgRifle.Position.X := 180;</div><div>&nbsp; ImgRifle.Position.Y := 250;</div><div>&nbsp; MyForm.AddNewEvent(circle1, tbeOnMouseMove, 'MoveCircles');</div><div>&nbsp; ImgRifle.hittest := false;</div><div><br></div><div>&nbsp; BtnFire := MyForm.AddNewProButton(MyForm, 'BtnFire', '');</div><div>&nbsp; BtnFire.Align := alNone;</div><div>&nbsp; BtnFire.Width := 70;</div><div>&nbsp; BtnFire.Height := 50;</div><div>&nbsp; BtnFire.Position.X := 290;</div><div>&nbsp; BtnFire.Position.Y := 550;</div><div>&nbsp; BtnFire.clProSettings.PictureSource := '<a href="https://i.imgur.com/HrjM4pf.png" target="_blank" rel="nofollow">https://i.imgur.com/HrjM4pf.png</a>';</div><div>&nbsp; BtnFire.SetclProSettings(BtnFire.clProSettings);</div><div>&nbsp; MyForm.AddNewEvent(BtnFire, tbeOnClick, 'BtnFireClick');</div><div><br></div><div>&nbsp; GameTimer := MyForm.AddNewTimer(MyForm, 'GameTimer', 5);</div><div>&nbsp; GameTimer.Enabled := TRUE;</div><div>&nbsp; MyForm.AddNewEvent(GameTimer, tbeOnTimer, 'MoveCircles');</div><div>end;</div><div><br></div><div>procedure MoveCircles;</div><div>var</div><div>&nbsp; NewX, NewY: Single;</div><div>begin</div><div>&nbsp; // Joystick hareketi</div><div>&nbsp; if (circle2.Position.X &lt; MyForm.clFormMousePosX) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; if (circle2.Position.X &lt; circle1.Position.X + circle1.Height * 2 / 3) then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; circle2.Visible := True;</div><div>&nbsp; &nbsp; &nbsp; circle2.Position.X := circle2.Position.X + 3;</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end</div><div>&nbsp; else if (circle2.Position.X &gt; MyForm.clFormMousePosX) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; if (MyForm.clFormMousePosX &gt; 0) then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; if (circle2.Position.X &gt; circle1.Position.X) then</div><div>&nbsp; &nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; &nbsp; circle2.Visible := True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; circle2.Position.X := circle2.Position.X - 3;</div><div>&nbsp; &nbsp; &nbsp; end;</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end;</div><div><br></div><div>&nbsp; if (circle2.Position.Y &lt; MyForm.clFormMousePosY) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; if (circle2.Position.Y &lt; circle1.Position.Y + circle1.Width * 2 / 3) then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; circle2.Visible := True;</div><div>&nbsp; &nbsp; &nbsp; circle2.Position.Y := circle2.Position.Y + 3;</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end</div><div>&nbsp; else if (circle2.Position.Y &gt; MyForm.clFormMousePosY) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; if (MyForm.clFormMousePosY &gt; 0) then</div><div>&nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; if (circle2.Position.Y &gt; circle1.Position.Y) then</div><div>&nbsp; &nbsp; &nbsp; begin</div><div>&nbsp; &nbsp; &nbsp; &nbsp; circle2.Visible := True;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; circle2.Position.Y := circle2.Position.Y - 3;</div><div>&nbsp; &nbsp; &nbsp; end;</div><div>&nbsp; &nbsp; end;</div><div>&nbsp; end;</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp;</div><div>&nbsp; begin</div><div>&nbsp; AnaForm := TCLGameForm.Create(Self);&nbsp;</div><div>&nbsp; AnaForm.AddGameAssetFromUrl('<a href="https://i.imgur.com/BedqHXr.jpeg" target="_blank" rel="nofollow">https://i.imgur.com/BedqHXr.jpeg</a>');&nbsp;</div><div>&nbsp;</div><div>&nbsp; rectangle := AnaForm.AddNewCircle(AnaForm, 'rectangle');&nbsp;</div><div>&nbsp; rectangle.Fill.Kind := fbkBitmap;&nbsp;</div><div>&nbsp; rectangle.Fill.Bitmap.WrapMode := fbwmTileStretch;&nbsp;</div><div>&nbsp; rectangle.Width := 650;&nbsp;&nbsp;</div><div>&nbsp; rectangle.Height := 620;&nbsp;</div><div>&nbsp; rectangle.Stroke.Thickness := 1;&nbsp;</div><div>&nbsp;</div><div>&nbsp; animasyon1 := AnaForm.AddNewBitmapListAnimation(rectangle,'animasyon1');&nbsp;&nbsp;</div><div>&nbsp; animasyon1.AnimationBitmap.LoadFromFile(clomosy.appfilespath + '/BedqHXr.jpeg');&nbsp;</div><div>&nbsp; animasyon1.Stop;&nbsp;&nbsp;</div><div>&nbsp; animasyon1.AnimationCount := 6;&nbsp;</div><div>&nbsp; animasyon1.AnimationRowCount := 2;&nbsp;</div><div>&nbsp; animasyon1.Delay := 0;&nbsp;</div><div>&nbsp; animasyon1.Duration := 0.75;&nbsp;</div><div>&nbsp; animasyon1.AutoReverse := True;&nbsp;</div><div>&nbsp; animasyon1.Enabled := True;&nbsp;</div><div>&nbsp; animasyon1.Loop := True;&nbsp;</div><div>&nbsp; animasyon1.Start;&nbsp;</div><div>&nbsp; AnaForm.Run;&nbsp;</div><div>end;</div><div><br></div><div>&nbsp; // ImgRifle'nin Joystick'e göre hareketi</div><div>&nbsp; NewX := ImgRifle.Position.X + (circle2.Position.X - (circle1.Position.X + 30)) / 10;</div><div>&nbsp; NewY := ImgRifle.Position.Y + (circle2.Position.Y - (circle1.Position.Y + 30)) / 10;</div><div><br></div><div>&nbsp; // Sınır kontrolleri</div><div>&nbsp; if NewX &lt; 0 then</div><div>&nbsp; &nbsp; NewX := 0</div><div>&nbsp; else if NewX &gt; MyForm.clWidth - ImgRifle.Width then</div><div>&nbsp; &nbsp; NewX := MyForm.clWidth - ImgRifle.Width;</div><div><br></div><div>&nbsp; if NewY &lt; 0 then</div><div>&nbsp; &nbsp; NewY := 0</div><div>&nbsp; else if NewY &gt; MyForm.clHeight - ImgRifle.Height then</div><div>&nbsp; &nbsp; NewY := MyForm.clHeight - ImgRifle.Height;</div><div><br></div><div>&nbsp; // Pozisyonu güncelle</div><div>&nbsp; ImgRifle.Position.X := NewX;</div><div>&nbsp; ImgRifle.Position.Y := NewY;</div><div><br></div><div>&nbsp; // Joystick resetleme</div><div>&nbsp; if (MyForm.clFormMousePosX &lt; 0) then</div><div>&nbsp; begin</div><div>&nbsp; &nbsp; circle2.Position.X := circle1.Position.X + 30;</div><div>&nbsp; &nbsp; circle2.Position.Y := circle1.Position.Y + 30;</div><div>&nbsp; &nbsp; circle2.Visible := False;</div><div>&nbsp; end;</div><div>end;</div><div><br></div><div>begin</div><div>&nbsp; InitializeComponents;</div><div>&nbsp; if Clomosy.PlatformIsMobile then</div><div>&nbsp; &nbsp; MyForm.Run;</div><div>end;</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 11 Sep 2024 13:57:24 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1809#1809</guid>
  </item> 
  <item>
   <title><![CDATA[Animasyon kullanımında sorun yaşıyorum : Animasyonumu istedi&#287;im &#351;ekilde...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1808#1808</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=200">steelwing</a><br /><strong>Konu:</strong> 930<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Eylül&nbsp;2024 Saat 09:44<br /><br />Animasyonumu istediğim şekilde çalıştıramıyorum. Çalışsa bile animasyon bittikten sonra clomosy uygulamasından atıyor.]]>
   </description>
   <pubDate>Wed, 11 Sep 2024 09:44:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=930&amp;PID=1808#1808</guid>
  </item> 
 </channel>
</rss>