How could I embed my GS arcade game on Wix website?

Miss ChuiMiss Chui Member, PRO Posts: 51

I am going to build a website by Wix, and want to embed my GS arcade game on the website. On my website, user can play all my GS arcade game online. Could anyone tell me whether it is possible to do it? How could I do this?

And also, I have some questions about building the GS arcade game.

1) Is it only one dimension I can use for the GS arcade game? Can I choose another dimension for my game?

2) Is it possible for me to add ad monetization in my GS arcade game?

Answers

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    You can choose any dimension.

    You can't add monetization to arcade games. You would need to publish to an HTML5 target, download that, edit the index file, and then upload it to Wix.

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    Thanks. So why each GS arcade game page has a embed link?How could I use that embed link?

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200
    edited June 2022

    You can embed the game for sharing, but not monetize (we don't currently show ads so it's only a mechanism for easy sharing).

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    May I know whether i need to publish the HTML5 as that picture (with these 7 steps only)?

  • pinkio75pinkio75 Member, PRO Posts: 1,217
    edited September 2022

    2) Is it possible for me to add ad monetization in my GS arcade game?

    R: No in GS Arcade but you can monetize your HTML5 games but you need to edit the sample-index.html file; actually i publishing my html5 games

    on y8; GamePix and Game Monetize.

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    Is that I just need to do these 7 steps to publish the html5 game?

  • pinkio75pinkio75 Member, PRO Posts: 1,217
    edited September 2022
  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    This may also help, once you get the HTML5 game files:

    https://support.wix.com/en/article/wix-editor-adding-code-to-your-site

  • Miss ChuiMiss Chui Member, PRO Posts: 51

    @adent42 @pinkio75

    Thanks for your reply.

    I have tried to publish my HTML5 game. I have already downloaded my HTML5 game files, but I still do not know how to embed it on wix.

    https://support.wix.com/en/article/wix-editor-adding-code-to-your-site <- May I know which step I need to follow? Or do I need to upload my HTML5 file in somewhere on the internet? Sorry I have not much idea for this issue, thanks in advance for everyone who reply me. Thanks.

  • pinkio75pinkio75 Member, PRO Posts: 1,217
    edited September 2022

    Hi probably you need to edit the sample-index.html file to include their Api or something else.

    Sorry but i'm not able to do this thing.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200
    edited September 2022

    @Miss Chui it looks like there's no possibility of uploading js files to wix, which means you can't host gamesalad HTML5 games on Wix. The "easiest" solution is to host the files elsewhere and then embed them into Wix.

    I'm setting up a Wix site to confirm that this is the case and will let you know more when I find out.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200
    edited September 2022

    Okay, I think I found what is needed, but it's a bit tedious.

    You can't directly upload files into wix, but you can create files in the "Public" folder.

    Look for the { } on the left side menu. When you click on that, you can see the "Public" section.

    You would need to reproduce the directory tree of the downloaded HTML5 project by create the folders and javascript files. Then copy paste the content of each file into the corresponding editor.

    I'm going to try to find a quicker way to do this, but this seems the way to do things for now.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    Nevermind, that solution doesn't let you upload images, just text files. I think the quickest solution is to publish to GameSalad Arcade and then use the embed code to embed the game on your website. You can "privately" publish HTML5 games so that they ware not listed on our arcade.

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    I tried to do that. I have published my Game to GameSalad Arcade, and then used the embed code to embed the arcade site. But may I know how could I just embed the game window, instead of embed the site? (At least I don't want these headline of the site to be shown on my page.)

  • Miss ChuiMiss Chui Member, PRO Posts: 51

    @adent42

    https://youtu.be/v_D1Q2wFzzg

    I found this youtube video, may I know whether it is useful for my case? Do I need to purchase an extra hosting service? Or can I do it on Wix? Or can I just published it on GameSalad Arcade and embed it in wix page? Thanks very much for answering my question, thanks thanks.

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    Sorry, I do not understand how to do it. I cannot find the {} on the left side menu.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    Sorry for the flurry of stream-of-thought answers. The quick answers:

    • Easiest is to publish to arcade and embed the game as a custom HTML5 snippet or iframe object.
    • If you don't want to depend on GameSalad servers, you will need to purchase an extra hosting service. The cheapest I could think of is Amazon S3. You could drop the files in an S3 bucket and make them public. Then you could embed the game in your wix site from there. That's what we use for GameSalad Arcade.

    I hope that helps!

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    From another Youtube video an option is https://www.netlify.com/ which has a free tier for a limited amount of hosting.

    After you sign up you'll see:

    Scroll down to "...or deploy manually"

    Drag the unzipped folder for the GameSalad HTML5 app (or select it by clicking "browse to upload"


    You'll see something like this. Just click: "Deploy your site" and will take a while, but it will upload it to their servers.

    This will take quite a while, but it's free, so we can't complain, right? Well, I guess we could.

    I'll update this post with more images / instructions once we get past this step...

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    FYI we never got our netlify deploy working. Looking at their docs there seems to be some file size limits. If you have music or sound over a 9mb their CDN will have problems with the deploy. We're going to try another game later this week to see if this will be a viable option for our users.

  • Miss ChuiMiss Chui Member, PRO Posts: 51
    This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.

    Thanks for letting me know. Thanks a lot.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,200

    @Miss Chui if you reach out to our support team (the blue chat bubble), we'll do what we can to try to help you out. Cheers!

  • @Miss Chui you can reach out to PubScale. They can help you with this.

Sign In or Register to comment.