April 28, 2024, 01:47:58 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Changing Resolution
« previous
next »
Pages: [
1
]
Print
Author
Topic: Changing Resolution (Read 2688 times)
0 Members and 1 Guest are viewing this topic.
greg
Lurker
Karma: 0
Offline
Posts: 18
Changing Resolution
«
on:
April 10, 2007, 05:22:40 AM »
Is it possible to change resolutions in the middle of the game? My game is 1024x768, but, to save disk space, when playing full-screen cinematics (in Theora format), I would like to change the resolution to 640x480, so that 640x480 videos appear to be full-screen.
Alternately, is it possible to scale an 640x480 Theora file in WME so that it fills the entire 1024x768 screen?
Thanks,
Greg
Logged
odnorf
w00t?
Global Moderator
Addicted to WME forum
Karma: 7
Offline
Gender:
Posts: 1456
Lamp dog!
Re: Changing Resolution
«
Reply #1 on:
April 10, 2007, 06:14:44 AM »
It's not possible to change resolution while you are in-game but you can scale videos.
Check
http://docs.dead-code.org/wme/generated/scripting_ref_game.html#PlayTheora
for Game.PlayTheora(Filename, Type, X, Y, FreezeMusic, DropFrames)
where
type
defines if the video will be stretched or not.
In case you are using the method PlayTheora for entities you can affect the scale with the Scale attribute.
Logged
fl*p
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Changing Resolution