Forums

OverviewV-Play 1 SupportSingleSpriteFromFile::mirrorX › Reply To: SingleSpriteFromFile::mirrorX

OverviewV-Play 1 SupportSingleSpriteFromFile::mirrorX › Reply To: SingleSpriteFromFile::mirrorX
#6815

Heini

Hi Chris,

 

yes, I´ve found a working solution for the first issue.

 

To reproduce the second issue, please try the following code:

import VPlay 1.0
import QtQuick 1.1

GameWindow {
    activeScene: scene

    width: 960
    height: 640

    Scene {
        id: scene
        width: 480
        height: 320

        Clipping{
            id: clipping
            anchors.fill: parent

            Flickable{
                id: flickable
                anchors.fill: parent
                contentHeight: background.height
                contentWidth: background.width
                flickableDirection: Flickable.HorizontalAndVerticalFlick
                //clip: true //setting to true will have the same effect, even without using a Clipping

                Rectangle{
                    id: background
                    color: "white"
                    width: 1000
                    height: 1000
                }

                Image {
                    id: backgroundImage
                    width: 1000
                    fillMode: Image.PreserveAspectFit
                    source: "image.png"
                    y: 500
                  }

            }//end Flickable
        }//end Clipping

    }
}

I used this image for the example: http://www.directupload.net/file/d/3535/rgomymyl_png.htm

Here is a screenshot of the result when using the latest stable build: http://www.directupload.net/file/d/3535/t3kpgzfk_jpg.htm

And here is the result when using actual daily builds: http://www.directupload.net/file/d/3535/7ytsv63n_jpg.htm

 

Cheers,
Heini

  • This reply was modified 4 years, 8 months ago by  Guybrush.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support