Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

AS3 display scaling

Name: Anonymous 2012-04-27 23:25

I know my way around c++/opengl and other languages, and I started learning some AS3.  I'm trying to find out how I can draw to an area of say, 400x300 and have it scale to 800x600, anyone who's worked with it know?

Name: Anonymous 2012-04-28 1:38

Draw on a sprite/display object and then change the scale (a displayobject property).

You can also change the scaleX, scaleY etc if you're into that.

Name: Anonymous 2012-04-28 2:10

Thanks bro, just what i needed

Name: Anonymous 2012-04-28 8:18

This thread has peacefully ended

Name: Anonymous 2012-04-29 1:14

glViewport of? glScale

Name: Anonymous 2012-04-29 9:27

>>5
What part of ended did you not understand?

Name: bampu pantsu 2012-05-29 4:40

bampu pantsu

Name: Anonymous 2013-09-01 10:50



                 __,,.、__
               rァ':::/7`ヽ)   _,.-rァ-、
              __ }|::::| {:::::/ソ rソ':::;:/::::::!{
            r'7::::`ヽ、} !:::/ン/:://:::/ _,.-‐ァ、
            ,}>ー- 、;:_!ァ-'、<;:イン´>'":/:::/
          /:.:.;:.:.:.:.:.:.:.:.:.:ヽー'ー- 、;:.:.:ァ':::_∠`ヽ!
         /:.:.:.:./:.:.:.:;:.:.:.:.:.;.:.:.:.:.:.:.:.:.:.:.:.`'<、__コ {:.:.:',
         ,':.:.:.:.;':.:.:.:/」__:.:/!:.:.:.:.:';.:.:.:.: ';:.:.:.:.:.:ヽ:.:.:.:.:.:.:i
         !:.:.:.:.:!:.:.:/_」_:.:7 !:.:.__」:.:.___!:.:.:.:.:.:.:.:';.:.:.:.:.:.:!
         L___ハ:./'i´7.,ハヽ '、_:.:.:.!:.:.:.:.ハ:.:.:.:!:.:.:.:i:.:.:.:.:.:!
          )/:.:!ヘ. '、_ソ   `7‐ァ=‐'、.!.;:イ:.:.:.:ハ:.:.:.:.;'
          ,:':.:.:.:7.,.,.   ,     !  ハソ!/|:.:.;イ:::|{:.:.;ハ
        rイ:.:.:.:.;ハ,         `'ーン:.:.レ':.:}';::';!:/:.:.!
      ,rノ:ノ!:.:.:.:.'、:.iヽ.  ` ー   "'"ン':.:.:.:./:.!ヽ:::ヾ!ノ
    く_,ン´ '、:.:.:.:.:.ヽ、へ、,__  _,,..イ'.:.:.:.:.∠ン´}|::::!{
         r;>、:.:.:.:.Yr'"7  _/:.:.:.:.:∠ -‐''"}|:::::|{
          r'7   `r'">'r-‐ヒ___;,:.:.イ´ ヽ、 rソ_;ン
         i_ア   レ'"ム、__ナ        >、
         ,!」   __/(:.:.:ソ、       ./7´ヽ!
       /i_!  /ヽ、:::)'__;\__    /_ソ:::::::::::':,
        !,.へイ7:::::::::::Y::::::::::::::\   rン::::::::::::::::::',
     /、::::::::::::,i::::::::::!::::::::::::::::::::\ /」::::::::::::::::::::::::〉
      `ヘr-、_r,/::::><::::::::::::::::::::r'__;;:-、___::::::::ハ
        !    |::::/ム::::::::::::::::::/    ソ'ン'"´

Don't change these.
Name: Email:
Entire Thread Thread List