• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

HTML5 canvas buttons not working when export

New Here ,
Mar 06, 2021 Mar 06, 2021

Copy link to clipboard

Copied

When I test the project the buttons work just fine but when I try to export, the buttons become unresponsive. I think that it may have to do with my publish settings but I'm not sure. Plz help me

TOPICS
Code , Other

Views

421

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2021 Mar 06, 2021

Copy link to clipboard

Copied

open your browser's developer console and check for errors.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 10, 2022 Nov 10, 2022

Copy link to clipboard

Copied

Hey kglad,

The thing is that the user interface of animate is so well crafted and helps with code snippets and stuff that it should work when exported - People that are not able to check for code for errors work with animate, because they are not used to code. It seems to be often the case that "actions" do not work when exported. Found realy often this issue... is there maybe something that is wrong in the export settings? Cause if tested it already works - and to have the assumption that an already tested project should work when it is exported seems not feasable with animate...
Thanks for any other adive 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 11, 2022 Nov 11, 2022

Copy link to clipboard

Copied

animate doesn't check for a lot of things that cause errors.  and it gives some warnings that a lot of people ignore and then come here an don't understand why their code is failing.

 

i've never seen a report of someone saying their error-free code wasn't included and working in the published work.  and saying "actions" don't work, imo is more accurately stated: you made an error causing the actions to "not work".

 

if you think otherwise, post your best example.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 11, 2022 Nov 11, 2022

Copy link to clipboard

Copied

the biggest bug alwasys sits behind the keyboard - that is what we can agree on 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 11, 2022 Nov 11, 2022

Copy link to clipboard

Copied

what bothers me thou is that the test often works with the actions that are based on porvided code snippets but the exported version doesn´t - that is where a lot of frustration is built up...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 11, 2022 Nov 11, 2022

Copy link to clipboard

Copied

that will happen if you're opening the locally saved html or you upload your files to a server but fail to upload them all.

 

if you think otherwise, show an example.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2024 Feb 12, 2024

Copy link to clipboard

Copied

LATEST

When I had this issue, it was because having both bitmaps and buttons in the same export was some sort of esoteric security risk. I didn't have any bitmaps in the file, but it was converting all my gradients into them. Go to publish settings and tell it to export image assets as Image Assets instead of as Textures. That'll fix it if it's the same problem as me.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines