Avatar

Pixilang по русски
Post Reply
User avatar
Al_Rado
Posts: 239
Joined: Tue Dec 04, 2007 2:33 pm
Location: Krasnodar
Contact:

Avatar

Post by Al_Rado » Fri Dec 28, 2007 3:09 pm

Анимированный аватар, вот текст программы:

//Al_Rado// Avatar v.01
resize_pixi (0,100,115)
start_timer( 0 )

A=#000200 B=#000000 C=#000000 D=#002C00 E=#0C0000 F=#100F14 G=#21241F H=#333635 I=#433A0F J=#615025 K=#4B483E L=#464643 M=#585559
N=#656470 O=#666B66 P=#64682E Q=#9B671C R=#989931 S=#8DCE34 T=#7F7D4A U=#8D756F V=#838280 W=#8B8A89 X=#999C99 Y=#A9A8A5 Z=#BDB78E
a=#AEA675 b=#A29966 c=#B7B23D d=#CC982F e=#D8B83A f=#F7BA35 g=#F6BA35 h=#F5BF44 i=#F3C55C j=#BED265 k=#EECF7E l=#FDCC99 m=#D7CE9A
n=#BCBBB7 o=#CCCFCB p=#E4DBB9 q=#E0D7B7 r=#D7D2B0 s=#ECDFB8 t=#F8E4B7 u=#F8E4B7 v=#FADBC0 w=#E4E2E0 x=#F8F4ED y=#FFFFCF z=#FFFFFF
golova="
....................................................................................................
.............................................................JGL....................................
...........................................................JLH.T....................................
..........................................PPQQQQQR........IGXMGa....................................
................................HHHIIIIIImxwrjieeQQQGD..RILwyTGb....................................
...........................IGIIJJQJJHIIGIPnzxwrkeedQQIGJEOxxjLFO....................................
........................DIJbmmuliigggddQPIIYxzxxmTdddQI.bxxkRLFa...............MHG..................
.....................IFJauxxzzxnTaSaeeegdedbxxxzxpaegdJTxxkeTGGc............PG...D..................
...................GHbpxxxyulkkijXrprjjjcdegmxxxzxmigQQwzmRdRGHe..........G..FGIJ...................
.................LOrzzzzxyulkkmmmmmprprrmcgdeazzzzmhdImzucccRGIc........D.FMXmdfI...................
................LTwxxxzzzzzxxuhhkrrrprprpmjTdeozxzojIbxxmRcRRGGc........GbrraeeQI...................
...............TLQRPQbXnwxzzzzxkhimmrrrprpkMTgjzzzYJJuzpmRcRRFG......D.HozZeghgIP...................
..............bLQRTZrmmbTVVXZwxxmkmrmrprprrRLghxzwXIZxxmmRcPP.G.....D.OxxriggedIS...................
..............nox.........OGFLYwkkmrrjXmmppmHjipxyJJuznmmgcPPFI....GFXzurkdgggQI....................
...........................GGIPbjSjihgSSSmjSHVmmmbIjzwZYOhRPLFI...GFYzurmbegggPJ....................
........................TObaammmmmbPRgeSTmjjZYmmmQJuznnMOhRJHGI..b.VzummOcggegIT....................
.....................TbZrrrrmmjeehePLghmVYmmmmmmmJQwxXnLXhRJHFI.pGHxumrOOhgegdIj....................
...................TarrrrrrrrrZReSegeikmYXXZXVOObIaxwVXHZieTHGIkPFnwkrVLkggQgeH.....................
.................IIbmmrrrmmrrrmZjSeikjaTPHIJJJPQQIuzYaVHmkgeGGIZIYxkrXHZigddgcJ.....................
..............RIITXrprppwpjrpppjLTkjQPIIJdegggggdJxxTZOLmkgeLJIIJwumnHOmigQegcLzz...................
.............IIbpzzzwwwxzzxxzzxuXHMPIUpwligeggghbPxwTkMMmmhgRRTJbmmrXLmmheQggePXXVFFFFFFFF.FHH......
.............FTp.....SRTTTOXwzzzyVFGIbxzzueSRhhibPxyTknZmmigRPmmrnrrOXmmhJcedbYpnbRdRddfdQIIF.......
...........................OHVwzzwMOIIIpzxrmmmhhbPxvRkrmmmjQIEamrrprnmmmRIQboxxxuuxmiegeRJIF........
.............................GGwzzpYZMIIwzwrprriaPxwckrmmjPJJIImrprprmmZIIrxxzzxxmjcRRPHF.I.........
...............................OzzxmmmaIVxxprprraQwymmrmjQJwmIFXrrprrmbIGpzzxwnVPLLLLG..GT..........
...............................HwzxummmbJozorprrYPpxlrpmbIpzuQIIrprrrbdRpzzxnTPJLJPPG.GR............
................................nzzpjmmmdXxxrrrrZTnymrrjPZzxidIFXrrpmdcpzzoOPTRRRcRG.Pe.............
.................................zzujmmmZdwxomvrmTTjkrmRPxzugdQILrrrmemxznMegggecRG.T...............
.................................zwrejmmmbZxxrmmmmOVmraQwzxggdQQIYrrmmwzoLcgggceeH.T................
.................................nXddekmmZaxxxprmmYOmmbazzkePeQQTZmmrpzxLTggggegL.H.................
.................................HGQdVXrmmaoxxnrmmmXmmZxzwiRPgdQdmmmXoxVHcggegcJ....................
.................................MHddOXrmmYropXrrmmmmmrxppZHcggQdmmmHmmOOeecTJHFH...................
................................zVOeeLmnGOmmYVVpmmmmmmnmmrHLgRedemmVLmmOmcLHJcbOY...................
................................oMXTMbmVLLZmmOVmXmjkaYmemXFVeHThmrmLMmXOpMPcQaOOM...................
................................LXummmrMVOOmmOXXGahePMmkmMMZjbTjkjiVbijOMPkXdPXnL...................
...............................LXxuuuuprpVOrmXmnHakiTVpkiTehggeggggggggZHdhigjYHG...................
..............................TOxuuuuuuuuYXupuurOpukTZiigcheeRcgggghgggmQRJQghdGH...................
..............................HoxuuuuuuuuuuuuuuuruumTeiieRPJJReggggggggibgdIQgdLL...................
.............................HOzuuuuuuuuuuuuuuuuuuxlggmXPPRcegggggggggggjggdIdbGM...................
.............................GozuuuuuuwxxxuuuuuuxzuhcVVVReghggggggggggggidJJGIHFH...................
.............................MxzyuuuliuxzzxyuuuzzxjRRYaeggggggggggggggggcFF.F.IFH...................
............................GXzzwuuuuihilxzzuyzzznTcaZggggggggggggggggegMMTFIIGFT...................
............................GozzuuuuyZPjhkxxzzzxXXcejigggggggggggggggegRTmrOddG.O...................
............................HwzxyuuuupOIjhlxzxxXXmjgihhgggggggggggghhhgbZpZeggP.....................
............................LxzxxuuuuuuMPiixxxXXpulhihhgghgggggggggggheapmahgfQF....................
...........................MVxzzuuuuuuurHTkTOXYpppwkghgggggggggggiihcPIaprbgggJG....................
...........................HXyxzyuuuuuuuZLVFFOYrrwplkkiggggggghhhcTHFGJZpmceJdIH....................
............................MoxzxuuuuuuupHLFnuuuuuuuuuukkkkupjcTHGFHTcampmJEIdFO....................
...........................GFGMXouuuuuuuuGLMuuuuuuuyppnnYVVMLGFGHOceiikppZGaxVGn....................
...........................LHHGFGMVYnnnnnGGXuuuupnVMLGGGGGGHMOXnmkiighkppmexxLMz....................
...........................GHHMVMGFGFGGGGFGVuunVHFLLLXYnowwwnXVnligghhkppkuzbFLx....................
............................FGnzzoXOOMMMMOVYYOLHGFLLVzzzzxnMFGHThgghgekppuzpG.Gn....................
...........................GVLMXYXnyuuuuxyuVVYoHGLLLooXVLHGLbeghhgggeiipuxxL.PFX....................
...........................GmmTLLTZuuuuuywrnuuwHHMLMLHLMVXZighiigggghkeaxzXGXT.X....................
...........................GnuhghiiuuuuuuuuuuuxXLLMOYowxuighiihgggggimebzwGOaT.X....................
...........................GXxlkllluuuuuuuuuuuuxwrpxykihkikiggggdgggkmRbzV.LOHFY....................
...........................HVzuuuuuuuuuuuuuuuuuuliiikklulkuhgQQQJgggmkTITFOLGGIX....................
...........................LOzyuuuuuuuuuuuuuuuuuuuuluuuuuulhgQFIdggipiJIFIbrVMTO....................
...........................LLzwuuuuuuuuuuuuuuuuuuuuuuuuuuuudeQLJgggipkQFIILYnrmP....................
............................HwxuuuuuuuuuuuuuuuuuuuuuuuuuuuuQPIIQgggkmpjPHGGVwwnJ....................
............................GozuuuuuuuuuuuuuuuuuuuuuuuuumpuJFJegggimmphbVbFFMYVI....................
.............................YzyuuunYuuuuuYLnuuuuuuuummmbMLGIggggggkukhTLOZVYYIF....................
.............................VzxuuuXGVrppVFFmuuuuuuuuTHHGHaddggggggmphcOXMTXxVFG....................
.............................OzxxuuuXHGHHGOZuuuuuuuuumZnOVkgggggggiuihTVznGMoLFHo...................
.............................HxzzxuuupXTPaiuuuuuuuuuxxzzorhhhgecggkkhcM....LYGHVO...................
.............................GVzzzxuuuuulkkuuuuuuuuzzzzzxiggePGGcgiieMn....GrVYkT...................
..............................GnoouuuuyuluuuppuuuuxzzzzxkgcJGFJcgggaLY......VxyQG...................
...............................HOLnuupYnrpuYMLVpuuuzzzxigTFHPcgggeTLn........LVTD...................
................................OOOpnMLVruupnLGVuuuxxuigcLReggghaML.........GLVPD...................
.................................oMVHMnpuuuuupOHYuuukiggRchgggeOMmo.........HVYP....................
.................................zVHMpuurXXYnwrMLrukiggggegghXLb............GVbGG...................
.................................zOHruuoLLHGGGVnHOlkhgggggggXLZ.............FVU.Ho..................
.................................oGXyuumwxzwnMVpVHaigggggggVMm...............LMbPM..................
.................................VLwwuuuxzzzzxpupLLiggggggOMr...............FHVmQM..................
................................wLXzrpuuyxxxxxuuuYGTggggcMM.................GFLmQO..................
...............................wYLwzOVuuuuuuyuuuywPHegeTMMn.................GFLXJG..................
...............................rOMYVVHXuuuuuuuuuuicHTmOOOV..................GGYbFG..................
...............................XHMLVxwGVpwpuuuuukieOLVZrM...................HLaLGG..................
...............................HHMoz..XHHHVyuuulbPjYLOuYM...................HMVFMH..................
...............................HM......wYnwwxxrMLZrYMMuOX...................HGHFHO..................
..............................FGr........nxVMOHLruXnOHYMn...................HFFbPV..................
.........................................VXXOMOpunOnVMMO....................HGVlQn..................
..........................................LOrupuyVVXVXFV....................HHXuPV..................
..........................................OHnXrupLXOXnFn.....................HMZF...................
...........................................FVVnurHYLrYFX.....................MMTF...................
...........................................GMOnuYHXMpVLM.....................OOLG...................
...........................................MHOruVMVOuOXLr...................xXOFH...................
...........................................XGMouLVMXn..LY...................xXMFV...................
...........................................nGLrrHVLn...VO..................xVVHPJL..................
...........................................VGHpnGVLp...VH..................VHYYaGG..................
...........................................HGHpXHVM....XYw..................GLXbIH..................
............................................LGpOLOO....zxw..................G.OZFM..................
............................................PFXMMLX....xVX...................HXTF...................
............................................PGVHOLn.....XO...................LVFL...................
.............................................GOHOL......YM..................HOOIH...................
.............................................HVHMM.......P..................FHMVF...................
.............................................MXGLV.......T..................HHFHF...................
.............................................OVHLX..........................HXPF....................
.............................................OOHM..........................MGZI.....................
.............................................OOOV..........................FGHF.....................
.............................................OOYX..........................FFIO.....................
............................................oMMn...........................M.L......................
............................................oLOr.........................MYmGL......................
............................................XHX..........................MYZJN......................
............................................LH...........................OXbO.......................
............................................FH...........................MOV........................
.............................................H...........................NLL........................
.............................................G............................ML........................
..........................................................................ON........................
..........................................................................MM........................
.........................................................................NLL........................
.........................................................................OMLM.......................
.........................................................................OMMM.......................
.........................................................................MMNL.......................
.........................................................................NMMMM......................
..........................................................................MM........................
"
make_pixi(golova)

A=#000000 B=#000000 C=#000000 D=#020904 E=#454445 F=#464545 G=#333533 H=#2F2E2F I=#2A2829 J=#222020 K=#131117 L=#0F0E11 M=#080722
N=#000034 O=#19125D P=#353167 Q=#321E96 R=#2818B5 S=#2818B8 T=#120BA7 U=#2717B8 V=#3425BF W=#3934CB X=#4C3ED1 Y=#5448BC Z=#5B4CE1
a=#5C4DE2 b=#7973D5 c=#5D4B8A d=#595757 e=#67675D f=#8E8B53 g=#83827F h=#9B9C9D i=#9A99D5 j=#ABA4E2 k=#C3BEE9 l=#CBCBFC m=#CCCCCC
n=#BDBCB7 o=#CCCB9A p=#D8BE72 q=#F4BC3E r=#D3B736 s=#FECC68 t=#F1D488 u=#FFCD9A v=#F5E2B4 w=#FAF8CE x=#E4E2E0 y=#F8F4ED z=#FFFFFF
tulovo="
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
.................................................................u.dx...............................
...............................................................utuqFh...............................
...............................................................uutqGGm..............................
.............................................................tutuqqfLFh.........gdGG................
...........................................................tvtvutqefFLGem..h..JD.......D............
..........................................................tttvtusqrenGJFdhyncccdcPFGGILLLL..........
.........................................................ptuvtuvvuvfgohmgFdgXXXXXZZZZZQLLLd.........
............................DDF.vwuv...................vottvtvvvtozygfvyygFGLYYYVVVXZZZcJ.L.........
..........................dmeLIvvvvvu.................pptttvvvvtefyzygfvzzmgLXXXWVXVVXaxeLLh........
........................LhyjPLGvvuvvvsq..............tttvvvtvvveFsvyzzhpvyzxLbYXWWVWWWblhLLJJL......
......................DLhzkPGLGuvvuvvvsq...........tutttttuvvvfGrvvuzzzgrtyhLYbYXWWWXVZlhLLG........
....................yGLeyydLLLJLuvvtvvvvt........vtppttuvtvvvpGqpvvqtyzzhrveLbbXWWWWXXZknLLQO.......
...................zhLLizmJGLdoxvuvvvwvtttttvttttotttttvotvvoGfswvvqquzzzhgdLbbYXWWXXXZinLLcUPNLL...
..................zxGLLgzhLGLeovvutvvvwwttttttvttttttttttvvudfsvvvvqqtzzzvGGLbiYXWWXVXZkhLLcUXXYQPOP
.................zzeLLLezxcYJIgovvttvvvttttvtpottpttuvttuvufequvvvuqquzzyoeJLbkiYXXWVZZkcLLcONQPXZZZ
................xheGGLLGmzlZGLIhmvvtsvvvututvtttttttttttvvpFrvvvvvsqswzzxhGGcYibbYXVXZZkFLJYULLLOZZZ
..............yhGLGmhLLLnzykGJLIhvvwwvwvvtttttppttttttvttvefuvvwvuqqvzyxcJGQQVbiYXWXXZbhLLFXUOLLLQZZ
.............nFLLJgyeLLLGmzzhcLLFoxyzzzzwtpttsttpttvttttvnevvvvvvsqtyymeJJQVYbmxjYXXZXcGLLYWUUOLLNXZ
...........xdLLGhhyycLLLGmzzjGLLehzzzzzzyvwpttt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OLPZXOLJXZVUUUUOLLXZZZZZZZZNLLmybUUVZyzmZZOLLpqumssqdeyjQJLNYXWOLLOUYykZXXVVVUUUUUUixYZXUUUUUQJNVZZ
VVQZWPLJZZVUUUUUQLLQZZZZZZZZYNLeylVUUXlzxZZOLLfqptqqpGmxWUQNVXVQLLQUUjzbZeZXVWUUUUUXxiZZWUUUUUNLOZZZ
WZZXQLPXZWUUUUUUUNLOZZZZZZZZZPLJmziUUVjzygXQLLGqssqqGgzbUUUUVUUNLTUUVlxaZcZVUWVUUUUbxbZZVUUUUQLNWZZX
ZZXVJGXZXUUUUUUUUOLOZZZZZZZZZZOLgylYUUbzzgVYLLJosqqdFxxXUUUUUUQLOUUUbykZZZXUUVWUUVVkkZZXUUUUUOLUZZXV
ZXXJGZZXUUUUUUUUUOLNXZZZZZZZZZXOJmybUUXxzmFPJLLnsqeLhzjUUUUUUUUUUUUUbzjZYZVUUUVUUUYmbZZXUUUUUNOWZZWV
ZZQFXZZVUUUUUUUVUOLJXZZZZZZZZZZXNGhYUVUjzxdGPLLfqtPGxyYUUUUUUUUUUUUUiyiZcZWUUUVVUVVYZZZXUUUUONVZZZUV
ZXZZXZXUUUUUUUUVUQLNXZZZXZZZXZZZXNNUUVUbzybGPLLGtcLgzkVUUUUUUUUUUUUUjybYcWWVUSWXVXWWZZZZUUUUNQXZZWUV
"
make_pixi(tulovo)

o=#FFFFFF
name="
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
.......ooooooooo....................................................................................
.......ooooooooooo..................................................................................
.......oooooooooooo.................................................................................
.......oooooo.oooooo.ooooo..oooooo...ooo.ooooo.ooooo.........oo......oooo.....oo....oooooo..........
.......oooooo.oooooo.ooooo..oooooo...oo..ooooo.ooooo.........ooo.....oooo.....oo..oooooooooo........
.......oooooo..ooooo.ooooo..oooooo..ooo..ooooo.ooooo........oooo.....ooooo....oo.oooooo...oo........
.......oooooo..ooooo.ooooo...oooooo.oo...ooooo.ooooo........ooooo....oooooo...oo.ooooo..............
.......oooooo..ooooo.ooooo...ooooooooo...ooooo.ooooo.......oooooo....ooooooo..oooooooo..............
.......oooooo..ooooo.ooooo....oooooooo...ooooo.ooooo.......oooooo....ooooooo..oooooooo..ooooo.......
.......oooooo.oooooo.ooooo....ooooooo....ooooo.ooooo.......ooooooo...oooooooo.ooooooo...ooooo.......
.......oooooo.oooooo.ooooo....ooooooo....ooooo.ooooo......oooooooo...oooooooooooooooo...ooooo.......
.......oooooooooooo..ooooo....ooooooo....ooooo.ooooo......oo.oooooo..oo.ooooooooooooo...ooooo.......
.......oooooooooooo..ooooo...ooooooooo...ooooo.ooooo.....ooo.oooooo..oo..oooooooooooo...ooooo.......
.......oooooooooo....ooooo...ooooooooo...ooooo.ooooo.....oo...ooooo..oo..oooooooooooo...ooooo.......
.......oooooo........ooooo...oo.oooooo...ooooo.ooooo.....ooooooooooo.oo...oooooo.ooooo..ooooo.......
.......oooooo........ooooo..ooo..oooooo..ooooo.ooooo....oooooooooooo.oo....ooooo.ooooo..ooooo.......
.......oooooo........ooooo..oo...oooooo..ooooo.ooooooooooo.....oooooooo.....oooo..ooooooooooo.......
.......oooooo........ooooo.ooo....oooooo.ooooo.ooooooooooo.....oooooooo......ooo...oooooooo.........
......................................................................................ooo...........
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
"
make_pixi(name)

PRINT:
x=-40 y=30 q=1

NOISE:
effector( SNEG, 256, 0, -128, -96, 256, 192, 7 )
effector( BLUE, 256, 0, -128, -96, 256, 192, 7 )

n=( sin( get_timer( 0 ) / 4 ) / 2 + 128 ) / 16
m=( cos( get_timer( 0 ) / 4 ) / 2 + 128 ) / 64

if q<0 {pixi (tulovo,-m/6,m/6,1,n) pixi (golova,-n/6-2,5+n/6,1,1)}

effector( SNEG, 256, 1, x-10, y-5, 100, 36, 1)
effector( SNEG, 256, 2, x-10, y-5, 100, 36, 1)
pixi (name,0,15+y,1,1)
effector( BLACK, 256, 0, x-5, y+4, 88, 19, 2 )

if q>0 {pixi (tulovo,-m/6,m/6,1,n) pixi (golova,-n/6-2,5+n/6,1,1)}

frame(30) clear
y+q
if y=-80 {q=-q}
if y=40 {q=-q}
goto NOISE
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

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

Avatar - как я его делал

Post by Al_Rado » Fri Dec 28, 2007 3:12 pm

Может кому пригодится, как я делал анимированного аватара, подробно:

1. Нарисовал самого персонажа используя Corel Photopaint и граф.планшет Wacom (естественно можно было воспользоваться Gimp’ом и мышкой)
2. Отделил «голову» от «туловища» персонажа и дорисовал «туловище», т.к. оно будет двигаться – «дышать», дабы не было «дырок»
3. Разместил обе части персонажа на двух разных файлах, но на прежних местах – не совсем экономично, но зато более просто с последующим выводом на экран
4. Написал «имя» - текст, который будет «летать» вокруг
5. Сохранили все три файла в одну папку. Размеры «головы» и «туловища» одинаковые – 100х119 (этот размер, естественно, может быть любым), размер текста – 100х30. Вот скриншот http://www.ljplus.ru/img4/a/l/al_rado/Avatar_scrsht.jpg

Теперь, написал и запустил вот такую прогочку, которая переводит GIF-ки в текстовый вид (собственно, можно и пропустить этот шаг, это для удобства переноса программки Avatar):

resize_pixi (0,100,115)
golova = load_pixi("golova.gif")
pixi (golova)
frame
save_screen ("golova.txt",-50,-58,100,116)
clear
tulovo = load_pixi("tulovo.gif")
pixi (tulovo)
frame
save_screen ("tulovo.txt",-50,-58,100,116)
clear
name = load_pixi("name.gif")
pixi (name)
frame
save_screen ("name.txt",-50,-15,100,30)

Скопировал из этих .txt файлов данные о картинках и поместил в основную прогу.
Да, т.к. я забыл что черный цвет при таком преобразовании превратится в прозрачный, пришлось заменить символы обозначающие черный в ненужных местах на другой, темный цвет (хотя удобнее это делать еще в граф.редакторе на мой взгляд).

Теперь, можно все происходящее на экране Pixilang’а записать в анимированный Gif.
Для этого, впишем в начале проги video_export_dither(1) video_export_gif( "video.gif" ).
Аватар готов в общем виде.
Загружаем в граф.редактор video.gif и в зависимости от требований к аватару, выбрасываем лишние кадры, меняем размер и время показа кадров.
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

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

Re: Avatar

Post by NightRadio » Fri Dec 28, 2007 3:39 pm

Классно получилось!
Включу в релиз, если не против.

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

Re: Avatar

Post by Al_Rado » Fri Dec 28, 2007 4:06 pm

Хе, я конечно за!
ВекторКодПиксельПолигон - ВотЧтоЯЛюблю!

Post Reply