User prompt
Increase the size of the enemies a bit
User prompt
Make the player a bit bigger
User prompt
Add a score
User prompt
Spawn new enemies every 8 seconds randomly on the map
User prompt
Make the player faster every 5 seconds as well
User prompt
Increase the speed of the enemies every 5 seconds
User prompt
Add touch function to move the player around
User prompt
Make the player move, using Touch
User prompt
Add touch control
Initial prompt
Manhunt
===================================================================
--- original.js
+++ change.js
@@ -1,7 +1,8 @@
var Hero = Container.expand(function () {
var self = Container.call(this);
var heroGraphics = self.createAsset('hero', 'Hero character', .5, .5);
+ heroGraphics.scale.set(1.5);
self.speed = 5;
self.move = function (touchStart, touchEnd) {
var dx = touchEnd.x - touchStart.x;
var dy = touchEnd.y - touchStart.y;