![return actor stencyl api return actor stencyl api](https://cdn-images-1.listennotes.com/podcasts/puttin-in-work-with-jono-pech-jono-pech-TCI5FD9MpGN-sRPDvwJ1B-9.1400x1400.jpg)
But right now, it doesn’t even take over after a controller key is no longer pressed. If the physics “timeline” took over in between JavaScript intervals, that might be a workable hybrid environment for many types of games. Note: this is when Gravity is set to zero. If I move an element with JavaScript, and it stops at a location that overlaps another physics element, there’s no reaction. Typically timelines will own the properties (even after animations have stopped), but since physics keeps trying to own the properties, it will nearly immediately take ownership back after an animation is complete. So when timelines run they take ownership. When one timeline has ownership, another timeline will not be able to manipulate it. You can think of Physics as another timeline.
![return actor stencyl api return actor stencyl api](https://artworks.thetvdb.com/banners/v4/series/263292/posters/6162a6d8bbea8.jpg)
But in an app, that can be huge space savings. Why create the “thin” JavaScript if there’s physics involved? Why create the “PIE” file if old versions of Internet Explorer are not supported? On a server, that file space might not matter too much. Perhaps Hype should do that automatically. The good news is that I can dramatically reduce the size of the app by excluding some of the exported files. I have to wait about a week for Apple to review my apps. That’s because lots of customers will likely skip an app if it’s too large. Excluding a lot of extra junk in the app basically translates into more sales.
#RETURN ACTOR STENCYL API DOWNLOAD#
Even if compressed exporting took an hour or a day to run, that still makes sense to run as it saves server resources, while increasing performance and download times for visitors.Ĭurrently, I’m building an iOS app with Hype. With most of my Hype projects, they live on the server for years and rarely get updated. If the compressed version was 10 minutes long, developers would still probably use it though. Is it ridiculous though? I’m imagining developers presented with a prompt…
#RETURN ACTOR STENCYL API FULL#
Minification takes a lot of time (~10 seconds for the full build on my hw), so we really need to minify the javascript when we build the Hype app otherwise exports/previews will be a bit ridiculous :).