A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: how do i change my games resolution?

  1. #1
    Senior Member
    Join Date
    Aug 2005
    Posts
    225

    how do i change my games resolution?

    http://newgrounds.com/portal/view/275185

    i was playing this game and i noticed that in the options it lets you scale down the movie. Anyone know where i can get a tutorial on this?

  2. #2
    (...)
    Join Date
    Nov 2005
    Location
    Switzerland
    Posts
    102
    I think, it loads the game just in another MovieClip, and scales this one per width and height. Would be the easiest way to do this.

    Maybe you meant the quality of the game, this is easy to done with _quality..

    mfg Dave
    code:

    #include "signature.as"


  3. #3
    Senior Member
    Join Date
    Aug 2005
    Posts
    225
    how do u scale the game using actionscript?

    PS: no this isnt _quality

  4. #4
    Nick Fisher
    Join Date
    Jul 2003
    Location
    Boston UK
    Posts
    97
    The game is in one MC which is scaled down using _xscale and _yscale.
    Nick

  5. #5
    Senior Member
    Join Date
    Aug 2005
    Posts
    225
    oh i get it.

    i just use this

    this._xscale-=50
    this._yscale-=50
    Last edited by helpmeplz; 11-19-2005 at 05:20 PM.

  6. #6
    Nick Fisher
    Join Date
    Jul 2003
    Location
    Boston UK
    Posts
    97
    well it would be:

    this._xscale = 50
    this._yscale = 50

    but yeah, simple
    Nick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center