Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by plord · Mar 19, 2013 at 08:34 PM · webplayerwebflashwebsite

How implement my game on the website?

Hi, just like in title - how can I put my game on the website. Im not a pro of html or flash and I have no idea how to put it on website. I want to create a simple website with only main page, no subpages and on the main I want to put the game.

And one more, for web publishing what is better build the game for flash platform or web player?

Sorry for my english :)

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiloblargh · May 18, 2014 at 07:09 PM 0
Share

Flash Export is already dead and buried, and the Web Player's days are numbered; it will be replaced with WebGL. That is, if you have Pro, and you pay extra, and you don't care about good performance or multiplayer support. So if I were starting work on a game now, and it was primarily web-based, I wouldn't choose Unity to do it, or if I were starting work on a Unity game and trying to figure out a platform to target, it wouldn't be the Web.

5 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Mar 19, 2013 at 08:37 PM

You're going to need to become something of a web developer then. Read up everything you can on html, css and (website) Javascript.

When you make a webplayer build Unity will create for you an html and .unity3d file. These need to be uploaded to your web server. Each hosting company have their own way of getting files to the server, mine uses ftp. You'll also need to ask your hosting company to confirm that .unity3d files can be served.

You can use flash or webplayer. If you have no experience of either stick with webplayer.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image gamehero22 · May 18, 2014 at 05:14 PM 0
Share

But how do you make a webplayer build?

avatar image gamehero22 · May 18, 2014 at 05:23 PM 0
Share

Found it out lol In file then build settings ;)

avatar image D3NNYM41C01M · May 21, 2015 at 01:05 PM 0
Share

It wouldn't hurt to tell him how ins$$anonymous$$d of being a troll.

avatar image
0

Answer by pateras · Mar 19, 2013 at 09:11 PM

Just build targetting the web player. It will create an html file for you. Then you can just host it like any other page. There are a number of free options out there. Google for options.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by plord · Mar 19, 2013 at 09:09 PM

Thank you for response! :)

I know basics of html and I know how it works with index and ftp. (Maybe I exaggerated my skills :)). When I upload the files builded in unity (webplayer), do I have to use code generated by unity in .html file and place all files on server or just place the files on server and it will work?

thanks again.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image pateras · Mar 19, 2013 at 09:11 PM 0
Share

Yes. Just serve up the HT$$anonymous$$L file (with everything else that it generates) with your web server and navigate to it with a browser.

avatar image Itinerant · Mar 19, 2013 at 09:16 PM 0
Share

If you want to make your page a little bit fancier, you can muck around with the HT$$anonymous$$L page they provide. As long as you don't touch the javascript that much, you can make it look however you want.

avatar image
0

Answer by bruce965 · Mar 19, 2013 at 09:13 PM

Use Dropbox, upload both your HTML and your UNITY3D files in the same folder after compiling by clicking:

File -> Build settings -> Web Player -> Build

After that click on the chain image (at the right of your HTML file) and copy the link it gives you, this is the location where your game is published.

If you can't see anything you have to download the Unity webplayer from here or from the bottom of the page where the game is published.

Have a nice day!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Ben_the_Lad · May 18, 2014 at 09:03 PM

Hey! I've actually done this before, and it's super-simple. Here's my (admittedly poor) game SNOWBLOCK, which is built in Unity and runs on the web: http://snowblockgame.weebly.com/

You can get a new website free and easy at weebly.com with a drag-and-drop interface, so you only have to do a teeny bit of web development. The only problem with the Weebly method is that you're kind of restrained in the size of the screen, but that's also an enlivening constraint, because then you're almost certain your game will fit on the screen. It all depends on your design though.

I followed this tutorial to get my game up on Weebly: http://jschmille.weebly.com/using-unity-with-weebly.html

The big benefit here is that you don't need to worry about FTP or about writing any real HTML. Weebly's interface is limited by easy-to-use, and getting the game up and running online is a snap.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Once Unity loads (Web player) how do I prevent it from being *Focused*? 0 Answers

Can I used ScaleForm when I build to a Web Player? 1 Answer

Google Sites for hosting my game + issue tracking 3 Answers

Unity WebPlayer and DropBox Error 2 Answers

Browser-side WebPlayer application caching. 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges