Forums

OverviewV-Play 1 Support › Crash when Separating EntityBase into different qml file

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4757

    Caeser

    I am creating a game where entities are created dynamically using createEntityFromComponent(), however, when I place the EntityBase code in a separate qml file, the app crashes. When I place the code back exactly as it is, the app works. What am I doing wrong? According to the Simple Ninja Game tutorial, one comment states that I can place the the EntityBase in another qml file.

    #4758

    Christian
    V-Play Team

    Hi,

    could you post the relevant source part please? Is there any error message in the log? Usually creating entities from qml files should work equally fine as declaring them statically in a qml file.

    Cheers, Chris

    #4762

    Caeser

    Somehow it just stopped crashing again, very peculiar. There weren’t any error messages in the log, so I couldn’t figure out the problem. However, it’s all fine now.

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

RSS feed for this thread

You must be logged in to reply to this topic.

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