<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://peda.net/:static/539/atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>18. helmikuuta 2026</title>
<id>https://peda.net/id/ba095d3c0bf</id>
<updated>2026-02-17T14:46:49+02:00</updated>
<link href="https://peda.net/id/ba095d3c0bf:atom" rel="self" />
<link href="https://peda.net/orivesi/perusopetus/yhteiskoulu/oppiaineet/tietoteknikka/tvt-ja-ohjelmointikurssi-25-26/18.-helmikuuta-2026#top" rel="alternate" />
<logo>https://peda.net/:static/539/peda.net.logo.bg.svg</logo>
<rights type="html">&lt;div class=&quot;license&quot;&gt;Tämän sivun lisenssi &lt;a rel=&quot;license&quot; href=&quot;https://peda.net/info&quot;&gt;Peda.net-yleislisenssi&lt;/a&gt;&lt;/div&gt;&#10;</rights>

<entry>
<title>Sprite sheet pelianimaatioissa</title>
<id>https://peda.net/id/2ffc263a0c0</id>
<updated>2026-02-17T15:05:21+02:00</updated>
<link href="https://peda.net/orivesi/perusopetus/yhteiskoulu/oppiaineet/tietoteknikka/tvt-ja-ohjelmointikurssi-25-26/18.-helmikuuta-2026/sprite-sheet-pelianimaatioissa#top" />
<content type="html">Vaihdamme lähestymistapaa:&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;h2&gt;&lt;!--filtered attribute: data-start=&quot;255&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;291&quot;--&gt;Miten sprite-animaatio toimii?&lt;/h2&gt;&#10;&lt;ul&gt;&lt;!--filtered attribute: data-start=&quot;293&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;491&quot;--&gt;&#10;&lt;li&gt;&lt;!--filtered attribute: data-start=&quot;293&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;385&quot;--&gt;&#10;&lt;p&gt;&lt;!--filtered attribute: data-start=&quot;295&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;385&quot;--&gt;Meillä on &lt;strong&gt;&lt;!--filtered attribute: data-start=&quot;305&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;322&quot;--&gt;yksi PNG-kuva&lt;/strong&gt;, jossa on useita animaation ruutuja vierekkäin (sprite sheet).&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;!--filtered attribute: data-start=&quot;386&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;431&quot;--&gt;&#10;&lt;p&gt;&lt;!--filtered attribute: data-start=&quot;388&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;431&quot;--&gt;Näytämme siitä vain pienen osan kerrallaan.&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;Netistä löytyy valmiita sprite sheet -kirjastoja esimerkiksi sivulta:&lt;br/&gt;&#10;&lt;a href=&quot;https://moosadee.itch.io/rachels-cc0-assets?utm_source=chatgpt.com&quot; rel=&quot;nofollow ugc noopener&quot;&gt;Rachel's CC0 Assets (Tiles, sprites, items, UI, fonts) by Moosadee&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;Ohessa mallisivu sekä sprite-kuvasarja. Lataa ne koneellesi ja tutki, miten ohjelma toimii.&lt;br/&gt;&#10;&lt;a href=&quot;https://peda.net/orivesi/perusopetus/yhteiskoulu/oppiaineet/tietoteknikka/tvt-ja-ohjelmointikurssi-25-26/18.-helmikuuta-2026/sprite-sheet-pelianimaatioissa/canvas.html#top&quot; class=&quot;service&quot;&gt;Canvas.html&lt;/a&gt;&lt;br/&gt;&#10;&lt;a href=&quot;https://peda.net/orivesi/perusopetus/yhteiskoulu/oppiaineet/tietoteknikka/tvt-ja-ohjelmointikurssi-25-26/18.-helmikuuta-2026/sprite-sheet-pelianimaatioissa/spinjump.png#top&quot; class=&quot;service&quot;&gt;spinjump.png&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;Jatka sitten kyseisen ohjelman kehittelyä tekoälyn avulla esimerkiksi seuraavasti:&lt;br/&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;!--filtered attribute: data-start=&quot;2323&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2366&quot;--&gt;&#10;&lt;p&gt;&lt;!--filtered attribute: data-start=&quot;2325&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2366&quot;--&gt;Hahmo liikkuu &lt;strong&gt;&lt;!--filtered attribute: data-start=&quot;2339&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2366&quot;--&gt;näppäimillä vasen/oikea&lt;/strong&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;!--filtered attribute: data-start=&quot;2367&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2393&quot;--&gt;&#10;&lt;p&gt;&lt;!--filtered attribute: data-start=&quot;2369&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2393&quot;--&gt;Tausta on erillinen kuva&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;!--filtered attribute: data-start=&quot;2394&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2453&quot;--&gt;&#10;&lt;p&gt;&lt;!--filtered attribute: data-start=&quot;2396&quot;--&gt;&lt;!--filtered attribute: data-end=&quot;2453&quot;--&gt;Hahmo voi hyppiä ja animaatio vaihtuu liiketilan mukaan&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;Tämän jälkeen voit jatkaa vapaamuotoisesti tämän tai oman pelisi kehittelyä. Pidä teemana kuvakirjaston hyödyntämistä eli 1) hahmoja, jotka liikkuvat pelissä ja 2) taustakuvia, jonka päällä hahmot liikkuvat.</content>
<published>2026-02-17T15:04:26+02:00</published>
</entry>


</feed>