The Daily Click ::. Forums ::. Klik Coding Help ::. window resize
 

Post Reply  Post Oekaki 
 

Posted By Message

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
22nd April, 2009 at 06:02:01 -

how to resize window to fit ENTIRE frame width and height during runtime

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49566

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
22nd April, 2009 at 13:59:31 -

Image

Or if you want to change the resolution from your starting resolution during runtime use the "Window Control Object."

 
n/a

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 01:29:59 -

already tried both of those. didnt work
btw during runtime

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
23rd April, 2009 at 01:39:16 -

Is the frame bigger or smaller than the window?
If you need to stretch the frame, then the Window Control object should do the job (I know you said you tried already, but I think you must have been doing something wrong).
If you need to shrink it to fit, then maybe the Viewport extension might work?


 
n/a

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 01:41:46 -

already tried window control, didnt work

the window is 640*480 and it needs to be 1280*960

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
23rd April, 2009 at 01:50:40 -

When you use the Window Control, are you using the Application Window actions or the Frame Window actions? You would want the Application Window actions, under Resize as opposed to Frame Window. Also, why would you change it during runtime? Why not by default? If you're planning on having it change for each level that could get both troublesome and annoying to the player...

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 01:57:46 -

I tried the options under resize already

Also if i make the window bigger than the frame, there is a border of plain color. I dont want that

i want the window to = the frame width and height. So it needs to change respectively

When i did the resize options, it just made the entire frame bigger, didnt include all of the frame

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
23rd April, 2009 at 02:12:38 -

Make sure that the window size set in the properties box, is bigger than your largest level (otherwise you'll get a border like you noticed) - you can just set it to some ridiculously huge size if you like.

Then, at the start of the frame, use the window control ("resize..." not "frame window...") to resize the view to the frame dimensions (from the storyboard controls).

And yeah, like Jon said - I don't think it's a good idea to resize the window between levels anyway. It would probably look better to just have your own decorative border to use up the empty space.

Edited by Sketchy

 
n/a

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 02:19:58 -

didnt work

can you make a file and give it to me?

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 02:19:59 -

i want no borders i just want to resize the frame
that is it
nothing more
nothing less

Edited by Dark Link

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!

RedEnchilada

formerly RedEchidna

Registered
  01/08/2008
Points
  301

VIP MemberWii OwnerThe Cake is a LiePicture Me This Round 24 Winner!
23rd April, 2009 at 03:11:44 -

You just want to change the window resolution? Are is it something actually complicated? I'm personally confused by this.

 
http://www.youtube.com/watch?v=WYrSD35vHo4
woooooooooooooooooaah maaaaaaaaaaaaaaaaaaaaan

Dark Link



Registered
  06/02/2009
Points
  90

VIP Member
23rd April, 2009 at 03:15:44 -

i want to change make the window in mmf2 to equal the width and heigth of a specfic frame

This frame is bigger than the normal window on all other frames.
I want the ENTIRE frame to be shown when it is played

 
http://www.create-games.com/project.asp?view=main&id=1554
Super Mario Conquest!
   

Post Reply



 



Advertisement

Worth A Click