Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Current state of HTML5 support
Started by plicatibu Oct 29 2019 01:22 PM

- - - - -
3 replies to this topic

Best Answer Rob Miracle , 29 October 2019 - 05:00 PM

HTML5 is actually pretty complete and reasonably stable. I haven't heard a lot of issues with things not working. One thing that's not ported in the Lua socket library, and this is by choice. It was bloating the app too much. There may be some native.* items that haven't been made to work with HTML. Some things like native.newMapView() just doesn't make sense for HTML5 for instance. You can easily call JavaScript to bring up a Google Map. Most plugins are designed from mobile SDK's. They were never ported to Windows/macOS in the first place and it makes no sense to port them to HTML5. 

 

For the last question that's tricky. Right now Google and Apple are keeping our hand quite busy. We have to deal with Facebook soon and every changing ad plugins. I don't believe we will be working on HTML5 in the near future, unless a really bad bug rears it's head. Our interface with JavaScript is really good, so it's really extendable.

 

Rob

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

plicatibu

[GLOBAL: userInfoPane.html]
plicatibu
  • Observer

  • 21 posts
  • Corona SDK

I understand that support for HTML5 still is experimental.

That said, I'd like to know:

- how good are the generated code at the moment? Does it breaks all the time?

- what's the percentage of Lua API has been mapped to Javascript up to now?

- is there any ideia of when will it became stable for production like Android and iOS targets?

Thank you guys.

[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,681 posts
  • Enterprise

  Best Answer

HTML5 is actually pretty complete and reasonably stable. I haven't heard a lot of issues with things not working. One thing that's not ported in the Lua socket library, and this is by choice. It was bloating the app too much. There may be some native.* items that haven't been made to work with HTML. Some things like native.newMapView() just doesn't make sense for HTML5 for instance. You can easily call JavaScript to bring up a Google Map. Most plugins are designed from mobile SDK's. They were never ported to Windows/macOS in the first place and it makes no sense to port them to HTML5. 

 

For the last question that's tricky. Right now Google and Apple are keeping our hand quite busy. We have to deal with Facebook soon and every changing ad plugins. I don't believe we will be working on HTML5 in the near future, unless a really bad bug rears it's head. Our interface with JavaScript is really good, so it's really extendable.

 

Rob


  • pixec and plicatibu like this

[TOPIC: post.html]
#3

gianmichele

[GLOBAL: userInfoPane.html]
gianmichele
  • Enthusiast

  • 43 posts
  • Corona SDK

HTML5 is actually pretty complete and reasonably stable. I haven't heard a lot of issues with things not working. One thing that's not ported in the Lua socket library, and this is by choice. It was bloating the app too much. There may be some native.* items that haven't been made to work with HTML. Some things like native.newMapView() just doesn't make sense for HTML5 for instance. You can easily call JavaScript to bring up a Google Map. Most plugins are designed from mobile SDK's. They were never ported to Windows/macOS in the first place and it makes no sense to port them to HTML5. 

 

For the last question that's tricky. Right now Google and Apple are keeping our hand quite busy. We have to deal with Facebook soon and every changing ad plugins. I don't believe we will be working on HTML5 in the near future, unless a really bad bug rears it's head. Our interface with JavaScript is really good, so it's really extendable.

 

Rob

 

 

Hi Rob, 

 

any plan to do a round of optimizations/speed ups?
I've been testing HTML5 recently and I've found that with scrolling backgrounds, it doesn't run super smooth.

 

I've tried for example with both the Endless Sk8boarder and 1-800-monsters from Ponywolf

 

https://ponywolf.itch.io/1-800-monsters

 

As for the rest I think it works really great and should be out of beta! 

 

Thanks.



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,681 posts
  • Enterprise

I don't believe we have any HTML5 work scheduled at this time. Our next focus is changes to the iOS build system to bring it into a modern platform.




[topic_controls]
[/topic_controls]