Forums

OverviewV-Play 1 SupportLevelEditor: cant drag&drop/place BuildEntityButton › Reply To: LevelEditor: cant drag&drop/place BuildEntityButton

OverviewV-Play 1 SupportLevelEditor: cant drag&drop/place BuildEntityButton › Reply To: LevelEditor: cant drag&drop/place BuildEntityButton
#6425

Christian
V-Play Team

Hi,

from the log output in your first post, I assume you did not give the ItemEditor instance the id itemEditor, or you did not provide it as an alias in your main.qml file? Please see the StackTheBoxWithEditor demo how to do so.

Also, I would advise not to add a real Platform entity as child of your BuildEntityButton, but only a placeholder image that looks like the platform. Otherwise your entity would be created also in the physics world which is something you probably do not want. Also see the StackTheBoxWithEditor or the Squaby demo for more details how we have done it in real games.

Please let me know if you were able to solve these issues.

Cheers, Chris

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