Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/adding_up_to_10/js/lesson_multiple.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/adding_up_to_10/js/lesson_multiple.js')
-rwxr-xr-xexamples/adding_up_to_10/js/lesson_multiple.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/adding_up_to_10/js/lesson_multiple.js b/examples/adding_up_to_10/js/lesson_multiple.js
index b128938..318649f 100755
--- a/examples/adding_up_to_10/js/lesson_multiple.js
+++ b/examples/adding_up_to_10/js/lesson_multiple.js
@@ -2,8 +2,8 @@ $(document).ready(function(){
var k = $.karma ({container: "#karma-main"});
k.init({
images: [
- {id: "ball", file: "ball37.png", localized : false },
- {id: "balloon", file: "balloo.png", localized : false },
+ {id: "ball", file: "ball37px.png", localized : false },
+ {id: "balloon", file: "balloon.png", localized : false },
{id: "banana", file: "banana.png", localized : false },
{id: "chilli", file: "chilli.png", localized : false },
{id: "fish" , file: "fish.png", localized : false },
@@ -34,11 +34,13 @@ k.main(function() {
library.images["ball"].draw( surfaces["inline1"].ctx );
library.images["fish"].draw( surfaces["inline2"].ctx );
+ //surfaces["inline1"].ctx.drawWindow(window, 0, 0, 100, 200, "rgb(0,0,0)");
surfaces["inline2"].addEventListener(
"click",
function(){surfaces["inline2"].clear();}
);
+ surfaces["inline1"].fillStyle("#006699").fillRect(0, 0, 150, 150);
/*
surfaces["inline1"].ctx.fillStyle = "#00f";
surfaces["inline1"].ctx.fillRect(0, 0, 150, 150);