My Game!
This is the code I used:
new Game.Player(350, 50, '/image/game/player2.png')
new Game.Player(50, 50, '/image/game/player11.png', 'w', 'a', 's', 'd')
new Game.GoodItem(150, 75)
new Game.GoodItem(350, 350)
new Game.GoodItem(50, 350)
new Game.GoodItem(350, 250, 'http://mouse-master.com/idol.png')
new Game.GoodItem(30, 100, 'http://mouse-master.com/idol.png')
new Game.GoodItem(200, 500, 'http://mouse-master.com/idol.png')e
new Game.BadItem(350, 150)
new Game.BadItem(50, 150)
new Game.BadItem(200, 450)
new Game.Enemy(50, 550, '/image/game/player10.png')
new Game.Enemy(350, 550, '/image/game/player10.png')
new Game.Obstacle(200, 250)
new Game.Obstacle(50, 500)
new Game.Obstacle(350, 400)
No comments:
Post a Comment