We're archiving the forums and going read only! You'll be able to see old threads, but new topics and replies have been disabled.

Visit the Game Jolt community for new questions and conversations.


Scratch is a tool created by the MIT Media Lab for game creation, targeted at an introductory level yet capable of much more. If you want to put any games you made with it onto GameJolt, here's the basic steps:

  1. Create a .zip file. The name doesn't matter.

    5d0992447cc76.png
  2. Go to the project you want and copy the embedded code for it.

    5d0992456bee8.png
  3. Paste this code into a new text file. Save this file as "index.html"

    5d0992468c8c5.png
  4. Put the "index.html" file into the .zip you made before. Save the .zip somewhere you can find easily, we will need it later on.

  5. Then on GameJolt, create a new game by clicking on your icon in the top right and clicking "Add Game".

    5d099247438df.png
  6. You will first go to a page asking you to agree to a bunch of stuff, read it and press accept rules.

  7. You'll then be put to a page where you fill out the game's name/site/genre/engine/description and other things. Fill all of this out and then click "Add Game" at the bottom.

  8. You should see your game page now. There's a lot of stuff to fill out here, but I'm just going to focus on how to add your game file in this tutorial. To do this, click the "Builds and Files" button.

    5d099247cef87.png
  9. From there, press "Add package"

    5d0992488461d.png
  10. Then press another "Add package" button. You can also fill out the description/change the title (not recommended) for your package here, if you are interested.

  11. Now press "Add release" and then "Save Release"

    5d09924919df7.png
  12. Now click "Add New Build" (so many buttons to click .0. )

    5d099249d76f4.png
  13. Now a screen with all the different types of downloadable games will come up, but our game is played in the browser, not downloaded. Click "Browser."

    5d09924a69490.png
  14. Alright, now we actually get to upload the game. First, make sure that you are set to "HTML" since we are embedding the project with HTML Iframe code. Second, under "Upload File" click "Choose File" and navigate to the .zip you made earlier. Third, you need to set the width to 485 and the height to 402. Once, all that is done, go ahead and press "upload build."

    5d09924ae685c.png
  15. You may have to wait a while for the file to process. Once it finishes, you should see a button that says "Publish Build." Click that to make the game visible to people besides you.

    5d09924ba74ff.png
  16. And you're game is done! Now all you have to do is fill out the rest of the page and then actually make the page visible. There are other tutorials for how to do that though, the goal of this one is just to explain uploading Scratch games.


Page 1 of 193 replies.

almost 11 years ago

you can put the code in an html file I guess and upload the html file but I've heard that you can compile scratch projects somehow

Last modified on November 18, 2014 by NickRock @NickRock

almost 11 years ago

Okay, I put the code into a plain HTML file and when I open it with Chrome, it works fine. :)

The problem is that when I try to upload it to Game Jolt, it says that it needs to be in a .ZIP with an index file in the root. How do I do that?

almost 11 years ago

Nevermind, I figured it out! Thanks so much! :D

over 10 years ago

Could you help, I can't figure out how to upload it.

Thanks in advance

over 10 years ago

@rider Here's what I did (with Windows 8).

Right click on desktop, go to new, and make a zip file.

Go to the project you want, get the embedded code for it, and paste it in a text document

Put the text document into the file along with any readmes or whatever you want.

Then on GameJolt, on your game editor add an HTML distribution. Add the file you want and set the width and height to 485 by 402.

That should do it.

over 10 years ago

What about on Mac?

over 10 years ago

Nevermind, but when I try to upload it, it says "Could not find index.HTML file"

over 10 years ago

You have to name the text file with the embedded code "index" and make sure it's an HTML file.

over 10 years ago

One question though, when I put my game on GameJolt, it shows all the code on the top, and the rest of the game is hidden on the bottom. if you go check out my game, you'll see what I mean.

over 10 years ago

How would I hide the code so the game can show, in other words

over 10 years ago

@rider you messed something up apparently. Just follow the directions and it should work.

over 10 years ago

What's an HTML file?

over 10 years ago

@workaholicgames lol. An html file is a file in "Hyper Text Markup Language"

To get it, just download notepad++ and create a text document. Save it as a .html and you should be good.

over 10 years ago

Thanks Potato, I got it to work

over 10 years ago

how to upload scratch game in gamejolt??

over 10 years ago

How do I get a scratch game code?

over 10 years ago

@Fazebear , No clue what you mean.

over 10 years ago

How Do You Get The Embedded Code??

over 10 years ago

Do any of you now how to add achevments to my scratch games?

over 10 years ago

@AbovePost, you can't.

over 10 years ago

how do i get the code?

over 10 years ago

Thanx

over 10 years ago

Don't mention it m10

over 10 years ago

Sory... but how to make HTML file? :D

over 10 years ago

^^

Read the topic m8.

over 10 years ago

I read but its still didnt work! :( m8!

over 10 years ago

Get the embeded code and put it in an empty file. Name the file index.html (make sure you make .html it's extention). Put it in a zip file and upload that as an html game.

over 10 years ago

OM(F)G! its work i <3 you all :D

over 10 years ago

Congrats.

I'm gonna go try it out. :)

over 10 years ago

Try number two its better