Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+1
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
4
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ardywijaya1997

//thanks to GameAlchemist function createCountDown(timeRemaining) { var startTime = Date.now(); return function() { return timeRemaining - ( Date.now() - startTime ); } } var currentCountDown = createCountDown(30000); // Draw everything var render = function () { var countDownValue = currentCountDown(); returnKillsNeeded(stageNum); ctx.drawImage(startGameImg, 0,0); ctx.font = "24px Helvetica"; ctx.textAlign = 'center' …

Member Avatar for AssertNull
-1
326
Member Avatar for ardywijaya1997

How to add a score and collision detection between fruit and myAvatar? <html> <head> <script type='text/javascript' src='script.js'></script> <link rel='stylesheet' type='text/css' href='style.css'> <style> canvas { border: 1px solid #d3d3d3; margin-left: auto; margin-right: auto; } </style> </head> <body id="main1" background="Background.jpg" onload="startGame()"> <p id="text1">TIME: </p><div id="timer"></div> <script type="text/javascript"> function countdown (minutes){ var seconds …

Member Avatar for AssertNull
-2
368
Member Avatar for ardywijaya1997

I hope you can help me. here is the source code: <html> <head> <script type='text/javascript' src='script.js'></script> <link rel='stylesheet' type='text/css' href='style.css'> <style> canvas { border: 1px solid #d3d3d3; margin-left: auto; margin-right: auto; } </style> </head> <body id="main1" background="Background.jpg" onload="startGame()"> <p id="text1">TIME: </p><div id="timer"></div> <script type="text/javascript"> function countdown (minutes){ var seconds = …

Member Avatar for ardywijaya1997
-1
562