20190505_213107
This is the free video 20190505_213107 that can be downloaded, played and edit with our RedcoolMedia movie maker MovieStudio free video editor online and AudioStudio free audio editor online
VIDEO DESCRIPTION:
Play, download and edit the free video 20190505_213107.
Program Purpose and Developement
2a.)
2b.) The program is a clicker game that features a score and life system. It features multiple “stages” where you have to click an enemy a certain amount of times to clear it. Once all the stages are cleared, the final boss appears. I worked independently when programming the random enemy movement and stage navigation. I collaborated with the final boss with a friend in programming the mouseover onEvent.
2c.)function enemyclick(enemy, health, stage, button, total){
onEvent(enemy, "click", function() {
setPosition(enemy, randomNumber(17,255), randomNumber(85, 350));
score = score + 100;
setText (total, score);
if (score == 100){
lives = lives + 1;
}
if (score == 1000){
lives = lives + 1;
}
if (score == 10000){
lives = lives + 1;
}
health = health - 1;
if(health == 0) {
stage = stage - 1;
hideElement(enemy);
}
if(stage == 0){
setScreen("map_screen");
hideElement(button);
setText("total_map", score);
setText("livesmap", lives);
finalbosstick = finalbosstick - 1;
if (finalbosstick == 0){
setScreen("game_screen5");
}
}
});
}
2d.)enemyclick("s1e_1", s1e_1health, stage1, "button1", "total_score1");
enemyclick("s2e_2", s2e_2health, stage2, "button2", "total_score2");
enemyclick("s3e_1", s3e_1health, stage3, "button3", "total_score3");
enemyclick("s4e_4", s4e_4health, stage4, "button4", "total_score4");
backgroundclick("background1", "number_lives1");
backgroundclick("background2", "number_lives2");
backgroundclick("background3", "number_lives3");
backgroundclick("background4", "number_lives4");
backgroundclick("background5", "number_lives5");
Citation:
Source compilation for AP Computer Science Principles
All art, enemies, and backgrounds are from the game Splatoon and Splatoon 2
Completed code:
studio.code.org/projects/applab/fxG23guELINDsFWwE2cRf_zC9NFP_CAzJE-QTTi3-LM/edit
Download, play and edit free videos and free audios from 20190505_213107 using RedcoolMedia.net web apps