Publishing a Program
I made this program that I want to publish, but I don't know, can anyone help me?
I made this program that I want to publish, but I don't know, can anyone help me?
Go to the program and find the link, then paste that link into a comment. However, that's called spam unless you do it right.
(1) Make sure it's on topic. For example, if you made a tower defense, game, you could post it on The Ultimate TD. If you made a platformer, you might find other platformers, like www.khanacademy.org/cs/a/939844470.
(2) If you think it's worthy of the hot list, you need to put it in "New Program", save, and then share it quickly. You need lots of votes.
(3) Make sure you are following the guidelines. Clicking "Program Guidelines" near the vote count shows what programs KA doesn't like.
Where's the "publish" button. here's my program link https://www.khanacademy.org/computer-programming/mirror-circles/5191769911459840
How do you publish a program https://www.khanacademy.org/computer-programming/the-ufo-sighting/3004366438
same i can't publish my program
//Please check out my other programs.
//Check out the program this was based on.
//Click to throw fireballs.
//After 25 votes i will add better graphics and make it more complicated.
//Thank You Guys!!!!!!!!!!!
var ballPos = [];
var addPos = [];
var ballCount = 1000;
var piceratops = getImage("avatars/piceratops-ultimate");
var mouseClicked = function(){
ballPos.push(172);
addPos.push(1);
};
var draw = function() {
background(0, 0, 0);
frameRate(90);
noStroke();
scale(-1,1);
translate(-200,0);
image(piceratops, 70, 270);
resetMatrix();
image(getImage("creatures/Hopper-Cool"),300,290, 100, 100);
for(var i in ballPos){
translate(225,497);
rotate(ballPos[i]);
fill(255, 50, 0);
ellipse(100,200,50,50);
resetMatrix();
}
for(var i = 0; i<ballPos.length; i++){
ballPos[i]+=addPos[i];
if(ballPos[i]>=235){
ballPos.shift();
ballCount = ballCount -1;
}
}
fill(0, 0, 0);
textAlign(CENTER,CENTER);
textSize(30);
fill(255, 255, 255);
text("Try to Defeat Hopper-Cool", 200, 50);
text("Click to throw fireballs!",200,100);
fill(0, 255, 0);
text(ballCount,355,250);
rect(320, 275, ballCount / 1.5, 5);
if (ballCount < 0) {
background(0, 0, 0);
textSize(15);
fill(255, 255, 255);
text("Vote up if you love fireballs!!!", 200, 390);
image(piceratops, 50, 50, 300, 300);
textSize(50);
fill(255, 255, 255);
text("You have", 200, 100);
text("defeated", 200, 200);
text("Hopper-Cool!!!", 200, 300);
textSize(15);
text("Next Time Try to Beat Other Charecters!!!", 200,370);
}
};
Iniciar sesión para dejar un comentario.