- This topic has 6 replies, 2 voices, and was last updated 2 years, 1 month ago by Mariusz.
-
AuthorPosts
-
2022-11-03 at 2:21 pm #57052MariuszCustomer
Hi guys! In my configurator, the user can download the PDF with the configuration. In this PDF (created by using CyberFox plugin), I add a few screenshots, taken by a puzzle “take screenshot” and saved as variables. In general, the puzzle setup that you can see below works fine. But I am not happy that the actual PDF is generated after exactly 10 seconds (by using “after seconds” puzzle). I would like to fasten the process on fast devices, and ensure the proper amount of time for taking screenshots on slower devices.
So I would like it to be generated after the last screenshot is saved as a variable. If I put the “generate PDF” puzzle into the last “tween camera” “when finished do” slot, then it reloads the application on iOS on reaching this point instead of generating PDF. Using the procedure puzzle to generate PDF there also didn’t work.
Do you have any idea how can I make it work immediately after taking screenshots, and with no crushes on iOS?
Attachments:
You must be logged in to view attached files.2022-11-03 at 2:53 pm #57059kdvParticipantadd a small delay before taking screenshots and the same delay before generating PDF in the last
when finished do
slot.0.5
will be enough. It should work with no problems
https://cdn.soft8soft.com/…/cyber_fox_pdf_generator/index.htmlPuzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2022-11-03 at 4:20 pm #57067MariuszCustomerThank you kdv77kdv, I did it. Unfortunately, with no effect. My procedure for this PDF generation is quite long. But it was no problem so far. Recently, I changed the camera changing mode. Before “tween camera” I’ve been using “set camera” with a time delay. But “set camera” puzzle doesn’t have a slot “on finished”, and sometimes, when the device was lagging, the camera was forced to change because of time delay before the screenshot was taken.
With a “tween camera” puzzle, the screenshots are taken [usually] correctly. But I think this setup is a bit too ‘deep’ for iOS. Although I am not sure if my thinking is correct.
2022-11-03 at 4:28 pm #57069kdvParticipantWhat is the resolution of your screenshots? Do you change the screen scale?
I tested my demo in iOS withscale = window.devicePixelRatio
and it worked properly…Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2022-11-03 at 4:35 pm #57070MariuszCustomerI have the screen scale set to the “native screen scale” puzzle.
2022-11-03 at 4:38 pm #57071kdvParticipanttry to remove it and test again
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2022-11-03 at 5:01 pm #57074MariuszCustomerIt seems to work, thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.