We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Are Puzzles Supported in Custom Applications?

Home Forums General Questions Are Puzzles Supported in Custom Applications?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #953
    jem
    Customer

    Something changed with custom Verge3D applications from version 1.0.0 to 1.0.1. Puzzles are not available from Verge3D app manager when custom application is selected in the new version. The option for puzzles is disabled. See screen shot. Is this intended functionality? If so, does this mean that puzzles require the player?
    Thanks,
    Jem

    Jeremy Wernick

    #959
    Will Welker
    Customer

    I noticed this as well.
    From the release note:

    The Puzzles editor is now linked directly to your application and not to the stock player. This way you can now add JS code to your apps hassle-free and use Puzzles at the same time. Particularly, you can properly implement interaction between code and Puzzles via External Interface. The corresponding demo app was updated to reflect these changes.

    This seems to indicate that Puzzles should be usable for custom applications.
    I noticed that in the applications directory, I could copy the custom_call folder and save it under a new name. It would then appear in the App Manager with Puzzles enabled. (maybe a short term work-around)

    #962

    Yeah, custom applications intentionally made without Puzzles due to certain technical restrictions. Adding Puzzles to a custom app is still possible but should be done manually.
    However, you can always create a Player-based app and modify its code as it fits your needs.

    Chief 3D Verger | LinkedIn | Twitter

    #979
    jem
    Customer

    Hi Yuri. Are you suggesting that I modify player.js to fit my needs? Might custom applications support puzzles directly in a future release?
    Thanks,
    Jem

    Jeremy Wernick

    #980

    Hi Jem,

    In 1.0.1 update we re-worked app creation options. By default, an application is initialized with the following options enabled:
    ‘Player-Based’, ‘Create Starter Files’ and ‘Use Puzzles’.
    This means, that the stock player will be copied into your app folder and renamed. This way it won’t be using stock player files anymore. So you can freely modify the copied JavaScript file, adding any new functionality.

    On the contrary, the ‘Custom’ generates a very basic set of files (no Puzzles for example). This option is more close to the original Three.js approach and should be considered for creating pure JavaScript-coded applications.

    I’d recommend to stick to the ‘Player-Based’ option since it can be conveniently used by programmers and designers at the same time.

    Chief 3D Verger | LinkedIn | Twitter

    #987
    Will Welker
    Customer

    Ah, that makes more sense now.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.