Home › Forums › General Questions › Are Puzzles Supported in Custom Applications?
- This topic has 5 replies, 3 voices, and was last updated 6 years, 11 months ago by Will Welker.
-
AuthorPosts
-
2017-11-30 at 9:18 pm #953jemCustomer
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,
JemJeremy Wernick
2017-12-01 at 3:50 am #959Will WelkerCustomerI 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)2017-12-01 at 7:47 am #962Yuri KovelenovStaffYeah, 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.2017-12-01 at 10:43 pm #979jemCustomerHi Yuri. Are you suggesting that I modify player.js to fit my needs? Might custom applications support puzzles directly in a future release?
Thanks,
JemJeremy Wernick
2017-12-02 at 8:10 am #980Yuri KovelenovStaffHi 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.
2017-12-02 at 12:30 pm #987Will WelkerCustomerAh, that makes more sense now.
-
AuthorPosts
- You must be logged in to reply to this topic.