Skip to content

Scale To Fit is not working #175

@donguseo

Description

@donguseo

Hi.

I'm dong-u seo.

I tried to use the function, named "scale to fit", but it looks not working in my case.
This is the code I wrote.

<!DOCTYPE HTML>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TEST</title>
    <script src='http://cdn.html5quintus.com/v0.2.0/quintus-all.min.js'></script>
    <script src='test.js'></script>
</head>
<body>
</body>
</html>
var Q = Quintus().include("Sprites, Scenes, UI, Touch, Input")
   .setup({
      width:   600, // Set the default width to 800 pixels
      height:  800, // Set the default height to 600 pixels
      scaleToFit: true // Scale the game to fit the screen of the player's device
    }).touch();

The other functions look OK for me.
But the only "scale to fit" function is not working.
If you know how to fix this please let me know.

Bye.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions