About 'Publish Your WebGL Game'!

Hello, I just finished my titulating and thrilling adventure (lol) and was attempting to save it to sharemygame.com. When the game loads, there is a unity loading bar, then just a dark blue background. This also happens on itchio and local, so it has to be the build.

I did the WebGL Build and run, someone suggested it was the scene/sample scene option but that didnt work when unclicked them. any suggestions?

Enjoying the course so far.

thank you =)

Hi there!

Here is my work, I hope you like it!

Amnesia Text Game

Hi Rick!

Trying my game I found two main bugs that now are solved, but I think that could be usefull to share it.

The first bug was that we were using Alpha1, Alpha2, … to check the KeyDown event, but this is not working when using the keypad, so I change it for:

if(Input.GetKeyDown(KeyCode.Alpha1) || Input.GetKeyDown(KeyCode.Keypad1))

The second bug was that when using the Unity editor or the Html5 exported application, the Application.Quit() function was not working. So, after searching for a while I found this solution:

private void QuitGame()
{
#if (UNITY_EDITOR)
    UnityEditor.EditorApplication.isPlaying = false;
#elif (UNITY_STANDALONE) 
Application.Quit();
#elif (UNITY_WEBGL)
Application.OpenURL("about:blank");
#endif
}

The post is here:

Hope it helps!

1 Like

My son Kai and I just finished ours. It’s called “Kai’s Shoes” and it’s about a young boy who is getting ready for school, and can’t find his shoes.

http://www.sharemygame.com/share/296e2608-8773-4da5-b20b-80b5ccc104b2

I would love feedback.

1 Like

Hello,
My game ran perfectly in Unity but when i try to build and run it, the game window looks like this:


Can someone help me out with my problem (I already tried 1920•1080 res) ?!

Hey, I just finished my first game.
I am so happy that it works and would appreciate any feedback.
http://www.sharemygame.com/share/d980f167-e9c1-4635-8c58-5b86ce646927

Hello, you game have empty states.I push the button 2 when just have the option1 and dont show any text ou new options. i try push button again but did not work.
You just need remove the second state.
I like the story line.

Its a funny game. remember me when i was a child.

It’s pretty darn simple, but I learned quite a bit making it. Which is the point I suppose.

http://www.sharemygame.com/share/ecadab89-eca4-4288-a710-fdf01cfeb98a

I have published my Game Named Matrix Game
here is the link
http://www.sharemygame.com/share/25f06593-952e-486b-8864-c2c84d1cb1aa

Hey Rick,

Thanks a lot for the great course.
I followed it all the way through. It helped me develop an awesome game :slight_smile:

From the begining I targetted it for android platform. So didn’t try webGL builds.
I have created an end to end game. USed some of you assets too :stuck_out_tongue:

I have made one short video of it : https://www.youtube.com/watch?v=aWVn-XNon8c
Published it on playstore too : https://play.google.com/store/apps/details?id=com.namelessstudios.lazeradventures
github source : https://github.com/ajayaradhya/LazerDefender
Udemy id : be.el.ajay@gmail.com

Shared with some of my friends too. They are already considering me as some senior game developer :blush:
Please let me know of your thoughts and where I can improve.

Thanks a looooot again :slight_smile:

1 Like

Great work, I love what you’ve done with this project - I especially liked the boss. Also, great work on getting some health bars in the game. Well done!

1 Like

Thanks a lot!
I’m having some difficulties in creating and handling levels as of now.
Can you guide me to any of the topics/courses that you find it best for rookies ? :slight_smile:

I’m currently facing issues in spawning random waves of enemies in each level.
Level1 : enemies in given path which spawn one after the other (as in the course)
Level2 : enemies spawn in groups and dscend downwards.
At the end of Level2 I’m spawning the boss.

The approach I’m taking I’m not if it is right.
So need some documents on what’s the best pattern to create and handle levels in these requirements.

Any help would be appreciated :slight_smile:

Thanks again!

Above The Clouds

Took me a while but here it is! It’ll be awesome if someone can play it and give me some feedback! :slight_smile:

EDIT: You need to go into full screen to see some of the background. If you don’t, you won’t be able to see part of the background.

My first game!!! Go easy…it’s very short and sweet – I’d love to build upon it later.
It’s called Dungeon of Peril…it’s has a fantasy theme, sort of like Dungeons & Dragons.

http://www.sharemygame.com/share/8081c242-431c-43bd-8a5f-3eb022346ae1

Should we program the “Q” key to quit the game at any time? What should happen?

Hi, Just made my first game. Its about crashing on an alien plant and trying to escape, Enjoy :slight_smile:

http://www.sharemygame.com/share/3c9e697b-97d0-4927-8a67-9e156c00446f

This is quite an interesting topic Russell. The answer will really depend on the platform you plan to build/publish for.

If you were going to build for PC/Mac, then yes, you could add an option to quit the game and use the appropriate code to do so (Application.Quit).

Of course, this would then need a different behaviour when it’s running in the Unity editor, you could use something like this;

public void Quit()
{
    #if UNITY_EDITOR
        UnityEditor.EditorApplication.isPlaying = false;
    #else
        Application.Quit();  // or include more platform specific functionality
    #endif
}

Additionally, if/when the game is run in a browser you will not have control over the browser itself, so the same method of quitting the game won’t work. What you could do in this scenario would be to perhaps either not show the Quit option, or, if you do, have the browser redirect to another web page. Some people have opted for just redirecting to a blank page, I don’t personally see the value in that, however you could redirect to your own website, a portfolio page of other games you’ve made, a link to the store where you game could be found, or perhaps a feedback survey to ask for feedback on your game to collate some valuable feedback.

Finally, different vendors have their own requirements to consider, for example, Apple do not want developers to provide functionality to quit the applications, in favour of their own software managing it.

I hope the above is of use :slight_smile:


See also;

http://www.sharemygame.com/share/39fb35e1-5f2b-4591-9368-26b89d81c79e

my game :slight_smile: hope you enjoy

Here is my game, guys! Waryag. Or, what happens when a modern world choose an ancient world. By the way I’m still improving my English, so there may be some errors. Hopefully not too many. Hope you enjoy it guys!
http://www.sharemygame.com/share/5aedead8-7740-4675-8569-3c6921a6eabf

And by the way, Rick, what was in that folder of yours! I can’t stop thinking about it! :slight_smile:

Privacy & Terms