Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Image not updating

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15507

    Isak

    Hello,

    I have an bgImage that i changed but everytime i run the project it loads the old image that isnt even in the project anymore. Does Qt Creator have some kind of cache or what am i doing wrong?

     

    import Felgo 3.0
    import QtQuick 2.0
    
    GameWindow {
        id: gameWindow
    
        // You get free licenseKeys from http://felgo.com/licenseKey
        // With a licenseKey you can:
        //  * Publish your games & apps for the app stores
        //  * Remove the Felgo Splash Screen or set a custom one (available with the Pro Licenses)
        //  * Add plugins to monetize, analyze & improve your apps (available with the Pro Licenses)
        //licenseKey: "<generate one from http://felgo.com/licenseKey>"
    
        activeScene: scene
    
        // the size of the Window can be changed at runtime by pressing Ctrl (or Cmd on Mac) + the number keys 1-8
        // the content of the logical scene size (480x320 for landscape mode by default) gets scaled to the window size based on the scaleMode
        // you can set this size to any resolution you would like your project to start with, most of the times the one of your main target device
        // this resolution is for iPhone 4 & iPhone 4S
        screenWidth: 640
        screenHeight: 960
    
        Scene {
            id: scene
    
            // the "logical size" - the scene content is auto-scaled to match the GameWindow size
            width: 320
            height: 480
    
            ParallaxScrollingBackground {
                movementVelocity: Qt.point(0,50)
                ratio: Qt.point(1.0,1.0)
                anchors.centerIn: parent
                sourceImage: "../assets/Space.png"
    
            }
    
    
    
        }
    }
    

     

    #15509

    Isak

    I figured it out, i deleted the folder with build and now it seems to work again:)

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded