It's cheap, it's cheesy, but I would recommend setting the
screen
resolution using Buddy API. The appearance -- and
performance -- of the
game will be MUCH better than if you use the drawrect to
scale the
stage. Lots of games work this way.
baSetDisplay or baSetDisplayEx are the BuddyAPI functions
that allow
this kind of switching,
htt
p://www.directorforum.de/showthread.php?t=1292 and other
places have
info, and keep in mind that you'll want to restore the
user's previous
screen resolution on quit.
cheers,
jamie
On Jun 13, 2006, at 12:00 PM, lingo-l-request lists.fcgnetworks.net
wrote:
>
> Hi,
>
> I am looking into resizing my stage to the width of the
current
> monitor resolution (with the height being scaled
accordingly to keep
> the aspect ration constant).
>
> What I am finding is that Director does not do this
very gracefully
> (hey here's something Flash does sort of, ...
better...) and some of
> my castmembers on stage do look very pixelated
(especially text
> members).
>
> Is there anything that can be done - apart from scaling
the font size
> up and down according to the resolution (which I have
done before for
> a project, but it's been years, and a pain back
then...)
>
> Thanks,
>
> --
> Nik C
>
>
> ------------------------------
>
> [To remove yourself from this list, or to change to
regular
> (non-digest) mode, go to http://www.penwor
ks.com/lingo-l.cgi To post
> messages to the list, email lingo-l penworks.com (Problems, email
> owner-lingo penworks.com). Lingo-L is for learning and
helping with
> programming Lingo. Thanks!]
>
>
> End of Lingo-l Digest, Vol 20, Issue 13
> ***************************************
>
[To remove yourself from this list, or to change to digest
mode, go to http://www.penwor
ks.com/lingo-l.cgi To post messages to the list, email
lingo-l penworks.com (Problems, email owner-lingo penworks.com). Lingo-L is for learning and helping
with programming Lingo. Thanks!]
|