Koj yuav txuag tau cov duab li cas hauv kev ua haujlwm?
Koj yuav txuag tau cov duab li cas hauv kev ua haujlwm?

Video: Koj yuav txuag tau cov duab li cas hauv kev ua haujlwm?

Video: Koj yuav txuag tau cov duab li cas hauv kev ua haujlwm?
Video: Rov Ntsib Koj Zaum Ob BY Nuj Xeem nkauj Tshiab -13/02/2021 2024, Kaum ib hlis
Anonim

Rau cawm ib duab uas zoo ib yam rau lub qhov rais tso saib, khiav txoj haujlwm kawg ntawm kos() lossis hauv nas thiab cov xwm txheej tseem ceeb xws li mousePressed() thiab keyPressed(). Yog tias saveFrame() raug hu tsis muaj kev txwv, nws yuav cawm cov ntaub ntawv li screen-0000.

Tsis tas li ntawd, kuv yuav muab cov duab tso rau hauv kev ua haujlwm li cas?

duab.

Ib yam li ntawd, qhov twg ua cov ntaub ntawv khaws tseg? Cov no cov ntaub ntawv yog cawm mus rau sketch's folder, uas tej zaum yuav qhib los ntawm xaiv "Show sketch folder" los ntawm "Sketch" ntawv qhia zaub mov. Xwb, lub cov ntaub ntawv tuaj yeem yog cawm mus rau txhua qhov chaw ntawm lub khoos phis tawj los ntawm kev siv txoj hauv kev meej (ib yam dab tsi uas pib nrog / ntawm Unix thiab Linux, lossis tsab ntawv tsav ntawm Windows).

Tsuas yog li ntawd, koj yuav txuag tau li cas hauv kev ua haujlwm?

Rau cawm ib daim duab uas zoo ib yam rau lub qhov rais tso saib, khiav txoj haujlwm kawg ntawm kos() lossis hauv nas thiab cov xwm txheej tseem ceeb xws li mousePressed() thiab keyPressed(). Yog tias saveFrame() raug hu tsis muaj kev txwv, nws yuav cawm cov ntaub ntawv li screen-0000. tif, npo-0001.

Yuav ua li cas kuv thiaj li export cov duab kos duab siab?

Qhib koj Sketch cov ntaub ntawv, xaiv ib txheej, ntau cov khaubncaws sab nraud povtseg lossis artboard thiab nyem Ua Exportable nyob rau hauv qab sab xis ces kaum. Xyuas kom meej tias hom ntawv tau teem ua JPEG hauv hom ntawv poob. Kho cov daws teeb meem loj thiab ntaus Export (xws li Export txheej los yog Export [lub npe ntawm daim duab]).

Pom zoo: