User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Make browser version size same as game window size

  1. #1
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    markg's Avatar
    Join Date
    Jul 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Make browser version size same as game window size

    My game window size is 1024x768

    When I build and run the html version it appears in the browser at 1280x960

    How do I prevent this? I.e. How do I get the game window to be 1024x768 in the browser?

    Sorry if I'm being dense. I have tried searching and reading various posts but I seem just to get more confused. So I'd be very grateful if someone could explain this to me as simply as possible.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,549
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    are you sure teh window size in display properties is set as 1024x768?

    can you share your windows display properties (image) here
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    markg's Avatar
    Join Date
    Jul 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You mean this?

    clickteam01.jpg

    In fact whenever I build and run any game the browser version is always scaled up to 1.25x the game window size.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,549
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    a link for test this? will help to see what could it be
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    markg's Avatar
    Join Date
    Jul 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mfa file with game window size of 1024x768

    www.fizzhog.com/testgame/testgame.mfa

    Game built from this file displaying at 1280x960

    www.fizzhog.com/testgame/index.html

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,549
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    hmm weird it says 1024x768

    for me in edge and chrome

    see that always the aspect ratio is 1.333333

    can you show an image
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    markg's Avatar
    Join Date
    Jul 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For me it displays larger - 1280x960 - in Firefox, IE and Chrome

    www.fizzhog.com/testgame/clickteam02.jpg

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,549
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    can you reduce a little bit your window so I can see teh aspect ratio, here Is very close to 1.3333 and consistent with 1115x867
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    markg's Avatar
    Join Date
    Jul 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think we might be talking at cross purposes here. The aspect ratio is not the problem. The aspect ratio is fine. I have a game where the window size is 1024x768. When I build and run the exe it runs as 1024x768. When I build and run the html version it displays in the browser at 1280x960. I want the browser version to display as 1024x768.

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,549
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    wonder why I check your mfa, your page and all of them are given here the correct size, the canvas is set to 1024 x 768

    here is a small video see that the image canvas is approx. to teh one set by you, teh diff, is because I grab more or less pixels

    https://drive.google.com/file/d/1kjz...ew?usp=sharing

    can you do teh same at your side and share a video, But before that can you check if the zoom is set to 100%
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Make window larger than screen size
    By 2xD in forum Fusion 2.5
    Replies: 0
    Last Post: 25th March 2016, 04:49 PM
  2. window size and frame size for iphone / ipad
    By lachmandoo in forum iOS Export Module 2.5
    Replies: 0
    Last Post: 20th January 2016, 03:30 AM
  3. Replies: 1
    Last Post: 1st December 2015, 09:53 AM
  4. How to make window stretch to screen size?
    By BalinKingOfMoria in forum Fusion 2.5
    Replies: 2
    Last Post: 5th December 2014, 08:10 PM
  5. How do I make games scale to the window size?
    By 7cubed in forum Fusion 2.5
    Replies: 5
    Last Post: 28th June 2014, 04:07 AM

Posting Permissions

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