Jump to content


  • Content Count

  • Joined

  • Last visited

  1. Hi, could someone please explain what a widget library is and where would you find the result of it on your game, or on whatever you're building? Thanks!
  2. @Chris, http://wearekiss.com/spritepad, can you create spite animations as well?
  3. Whoops! Here's the link to my game! http://gamesitestuff.weebly.com/
  4. I think I figured out what the problem was. I'm using someone else's code and they have an animation set up in their code . But I just put a single image in there, so I think it's trying to switch back and forth to something, but there's nothing there. Not exactly sure how to upload my game to a webpage...I put a link at the bottom. Thanks for any help! I have about 4 .js files for this game. Here's the code for the app.js file. var requestAnimFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimation
  5. Hi, my jet in my html5 game dev. is blinking really fast -- I'm assuming it's probably my coordinates that are off, but I'm not too sure; I've never had that happen before. Thanks!
  6. Do you have a demo of this script working? Do you need an external html, stylesheet or js file to make this code work? Thanks
  7. Thanks for the comments, guys. @ParticalDude, do you know of any websites that teach you how to set up the code and stuff?
  8. Hi, I'm trying to create an explosion when I shoot an enemy jet. Not just an image when I shoot an enemy but an explosion to where it explodes and then fades like a GIF files. How could I implement that on my game? Right now I'm using a sprite sheet. Any help would be great thanks!
  9. Hi. I'm trying to make my jet shoot red bullets, but for some reason they're coming out at green. Here's my code.... function Jet() { this.srcX = 0; this.srcY = 510; this.width = 100; this.height = 40; this.speed = 3; this.drawX = 220; this.drawY = 200; this.noseX = this.drawX + 100; this.noseY = this.drawY + 30; this.isUpKey = false; this.isRightKey = false; this.isDownKey = false; this.isLeftKey = false; this.isSpacebar = false; this.isShooting = false; this.bullets = []; this.currentBullet = 0; for (var i = 0; i < 25; i++) { th
  10. I would look into a using sprite sheet. Nice game though!
  11. You've got a pretty nice game. Is it live? Can we see it?
  12. Instead of var bg = new Image();bg.src = "BG.jpg";//PLAYERvar playerShip = new Image();playerShip.src = "playerShip.png"; try this out. It's good coding skills. var imgSprite = new Image();imgSprite.src = 'sprite.png';imgSprite.addEventListener('load', init, false);Thanks for sharing your code with everyone, it gave me some ideas for the shoot sounds.
  13. Check out gyrostorms on YouTube. I am following his tutorials on how to make an game. Does the game work? I wouldn't use setInterval either...
  • Create New...