MiniDemo: Serdca v. 0.2

Pixilang по русски
User avatar
NightRadio
Site Admin
Posts: 3157
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: MiniDemo: Serdca v. 0.2

Post by NightRadio » Tue Dec 18, 2007 2:33 pm

Есть проблемки:
в архиве TAR не обнаружилось музона
шрифт font_PerfoOval_curv.gif выводится странно.. ощущение, что он без русских букв.

User avatar
Al_Rado
Posts: 239
Joined: Tue Dec 04, 2007 2:33 pm
Location: Krasnodar
Contact:

Re: MiniDemo: Serdca v. 0.2

Post by Al_Rado » Tue Dec 18, 2007 2:56 pm

NightRadio , странно, я все проверил - работает так как надо... Попробуй архив еще раз скачать... Мож побился по дороге
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

User avatar
NightRadio
Site Admin
Posts: 3157
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: MiniDemo: Serdca v. 0.2

Post by NightRadio » Tue Dec 18, 2007 3:00 pm

Да, похоже, что со slil.ru какие-то траблы. Попробую еще раз

User avatar
Al_Rado
Posts: 239
Joined: Tue Dec 04, 2007 2:33 pm
Location: Krasnodar
Contact:

Re: MiniDemo: Serdca v. 0.51

Post by Al_Rado » Mon Dec 24, 2007 12:11 pm

Исправил баг вылезающий под Линукс, спасибо NightRadio за помощь :) http://slil.ru/25277850
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

User avatar
Al_Rado
Posts: 239
Joined: Tue Dec 04, 2007 2:33 pm
Location: Krasnodar
Contact:

MiniDemo: Serdca v0.6

Post by Al_Rado » Mon Jan 07, 2008 8:18 pm

// Al_Rado // Открытка "Serdca" v0.6 // Переписан алгоритм вывода бегущей строки - теперь нагрузка на процессор не зависит от длинны текста, а также исправлены некоторые баги. Файл с данными тут http://slil.ru/25325527
resize_pixi (0,320,240)
A=#E40001 B=#F00700 C=#DB0002 D=#D50003 E=#CE0000 F=#CC0003 G=#BB0000 H=#B50000 I=#C50000 J=#BD0000 K=#C20008 L=#AD0002 M=#A10001
N=#A50000 O=#AD0000 P=#B3000C Q=#A5010A R=#9B0009 S=#9C0000 T=#940000 U=#840001 V=#94000E W=#A80B19 X=#A41F22 Y=#8E1F24 Z=#910A14
a=#831119 b=#731C1F c=#57101F d=#380B2A e=#580123 f=#6B0418 g=#670109 h=#5A0108 i=#540015 j=#45001E k=#430812 l=#000000 m=#000000
n=#0B0002 o=#000000 p=#130109 q=#260108 r=#3B0003 s=#4F0001 t=#630000 u=#750001 v=#800214 w=#730000 x=#8C0000 y=#7B0000 z=#900002
serdca="
..............................................................................................................................................
.......................................................................................................................npqqrsshhsirqp.........
....................................................................................................................npqrhtwyyyyywwghiqp.......
.......................................................................................npppppnnn..................pqrttyUxTTTTTxxxywghjp......
...................................................................................pqqrshssshsrrqqpn............pqstyxTSNNNNNSTxUUyyygijq.....
................................................................................nqrtwyUxxxxxUUywtghirqpn......pqhwUTNNOOOOSxywttghhhhggijp....
...............................................................................qstxSNOOHOOOONNSTxUywthijqp..nqktUSNOHJHNTUywwwwwwtghjjjiedp...
.............................................................................prySOJJIIIIIIJHOONSTTxxUywghikqjhwxSOJJHNxyyUxSSNNNSRxUwiddjdq...
............................................................................qgTHIEEEDDDEIHNTUywttttgggwwwgtttyxSOJHNxUUTNOHHPPLPQQRRVvfjdddn..
...........................................................................qgTOJEDCACDIOSxUUyyyyywtghhiihhgyxTSOOSxUxSHJIKKKPPPQQQRRVVvfdddp..
........................................................................npqjhhifffVLJJNSSNOHJJJHHOONSxyghijhwxSTyyxNJIIKKKPLLNNNSSSSVVVvedddn.
.....................................................................pqqrsshtghhhiiiigTJEDDDDFFFFKKKKPOQRUwhhtwtyTJEEFKKPOONNSSSSTTTxxxvveddn.
..................................................................pqksttwyUUxxUUyywghiivFACDDFFFKKKKKKKPPLQRxUyUNJEFKKHHONNNNSSSSTTTxxxUyfddp.
...............................................................npqhtwUxTSSSSSSSTTxUywgijfPCDFKKIIJJJJJHPPPPPPLOOJKKKHHOOONNNSSSSTTTTxxxUywedq.
.............................................................nqihtUxSSNNOOOOOONSSRVxUvwhjeQEIIJJJJJJJHHHHHHOPPKKKKJHOOOONNNNSSSSTTTxxxxUywhrq.
...........................................................pqityxTNNOHHHJJHONNSTTxxxUUvwijeNIJJJJJJJHHHHHOOOOOHPHHHHOOOOOONNSSSTTTxxxxxUywtrq.
..........................nnpppppppppnnn.................nqityxSNOHJJJJJONSxyywttgggggwwfijfJIJJJJJJHHHHOOOOOOOOOOHOOOOOOLLQQRSTTTxxxxxUUytrq.
......................ppqrrshshhthhhikrqqqppn..........npkgyTSOHJJIIIHOSxyyyyywwwgghiiiiffeexJJJJJJJHHHHOOOOOOOOOOHHHHKKKPPQQRRVxxxxxxUUUywsq.
...................pqrstwyyUxxxxxxUUyywtghhiqqqpn.....pqhwxSOHJIIIIHSxUyUxTSSNNNSSxUwfjdjeeefNIJJJJJJJHHHHOOOOOOOOHKKKKKHONSVVVVxUxxxUUUUywsq.
.................prtwyxSNNNOOOOOONNNSSSTxUywghiijqqppqktyTNHJIEEIOSxUUTSOJJJJKPPPLQRVVwidjeeevJIIKFKKKKKKPPLOOOOHKFFIJJHOLQQRVvvvyUUUUUUUywtq.
...............prhyxSOHHJJJIIJJJJJJJHOONNSSTxUywgtthhhtUSOHIEEIHSxUxSHJIIFKKKKKPPPPQRRVvfifeeeRFDDDEIKHOOLQQQPPPKFDIJJKKPLLQSRVvfwyUUUUUUywtq.
.............nqhySOHJIIEEEEEEEEEIIJJJHOOOONNSSTxxUUUUyxSOJIEIHSxxTOJIEDEFKKKKKPPLLLQQRVVvffeeefFCDEIJHHONSSVxRLKKJJIKKPONNSSTTxUwgwyUUUUyywtq.
............prwTOJJIEDDDCCCCDEIJONSTxxUUUUUUxxxTTTTSSSNOJIIHNxxSOIDDDDDFKKKHHOOONNNSSSSVVvefejeQCDEFFKKKKPPPRRROHJKKHONONNSSTTxxyttwUUyyyywtq.
...........piyNHJEEDCCCCCCDIHNSxUUyyyywwttttgggggwyTNOHJJHSxxSOIDCCDDFKKJJHOOOONNNNSSSTTxUfeeejvFDFKJJHHHOOOOLLPKKHHOHHPPPQRTxxxUtttyyyyyywtn.
..........phxOJIEDCAAAACDIHSTxxTTSSNNNNNSSTxUywghhhgwUSOSxUxNIDCCCDFIJJHHHHOOONNNNSSSSTTxUyfefrgPEJJHHHHHHOOONNHHHHJKKKHQRVVVxxxUwttyyyyyywsn.
.........qhxNJEDCCAAAADIOSSSNOJIIEEDDDEEEEIIJHONTUyggtwyyyTHECACCDIJJHHHHHOOOONNNNSSSSTTTxywhfsrxJJHJJKKKKKPLOOOOJEDIJJLRxvffyUxUyttwyyyyywsn.
........pixOJEDCAAABCEHNSNHIECCAAAAACCCCDDDDFFIKKJONSTxxxNJDCACDIIJJJHHHHOOOONNNNSSSSTTTTxUyttgrwHJIDDDEKHONRRRLKEDIKHONSTxfetwUUytswyyyywtrn.
.......njyNJEDCAABACIONOJECAAAAABAACCCCCDDDDDFFFFFKKKKJJJIDCCDFIJJJJJJHHHOOOONNNNSSSSTTTTxxywshttOECACDIKJPLQRROJEKHONNSTTxyfstyUytswywwywtq..
.......jvSHIDCAABADJNNJECABBBBABACCCCDDDEEEEEEFIIFKKKKFFFDDDFIIIJJJJJJHHHOOOONNNSSSSTTTTTxxUwtsgtOABACEIJHHOOONLKJHNNNSSTTxUtstwUytswywwwwtn..
......pfVOIECCAAAEHNOIDABBBBABACCCDDEEEEEEEEIIIIIIIIIIKFFFFIIIIIJJJJJHHHHOOONNNNSSSTTTTTTxxUytstsSBBCEJHOOONNNNOOONNSSTTTxxUwsswyytswwwwwtrn..
.....njvQJFDCABADHNOECBBBBBAACCDDDEEEEEEEEEEIIIIIIJJJJJJIIIJJIIIJJJJJJJJJHHOONNSSSSTTTTTxxxUywttsxBAIJHOOONNNNNNNNNSSSTTTxxUytrtyytswwwwwtr...
.....qfVPKECCAADHNOECBBBBBACCDDDEEEEEEEEEEEIIIIIIIJJJJJJJJJJJIJJJJJIKKFKKKKPPPNSSSSTTTTxxxxUywtstUAEJHOOONNNNNSSNNSSSTTTxxxUytrtywstwwwwwtn...
....njvQKIDCAADHNOIABBBBBACCDDEDEEEEEEEEEEEIIIIIIIJJJJJJJJJJJIJJIIFDDDFKKHLLQQRRTTTTTTxxxxxxUytstyEIHOOONNNNNSSSNSSSTTTTxxxUwsrtytstwwwwtrn...
....pfVLKFDCCDKSNICBBBBBCCDDEEDDEEEEEEEEEEIIIIIIIJJJJJJJJJJJJIIFDCDCDIJJHHLQRVVVxxxxTxxxxxxUUytsswJJOOOONNNNNSSSSSSSTTTxxxxUwsrtwtstwwwwtq....
...njvQPKDCCCINRJDBBBBACCDDDEEEEEEEEEEEEEEIIIIIIIIJJJJJJJJJJJEDCCCDIJIKKKKPLLQVvvyUxxxxxxxUUUytsswJHOOONNNNNSSSSSSSTTTTxxUUytrswwtswwwwtsn....
...peVLKFDCCFLROEABBAACCDDDEEEEEEEEEEEEEEEEEEEEEFFIIIJJJJJJIDCACDEIEDFKJHOONNSSxvwyUxxxxxxUUUytsswHOOONNNNNNSSSSSSTTTTxxxUUytrsytstwwwwtr.....
...qfRPKFDCDKRRKCBBBACCDDEEEEEEEEEEEEEEDDDCCCCDDFFFFKKKKIIIDCCCEEDDFJJHOOONNSSSTxwtyUxxxxUUUUywssyHOOONNNNNSSSSSSTTTxxxxxUywtrtwtstwwwtsn.....
..njvQKKDDCFLVLFCAAACCDDEEEEEEEEEEEEEDCCCCACCDEEIJJHHPPKKFDCDEEDDEIJHOOOONNSSSTTxyttyUxxxUUUUywssUHOONNNNNSSSSSSSTxxxxxxUUytrswwstwwwwtq......
..peVPKKDDDKRRKCAAACCDDEEEEEEEEEEEEDCCAABACDEEIIIKPHOONNHIIIEDCDIJJHHHHHOONSSSTTTxwtwyUUUUUUyytssxHONNNNNSSSSSSTTTxxxxxUUywsrtwtstwwwtrn......
..qfRLKFDDKQVQFCAACCDDEEEEEEEEEEEEDCABBBACDDDDDDFFFKKKKPPKIIDDEJJJJIKKKKPLQSSSTTxxyttwUUUUUyyytssSOONNNNSSSSSSSTxxxxxxUUUytrswtstwwwwtn.......
..qvQPKFDFKVVPDCACCDDEEEEEEEEEEEEDCABBBCCACCDEEEIIIIIJJJJKKFEIJJIEDDFIKPLQRVTTTTxxUtttyUUUyyywtstOONNNSSSSSSSTTxxxxxxUUyytsrttstwwwwtq........
.nivQPKFFKQVRKCCCCDDEEEEEEEEEEEEDCABBACAACDEEIIIIIJJJJHHHJJJJJIDCCCDIJPLRVvvUUxTxxUwttyUUUyyywtstHONSSSSSSTTTTTxxxxxUUUywsrtwtstwwwtrn........
.niVQPKFFKRVPFCCCCDEEEEEEEEEEEEECABBACACDEIIIIJIIIIIIJJHHHHHJECACCEIKHHONSvftwUxxxUyttwyyyyyywtsUPONSSSSSTTTTTTxxxxUUyytsrtwtstwwwtrn.........
.ntVQPKFKPVVPDCCCDDEEEEEEEEEEEEDCBAAAACDEIIIIIEEDDDDFFKKKJJJECACDEJJOONNSSxwttwUxxUytswyyyyyywssQWWPNSTTTTTTSTxxxxUUyytsrtwtstwwwtsn..........
.qtxQHJIKRvVKDCCDDEEEEEEEEEEEEDCAAACACEEIIIIEDCACCCEEIKKPPKFDCCEIJHOONNSSTTxtttwUxUytstyyyyyytstOPXXXQSTTTTTTTxxxUUywtrrtttstwwwtsn...........
.qtUSOJJPVvQKDDDDEEEEEIIIIIIEEDCAACACEEIIIIDAABBACDEIIJJHPKEDDEJHOONNNSSSTTxytstyUUytstyyyyywtsUOOQWXXXQSTTSTxxUUyytsrsttsstwwwtsn............
.rtxSOJJNUvQIDDDEEEEEEIIIIIIEEDCBCCCEEIIIIDABBBACDEEIJJJJHJIIIJHOONNNSSSTTTxUtstwUUytstyyywwwtsWLLNNQWXXWNSSTxUUywtrrtttsttwtwtrn.............
.rtUSOHJSwyOIDDDEEEIIIIIIIIIEDCCCDCEEIIJIDABBBACEIJJJHHHHOHHHHOOONNNSSSSTTTxUwsstUUyttwyywwwwstXXXQLONQWWPNSxUywttsstttstwwwwtrn..............
.rtUSNHHTtyOEEDEEEIIIIIIIIIIEDDCFCDEIIIIECABBAEIJJJHHHHOOOOOOOOONNNSSSSTTTTxUysrtyUwstwywwwwtsVPWXXXQLONPPHTyywggttwtsttwwwwtq................
.rtyTNOOUtyOIEEEEEIIIIIIIIIIEDCDFCEEIJJIDABACEIJJHHHHOOOOOOOOOONNNSSSSSTTTTxUysrtyywstwwwwwwstLLLPWXXWLOHPPVvffgtwttstwwwwtsn.................
.qtyTSONUtyOIEEEEIIIIIIIIIIIEDDEEDEIIJIECABCEIJJHHHHOOOOOONNONNNNSSSSSTTTTxxUwtrtyytstwwwwwttVPLLLLPWXQPHPYffwywwttttwwwwtrn..................
.nswxSNNytyOIEEIIIIIIIIIIIIIEEEIEEIIJJIDCACDIJJHHHOOOOOONNNNNNNNNSSSSTTTTxxxywgstywtttwwwwttyLLLLLLPLPWPPPVVVxUywwtwwwwtsq....................
.nrtUTNSytyNJIIIIIIIIIJJJJIIEEEJEEIJJJEDCCDEJJHHHOOOOOONNNNNNNNNSSSSTTTTxxxUywctwytttwwwwwtfXWLLLLLPPPQPPQRVxvvvUywwwwtrn.....................
..rtyxSSytwNJIIIIIIJJJJJJJIIEEJJEIIJJJEDDDEIJHHHOOOOOONNNNNNNNNSSSTTTTTxxxUUwwbtwwtgwwwwwtgkgXXPLPLPPPLQLRvvvvxVTUywwtrn......................
..ntwxTSyttSHJIIIJJJJJJJJJJIIIJJIIJJHJEEEEIJJHHOOOOONNNNNNNNNNSSSTTTTTxxxxUywfcwwtwwwwwwwwrrrraXWPLPPPPXZavVVVVVVVUyhp........................
..nrwUTSyttTOJIIIJJJJJJJJJJJIIOJIJJJHJIEIIIJHHOOOOOONNNNNNNNNNSSSTTTTTxxxUUwybfwwwvywwwwwr.nrsrgXPLPPPPRVVRRVVVVVvgqn.........................
...rtyxTUtsxOJJJJJJJJJJJJJJJJJOHIJJHHJIIJJJHHOOOOONNNNNNNNNSSSSTTTTTxxxxUUyybfyyyvxxxUUvk...nshrgWPPPPQRRRRVVVVVgrn...........................
...ntwUxUtsyNHJJJJJJJJJJJJJJJJNOJJJHHJJJOJJHOOOOONNNNNNNNNSSSSTTTTTxxxxUyyUbbvxUvvVVxxvkn....qthrvPPPLQRRRRVVvgrp.............................
...nrwyxUtstTOHJJJJHHHJHHHHHHHNOJHHHOHHHNHHOOOONNNNNNNNNSSSSSTTTxTxxxxUUUxbbaxvavVVVxvkn.....nrwssQPLLQRRRVvhkp...............................
....qtyUxwstxNHHJJHHHHHHHHHHHHNSHHHHOHHOSOHOOONNNNNNNNSSSSSSTTxxxxxxUxxTVbbaxZavVVxVvkn.......qtgsxPPQRVZfkqn.................................
....nswUUUssySOHHHHHHHHHHHHHHONSOHOOOOOOSNOOONNNNNNNSSSSSSSTTTxxxxxxxTVZbbaVZaZVVxVvkn........nsyswWWZacqp....................................
....nrtUxxtrtTNOHHHHHHHHHHOOOONSNOOOOOONNNOONNNNNNNSSSSSSTTTTTxxxxxSRVZbbaVaaZVVVVak..........nrtrsabkpn......................................
.....nswUxyrsxSOHHHHHHHHOOOOOONSSOOOOOONNSNNNNNNNSSSSSSTTTTTTTxxxTSRVabbZVaaZVVVVfk............nqnnn..........................................
.....nqtyxxsrwTNOOHHOOOOOOOOOONNSNOOONNNOSSNNSNSSSSSSSTTTTTTTTTTSSRVabbZVaaVVVVZgq............................................................
......nrwUxtrsxSNOOOOOOOOOOOOONNSSNNNNNNOSTSNNSSSSSSSSSTSSSSSNSSSRVabbZZaaVVVZZcp.............................................................
.......qsyUUsrwTSNOOOOOOOOOOOONOSTNNNNNNONTVNONNSNNNNNNNNNNNQQQSRVZbbZZaaVVVVakn..............................................................
.......nrtyUtrsxSNNOOOOOOONNNNNONTTNNNNNONTxVNNOOOOOONNNNNQNQQQQRVbbZZaaVVVZacn...............................................................
........nrtUysrtTSNNOOOONNNNNNOONSxSOONNOOSxUxVSQQQQQQQQQQQQQRRRRvbaVaaVVVVacn................................................................
.........nstUtrrySNNNNNNNNNNNOOOONTxSOOOOOOSxyyvVVRRNQQRRRRRRRRRVabVaaZRVVakn.................................................................
..........nswytrsxSNNNNNNNNOOOOOOOSxUTNOOOONSVxvvvvVVVVRRRRRVVZZYbvZaZVVVacn..................................................................
...........qswyrrtTNNOOOOOOOOHOOOONSxyxSNNNNNQSVxvvvaaaaaYYYYYYYYYaaaVVVacn...................................................................
............qsttrrtTSNOOOOOHOOOOOOONSxUyUVSNNNNNSRVxVvaabbYYYYYYYZZaZZZZbp....................................................................
.............nrttrrtxSNOOOOOOOOOOOOONSVxyyUxVRSRRRQRRRVVVVVVVZVVVVZaZVZbq.....................................................................
..............nrstrrtUSNOOOOOOOOOOOONNNSVxUvvvUxxVRRRRRRRRRVRVVVZYYaVVak......................................................................
...............nnrsrrsyTSNOOOOOOOOONNNNNNSRVxUvvvvvvvVZZZZaZYYYYYYYZVZbn......................................................................
.................nqrrqrtUTSNNOOONNNNNNNNNQQSRRRVVVVvaaaaaaYYYYYZZZVZZak.......................................................................
...................nqrrrstUVSSNNNNNNQQNNQSSSRRRSRRRRVVVVVVVVVVRVRRVVZbp.......................................................................
.....................nqqqrstUVTSSNNNQNNNSSSRRRSSSRRRRRRRRRRVVRVVRVVRZk........................................................................
.......................nnqqrrtwUVVRSSSRNSSSRRRRRRRRRRVRVRVVVRRRRRRVZaq........................................................................
..........................nnnqqrstwUxVRRSSRRRRRRRRRRRRRRRRVRVVVVVZZYYp........................................................................
..............................nnnqqrstwyvxxVVVVVRRRVVVVVVVVRVZZYYYbckn........................................................................
...................................nnnnqrrhggwvvvvvZZZaaaaYYbbckkqpn..........................................................................
...........................................nnqqrrcccccccckkqpnn...............................................................................
..............................................................................................................................................
"
make_pixi(serdca)

o = WHITE
font="
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
.....
.....
.....
.....
.....
+
+ + + + + + + + + + + +
....
....
oooo
....
....
+ + + + + + + + + + + + + + + + + + + +
oooo
o..o
oooo
o..o
o..o
+
oooo
o..o
ooo.
o..o
oooo
+
oooo
o...
o...
o...
oooo
+
ooo.
o..o
o..o
o..o
ooo.
+
oooo
o...
oooo
o...
oooo
+
oooo
o...
oooo
o...
o...
+
oooo
o...
o...
o..o
oooo
+
o..o
o..o
oooo
o..o
o..o
+
..o.
..o.
..o.
..o.
..o.
+
...o
...o
...o
o..o
.oo.
+
o..o
o.o.
oo..
o.o.
o..o
+
o...
o...
o...
o...
oooo
+
o..o
oooo
o..o
o..o
o..o
+
o..o
oo.o
o.oo
o..o
o..o
+
oooo
o..o
o..o
o..o
oooo
+
oooo
o..o
oooo
o...
o...
+
oooo
o..o
o..o
o.oo
oooo
+
oooo
o..o
oooo
o.o.
o..o
+
oooo
o...
oooo
...o
oooo
+
oooo
..o.
..o.
..o.
..o.
+
o..o
o..o
o..o
o..o
oooo
+
o..o
o..o
.oo.
.oo.
.oo.
+
o..o
oooo
oooo
oooo
.oo.
+
o..o
.oo.
.oo.
o..o
o..o
+
o..o
.oo.
..o.
..o.
..o.
+
oooo
..o.
.o..
o...
oooo
"
make_pixi( font ) // font by NightRadio

B=#FFFFFF
Pixi_logo = "
BBBBBBBBBBBBBBB
BBBBBBBBBBBBBBB
BBBBBBBBBBBBBBB
BB.BBB...BBB.BB
BBB.BB.B.BB.BBB
BBBB...B...BBBB
BBBB.......BBBB
BB...........BB
BB.B.......B.BB
B..BBBBBBBBB..B
BBBBBBBBBBBBBBB
BBBBBBBBBBBBBBB
"
make_pixi (Pixi_logo)

bb = "
...........................................
...........................................
..BBB..BBB.B..B.BBB.B.....BBB..B...B..BBB..
.B...B..B..B..B..B..B....B...B.B...B.B...B.
.B...B..B..B..B..B..B....B...B.B...B.B.....
.B...B..B...BB...B..B....B...B.BB..B.B.....
.B...B..B...BB...B..B....B...B.B.B.B.B.....
.BBBB...B..B..B..B..B....BBBBB.B..BB.B..BB.
.B......B..B..B..B..B..B.B...B.B...B.B...B.
.B.....BBB.B..B.BBB.BBBB.B...B.B...B..BBB..
...........................................
...........................................
"
make_pixi (bb)

b=#FFFFFF
Al_Rado = "
....bbb.b......bbbb.............b........
...b..b.b......b...b............b........
..b...b.b......b...b............b........
..b...b.b......b...b..bbbb...bbbb...bbb..
..b...b.b......b..b..b...b..b...b..b...b.
..bbbbb.b......bbb...b...b..b...b..b...b.
..b...b.b......b..b..b...b..b...b..b...b.
..b...b.bbbb...b...b..bbb.b..bbb.b..bbb..
.........................................
"
make_pixi (Al_Rado)

O = #FFFFFF
o = #908070
s = "
..o..
.oOo.
oOOOo
.oOo.
..o..
+
..o..
..o..
ooOoo
..o..
..o..
+
.....
..o..
.oOo.
..o..
.....
+
.....
.....
..O..
.....
.....
+
.....
.....
..o..
.....
.....
+
.....
.....
..O..
.....
.....
+
.....
..o..
.oOo.
..o..
.....
+
..o..
..o..
ooOoo
..o..
..o..
"
make_pixi(s) //sprite by NightRadio

set_disk0( "Serdca_data.tar" )
info = "PIXILANG - PIXEL-ORIENTED PROGRAMMING LANGUAGE."
x = 35
y = 12
xx = get_pixi_xsize (bb)
yy = get_pixi_ysize (bb)
Q2= new_pixi(xx,yy,43) Q3=new_pixi(xx,yy,43)
b=50 b2=-70 b3=-105 x3=320 xxx=4 x2=180*xxx z=0 c=0 k=16 p=0
start_timer( 0 )
font2=load_pixi("0:/font_PerfoOval_curv.gif")
xfont=get_pixi_xsize(font2)
yfont=get_pixi_ysize(font2)+4
xQ=-get_pixi_xsize(0)/2
yQ=-get_pixi_ysize(0)/2 + 60
xxQ=xQ
zQ=0 nQ=yQ iQ=0
text=" Привет! В новой версии минидемки Serdca v0.6 переписан алгоритм вывода бегущей строки - нагрузка на процессор уменьшена в несколько раз и теперь не зависит от длинны текста! Идея, графика, кодинг - Al Rado. Музыка взята с сайта http://modarchive.org "
xtext=get_string_size (text)*xfont
frames=get_pixi_xsize(0)
stroka=new_pixi(1,yfont,frames)
load_music( "0:/Bassrock.MOD" )
vol = 0
music_volume( vol )
play_music

start:
if c>43 {finish}
i=0 u=0 n=0
unu:
i=xx*u ii=x*u
Q2[z+i+c*xx*yy] = bb[z+i]
Q3[z+ii+c*x*y] = bb[z+i]
n+1
u=u+1
if n=12 {z+1 c+1 goto start}
goto unu

finish:
vol + 4
if vol > 256 { vol = 256 }
music_volume( vol )

pixi_font (font2)
print(text,xQ+2,yQ+2,ORANGE)
effector( BLACK, 16, 1, xQ, yQ, get_pixi_xsize(0), yfont, 1)
effector( BLACK, 16, 2, xQ, yQ, get_pixi_xsize(0), yfont, 1)
print(text,xQ,yQ,SNEG)

pQ=0 while (pQ<frames)
{
nQ=yQ while (nQ<(yQ+yfont))
{
stroka[iQ] = get_dot (xxQ+pQ,nQ)
iQ+1
nQ+1
}
pQ+1
}
iQ=0
clear(BLACK)

e=( sin( get_timer( 0 ) / 4 ) / 2 + 256 ) / 3
e2=( cos( get_timer( 0 ) / 4 ) / 2 + 256 ) / 2

pixi(Pixi_logo,135,-98,3,1)
pixi_font (font)
print(info,x2/xxx,-78,SNEG)
fbox(-161,-80,270,10,BLACK)
transp( 192 )
t_scale( 256, -160, 256 )
pixi (serdca,0,-160,1,e)
b1=b3

t_reset
transp( 64 )
fbox(-161,50,322,121,#FFFFFF)

transp( 256 )
bQ=0
pixi (serdca,0,-40,1,e)
transp( 128 )
pixi (serdca,0,-40,1,e+8)
transp( 256 )


unuQ
vivod
pixi (Al_Rado,-130,49,1,1)

t_reset
transp( 128 )
t_scale( 256, -256, 256 )
pixi (Al_Rado,-130,-60,1,1)
t_reset
transp( 256 )

pol:
kk=12*k
transp( kk )
fbox(-161,40+(k*5),322,10,#000000)
k-1
if k>1 {goto pol} k=16
transp( 256 )
t_reset

rx= (rand & 191) - 100
ry= (rand & 127) - 100
pixi(s,rx,ry,1,rand&127)

effector( 0, 256-get_timer(0)/14, 1, -400, -400, 800, 800, 1 )
frame (30)
x2-1
if x2<-120*xxx {x2=180*xxx}
if xQ<-(get_pixi_xsize(0)+xtext) {xQ=-get_pixi_xsize(0)/2}
xQ=xQ-1
clear(BLACK)
goto finish

vivod:
while (p<=43) {
W_X=( sin(( get_timer( 0 )-b*(p+1)) / 4 ) / 2 + 128 ) / 24 - 115
W_Y=( sin(( get_timer( 0 )-b*(p+1)) / 4 ) / 2 + 128 ) / 24 + b1
fpixi (Q2,W_X,W_Y,1,e2+30,p)
transp( 128 )
fpixi (Q3,W_X,W_Y,1,250,p)
transp( 256 )
p+1
}
p=0
ret

unuQ:
pixi_alpha (stroka, stroka)
pQ=0 while (pQ<frames)
{
fpixi(stroka,-get_pixi_xsize(0)/2+pQ,(cos((get_timer(0)-8*pQ)/4)/8+64)/6+10,1,1,pQ)
t_scale( 256, -256, 256 )
fpixi(stroka,-get_pixi_xsize(0)/2+pQ,(cos((get_timer(0)-8*pQ)/4)/8+64)/6-100,1,1,pQ)
t_reset
pQ+1
}
ret
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

Post Reply