
<MAIN> Hello_World |0|1</MAIN>

<KIMG> image_intro | Hello_World/belett.iff </KIMG>
<KIMG> image2 | Hello_World/wallpaper4.iff </KIMG>
<KIMG> image3 | Hello_World/alchimie2.iff </KIMG>
<KIMG> image4 | Hello_World/bg.iff </KIMG>
<KIMG> mind | Hello_World/mind4.iff </KIMG>
<KIMG> bleiz | Hello_World/bleiz4.iff </KIMG>
<KIMG> screetch | Hello_World/screetch4.iff </KIMG>
<KIMG> tmind | Hello_World/tmind2.iff </KIMG>
<KIMG> tbleiz | Hello_World/tbleiz2.iff </KIMG>
<KIMG> tscreetch | Hello_World/tscreetch2.iff </KIMG>
<KIMG> zik | Hello_World/zik4.iff </KIMG>
<KIMG> gfx | Hello_World/gfx4.iff </KIMG>
<KIMG> code | Hello_World/code4.iff </KIMG>
<KIMG> fenetre | Hello_World/fenetre3.iff </KIMG>
<KIMG> wallpaper | Hello_World/wallpaper3.iff </KIMG>
<KIMG> enterprise | Hello_World/enterprise4.iff </KIMG>
<KIMG> bg | Hello_World/bg3.iff </KIMG>
<KIMG> debut | Hello_World/debut3.iff </KIMG>
<KIMG> fleur | Hello_World/fleur3.iff </KIMG>
<KIMG> etoiles | Hello_World/bg6.iff </KIMG>
<KIMG> hexagone | Hello_World/hexagone.iff </KIMG>


<BMFONT> bmft  | Hello_World/fonts.iff | 32 |  32 | 8 | abcdefghijklmnopqrstuvwxyz0123456789    !?'[],-. </bmfont>

<KIMG>   imfont| Hello_World/fonts.iff </KIMG>   we take the image of the font too.
                                            to use it as an image.


<KTEXT>text1|Pure Nooobs ! The new amiga demoscene group in 2007 presents its first demo ! [Hello_World] Greetings to the Coffee Machine, the brioches and every tout le monde at the Alchimie 7 ! Special greetings to the Pure Lamers for leur great aide ! See you later alligator to Alchimie 2008 !! </KTEXT>

<KSCRIPT>
    <ID> Hello_World </ID>
    <PLAY> parta | 250 | 0 | 1 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
    <PLAY> part0 | 1500 | 0 | 1 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
    <PLAY> part1 | 1200 | 0 | 1 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
    <PLAY> part2 | 1200 | 0 | 1 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
    <PLAY> part3 | 800 | 0 | 1 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
    <PLAY> part4 | 4600 | 0 | 0.45 </PLAY>
    <PLAY> blankpart | 50 | 0 | 1 </PLAY>
</KSCRIPT>

<KPART>

    <ID> blankpart  </ID>

    <Fx><Pa> FillRc </Pa><Pa></Pa><Pa>cte| 0 </Pa></Fx>

</KPART>

<KPART>

    <ID> parta  </ID>

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> hexagone </Pa>
    </Fx>

    <Fx>
        <Pa>SpritePlain</Pa>
        <Pa></Pa>
        <Pa> hexagone </Pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 1.0 </pa>
        <Pa> cte | 1.0 </pa>

    </Fx>
</KPART>

<KPART>  <ID> part0 </ID> scrool

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> debut </Pa>
    </Fx>

    ----- let's fake a scrooling with 2 sprites ------
    <KTABLE> scrolmov1 | 0,0|400,-1  </KTABLE>
    <Fx><Pa>SpritePlain</Pa>
        <Pa> </Pa>
        <Pa> bg </Pa>
        <Pa> aftmod | scrolmov1 |0|0  </Pa>
        <pa> cte|0 </pa>
        <Pa> aftmod | scrolmov1 |0|1  </Pa>
        <pa> cte|1 </pa>
    </Fx>
    <Fx><Pa>SpritePlain</Pa>
        <Pa> </Pa>
        <Pa> bg </Pa>
        <Pa> aftmod | scrolmov1 |0|1  </Pa>
        <pa> cte|0 </pa>
        <Pa> aftmod | scrolmov1 |0|2  </Pa>
        <pa> cte|1 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | enterprise | 0 | 677 </Pa>
        <Pa> sin | -0.20 | 0.05 | 0.5</pa>   here, sin()
        <Pa> sin | 0.80 | 0.05 | -0.4</pa>
        <Pa> sin | 0.0 | 0.05 | 0.7</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> sin | 0.85 | 0.05 | -0.1</pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | debut | 678 | 850 </Pa>
        <Pa> sin | -0.50 | 0.7 | 0.8</pa>   here, sin()
        <Pa> sin | -0.50 | 0.7 | 0.8</pa>
        <Pa> sin | 1.50 | 0.7 | -0.8</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> sin | 1.50 | 0.7 | -0.8</pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | debut | 851 | 1500 </Pa>
        <Pa> sin | -0.50 | 0.1 | 0.8</pa>   here, sin()
        <Pa> sin | -0.50 | 0.1 | 0.8</pa>
        <Pa> sin | 1.50 | 0.1 | -0.8</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> sin | 1.50 | 0.1 | -0.8</pa>
    </Fx>


</KPART>

<KPART>

    <ID> part1  </ID>

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> image2 </Pa>
    </Fx>

    <Fx>
        <Pa>SpritePlain</Pa>
        <Pa></Pa>
        <Pa> image2 </Pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 1.0 </pa>
        <Pa> cte | 1.0 </pa>

    </Fx>

   <Fx>
        <Pa>Sprite</Pa>
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> image_intro </Pa>
        <Pa> sin | 0.25 | -0.7 | 0.2</pa>   here, sin()
        <Pa> sin | 0.25 | 0.3 | -0.7</pa>
        <Pa> cos | 0.75 | 0.3 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cos | 0.75 | -0.2 | 0.7</pa>
    </Fx>

</KPART>

<KPART>

    <ID> part2  </ID>

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> image3 </Pa>
    </Fx>

    <Fx><Pa> FillRC</Pa>
        <Pa></Pa>
        <Pa> cte | 135  </Pa>
    </Fx>

    <Fx>
        <Pa> Twirl </Pa>
        <Pa></Pa>
        <Pa> image3 </Pa>

        <Pa>SIN|0|1|0.25</Pa> ofsx
        <Pa>COS|0|1|0.25</Pa> ofsY

        <Pa>SIN|0|0.1|1</Pa> start angle
        <Pa>CTE|0</Pa>    amp. angle
        <Pa>CTE|0</Pa>    freq angle

        <Pa>CTE|0</Pa>         start dist.
        <Pa>SIN|0|0.6|0.5</Pa> amp.dist
        <Pa>COS|0|0.2|32</Pa> freq dist

        <Pa>CTE|0</Pa> mapping type
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> fleur </Pa>
        <Pa> sin | 0.25 | -0.7 | 0.2</pa>   here, sin()
        <Pa> sin | 0.25 | 0.3 | -0.7</pa>
        <Pa> cos | 0.75 | 0.3 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cos | 0.75 | -0.2 | 0.7</pa>
    </Fx>

</KPART>

<KPART>  <ID> part3 </ID> scrool

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> etoiles </Pa>
    </Fx>

    ----- let's fake a scrooling with 2 sprites ------
    <KTABLE> scrolmov2 | 0,0|400,-1  </KTABLE>
    <Fx><Pa>SpritePlain</Pa>
        <Pa> </Pa>
        <Pa> etoiles </Pa>
        <Pa> aftmod | scrolmov2 |0|0  </Pa>
        <pa> cte|0 </pa>
        <Pa> aftmod | scrolmov2 |0|1  </Pa>
        <pa> cte|1 </pa>
    </Fx>
    <Fx><Pa>SpritePlain</Pa>
        <Pa> </Pa>
        <Pa> etoiles </Pa>
        <Pa> aftmod | scrolmov2 |0|1  </Pa>
        <pa> cte|0 </pa>
        <Pa> aftmod | scrolmov2 |0|2  </Pa>
        <pa> cte|1 </pa>
    </Fx>

   --- Mind ---

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | tmind | 0 | 200  </Pa>
        <Pa> sin | 0.20 | 0.03 | 0.5</pa>   here, sin()
        <Pa> cte | 0.40 </pa>
        <Pa> sin | 0.40 | 0.03 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.60 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | zik | 0 | 200  </Pa>
        <Pa> sin | 0.00 | 0.2 | 1.10</pa>   here, sin()
        <Pa> cte | 0.10 </pa>
        <Pa> sin | 0.20 | 0.2 | 1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.20 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | mind | 0 | 200   </Pa>
        <Pa> sin | 0.80 | 0.2 | -1.10</pa>   here, sin()
        <Pa> cte | 0.80 </pa>
        <Pa> sin | 1.00 | 0.2 | -1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.90 </pa>
    </Fx>

   --- Bleiz ---

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | tbleiz | 201 | 500  </Pa>
        <Pa> sin | 0.20 | 0.03 | 0.5</pa>   here, sin()
        <Pa> cte | 0.40 </pa>
        <Pa> sin | 0.40 | 0.03 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.60 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | gfx | 201 | 500  </Pa>
        <Pa> sin | 0.00 | 0.2 | 1.10</pa>   here, sin()
        <Pa> cte | 0.10 </pa>
        <Pa> sin | 0.20 | 0.2 | 1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.20 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | bleiz | 201 | 500   </Pa>
        < Pa> bleiz </Pa>
        <Pa> sin | 0.80 | 0.2 | -1.10</pa>   here, sin()
        <Pa> cte | 0.80 </pa>
        <Pa> sin | 1.00 | 0.2 | -1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.90 </pa>
    </Fx>

   --- Screetch ---

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | tscreetch | 501 | 800  </Pa>
        <Pa> sin | 0.20 | 0.03 | 0.5</pa>   here, sin()
        <Pa> cte | 0.40 </pa>
        <Pa> sin | 0.40 | 0.03 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.60 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | code | 501 | 800  </Pa>
        <Pa> sin | 0.00 | 0.2 | 1.10</pa>   here, sin()
        <Pa> cte | 0.10 </pa>
        <Pa> sin | 0.20 | 0.2 | 1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.20 </pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>            A ghost having a simple sinus move.
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> imastop | screetch | 501 | 800   </Pa>
        <Pa> sin | 0.80 | 0.2 | -1.10</pa>   here, sin()
        <Pa> cte | 0.80 </pa>
        <Pa> sin | 1.00 | 0.2 | -1.10</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> cte | 0.90 </pa>
    </Fx>

</KPART>

<KPART>

    <ID> part4 </ID>

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> wallpaper </Pa>
    </Fx>

    <Fx><Pa> FillRC</Pa>
        <Pa></Pa>
        <Pa> cte | 135  </Pa>
    </Fx>

   <Fx>
        <Pa>Sprite</Pa>
        <Pa></Pa>                  sin |a|b|c return  a+ ( sin(b*time)* c)
        <Pa> wallpaper </Pa>
        <Pa> sin | -0.5 | 1 | 0.5</pa>   here, sin()
        <Pa> sin | -0.5 | 1 | 0.5</pa>
        <Pa> sin | 1.5 | 1 | 0.5</pa>   the same sinus command as in X1, but + 0.5.
        <Pa> sin | 1.5 | 1 | 0.5</pa>
    </Fx>

   <Fx><Pa> DisplayText </Pa>
        <Pa></Pa>               the rectangle where to draw
        <Pa> bmft </Pa>         a bitmap font object from < BMFONT>
        <Pa> text1 </Pa>       a text object with <KTEXT >

        <Pa> cte | 1000 </Pa> number of char before return.
        <Pa> cte | 1000 </Pa> max number of char to draw.
        <Pa> cte | 0 </Pa> char start offset

        <Pa> aff |1    |-0.01</Pa>                X1 Y1 X2 Y2 of 1st caracter.
        <Pa> sin |0.4 |1.6|0.15 </Pa>
        <Pa> aff |1.0625 |-0.01 </Pa>
        <Pa> sin |0.58|1.6|0.1 </Pa>

    </Fx>

    <Fx>
        <Pa>Sprite</Pa>
        <Pa></Pa>
        <Pa> fenetre </Pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 0.0 </pa>
        <Pa> cte | 1.0 </pa>
        <Pa> cte | 1.0 </pa>
    </Fx>
</KPART>

