• Contact
  • Privacy Policy
  • Disclaimer

MCDB

  • DROPDOWN MENU
  • About
  • Template
  • Tutorial SEO
  • Senjata NgeBlog
  • Sitemap
  • More
    • Kode Warna
    • Template
    • SL Wuss V2
    • SL Wuss V3
    • SL Super Fast
Home » AS3 » Scripting » Pixel Avatar Maker

Pixel Avatar Maker

Posted by MCDB on Wednesday, July 18, 2018
Label: AS3, Label: Scripting

 Did this elementary flash tools to brand your ain pixel avatar during  Pixel Avatar Maker
Did this elementary flash tools to brand your ain pixel avatar during 2013, which tin endure role every bit your social media profile pic.

Pixel Avatar

Below are only about quick possibilities of what you lot tin practise alongside this editor.

 Did this elementary flash tools to brand your ain pixel avatar during  Pixel Avatar Maker

Behind The Scene

Programming this is real simple. I genuinely pass to a greater extent than fourth dimension creating the graphics. If you lot create upwardly one's heed to brand your ain avatar maker inwards Flash, at that topographic point are exclusively few things you lot necessitate to know

Changing Graphic Option
Different graphic sections (Hair, Eye, Mouth, Nose...) are shop inwards dissimilar MovieClip as well as nested inwards a mind MovieClip. Different options (Hair style1, Hair mode 2, Hair style3...) are shop inwards dissimilar frames. Then, you lot tin only "gotoAndStop" on a item frame. For example:

 mcAvatar.hair.gotoAndStop(2); 


 Did this elementary flash tools to brand your ain pixel avatar during  Pixel Avatar Maker In my case, the file size is quite modest as well as I am doing this all past times myself, as well as therefore I only did all the graphics inwards i SWF. You could in all probability did a constituent to charge graphics from external swf/jpg/gif.

Changing Color
To alter color, you lot only necessitate to tint the movieclip. For example:

  var tmpColor:Color=new Color(); var tmpTint:uint = e.target.selectedColor; //value from colorpicker element     tmpColor.setTint(tmpTint,1); mcAvatar.hair.transform.colorTransform = tmpColor;  


 Did this elementary flash tools to brand your ain pixel avatar during  Pixel Avatar Maker You in all probability volition also desire to farther split the graphic into to a greater extent than section, every bit tinting a MovieClip, volition alter the whole clip color.

Exporting Image
To export icon from ActionScript. Download as well as install AS3CoreLib. Then you lot tin role the next script to export image.

  import com.adobe.images.JPGEncoder; var tmpBitmap:BitmapData=new BitmapData(mcAvatar.width, mcAvatar.height); tmpBitmap.draw(mcAvatar);    var tmpJPG:JPGEncoder = novel JPGEncoder(100); var tmpByte:ByteArray;  tmpByte = tmpJPG.encode(tmpBitmap);       var tmpFile:FileReference=new FileReference(); tmpFile.save(tmpByte, "avatar.jpg");   


Pixel Me!

You tin endeavor to pixel avatar maker inwards my deviantart. This is educate alongside Flash AS3, as well as therefore you lot powerfulness non endure able to sentiment alongside your mobile phone.

 Did this elementary flash tools to brand your ain pixel avatar during  Pixel Avatar Maker

Reference

Pixel Avatar Maker Deviantart

0 Response to "Pixel Avatar Maker"

← Newer Post Older Post → Home
Subscribe to: Post Comments (Atom)

All Blogger Tricks

POPULAR POSTS

Most Comennted

Blog Archive

  • ▼  2018 (151)
    • ►  November (2)
    • ►  October (14)
    • ►  September (15)
    • ►  August (16)
    • ▼  July (15)
      • Rejected Comic
      • 3D Homecoming For Comic
      • Anime Background Pigment Over Photo
      • Guy Vs Cat
      • Comic Fiesta 100 Days Countdown 2014
      • Optical Illusion Editor
      • Pixel Avatar Maker
      • Blue Evening
      • Painting Anime Motorcoach Terminate Scene
      • Comic Fiesta 100 Days Countdown 2015
      • Painting Cotton Fiber Cloud
      • Tower Of Hanoi Flash Game
      • Painting Anime Cumulus Cloud
      • Blender3d Diamond Material
      • Painting Anime Tree Using Firealpaca
    • ►  June (15)
    • ►  May (16)
    • ►  April (15)
    • ►  March (15)
    • ►  February (14)
    • ►  January (14)

About Us!

Risalah Islam

Kategori

  • AfterEffects
  • Animation
  • Artwork
  • AS3
  • Blender3D
  • Comic
  • Download
  • FireAlpaca
  • Flash
  • Font
  • Game
  • MedibangPaint
  • MotionGraphics
  • Photoshop
  • Pixel
  • Scripting
  • Tutorial
  • Vector
Copyright 2015 MCDB. All Rights Reserved. Template by SL Blogger and CB Blogger. Original Theme by Mas Sugeng. Powered by Blogger