Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › "SpineSkeleton" version 2.0 is defined more than once in module "VPlay"

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

    Markus Kahl

    I’ve been trying to read a file in my game but it doesn’t work.

    Writing

    FileUtils.readFile("<file path>")

    I get an error saying “readFile is not a function”. Now in all the code it says ”

    import Felgo 3.0

    but in the documentation I found that FileUtils.readFile is only available from 2.17 onwards (https://felgo.com/doc/fileutils/).

    So I tried importing a more recent VPlay via

    import VPlay 2.18

    But doing that I get the error from the title when trying to run my game:

    ...Qt_5_11_1_MinGW-Debug/qml/Main.qml:1 "SpineSkeleton" version 2.0 is defined more than once in module "VPlay"

     

    All I want to do, really, is read a CSV file and use its contents in my game. How do I do that?

    #20822

    Markus Kahl

    Erm, well, it turns out it has to be fileUtils with a small f, not a capital F. Never mind!

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

RSS feed for this thread

You must be logged in to reply to this topic.