Search the Community

Showing results for tags 'gun'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 5 results

  1. I have done a demo code that creates a gun (blue box) and bullets (red boxes). How can I set the initial position of the bullets depending of the rotation of the gun? Said with other words, if I rotate the gun (left/right arrows) , the bullets keep coming from the top side of the gun (box) instead of rotating accordingly. Code: http://plnkr.co/edit/3evg6J2cGo0nS7QKxiak?p=preview Preview: http://run.plnkr.co/AodG3n4Ykb3osdh2/
  2. Update - the game is now available on Google Play as a native app: https://play.google.com/store/apps/details?id=com.afgt.naval The link http://www.askforgametask.com/mobile/games/naval/ Description Naval Battle is an HTML5 arcade game in which your mission is to destroy a fleet of enemy cargo ships before they deliver ammunition and provisions to the enemy troops. You are the commander of the VIC Victory, a fast light tank used by the Mobile Costal Artillery in defending a country against sea attacks. Your tank is armed with a limitless supply of anti-ship shells, but be aware that only one shell can be in view at a time! You have only 70 seconds to sink all enemy ships. They are not armed, but they are protected by the gun fire from a fortified enemy battery on the other side of the bay. And they are moving with different speeds. So you need to aim very carefully! The game ends if you fail to complete the mission within the 70-second time limit or if your tank is destroyed by enemy gun fire. Controls Use the left and right keys to move. Use the up or space key to fire. Screenshots
  3. el_scrambone

    [WIP] Angry Submarine

    Description: Collect gems to earn money, avoid or KILL enemies, collect fuel and ammo, go as long as you can! Mobile friendly HTML5 game Author: el_scrambone Genre: Action, Adventure, Shooter Game Dimensions: 852 x 640 pixels Game Link: http://bap1.pe.hu/ If you have some questions or tips - go and tell it to me) will be glad to get some feedbacks! Screenshots: Video Trailer:
  4. Hello everyone, it's me again.. i think my last post wasn't very clear .. i need help see i'm using this code (PLAYER) player = this.game.add.sprite(32, game.world.height - 150, 'dude'); game.physics.arcade.enable(player); player.body.bounce.y = 0.2; player.body.gravity.y = 1200; player.body.collideWorldBounds = true; player.animations.add('left', [0, 1, 2, 3], 10, true); player.animations.add('right', [5, 6, 7, 8], 10, true); Now i want to attach a gun with him, infront of him so i just used this code gun = game.add.sprite(player.x + 45, player.y + 55, 'DE'); somehow, player.addChild(gun); is not working... for that i did that gun = game.add.sprite(45, 55, 'DE'); player.addChild(gun); (If you think your code is working with .addChild() function please let me know) it's still not working, Please have a look at JsFiddle http://jsfiddle.net/AliMalik/snctgm5q/5/ (I DIDN'T ADD, ADDCHILD FUNCTION IN THERE, PLEASE JUST TAKE A LOOK, GIVE ME YOUR OPINIONS ABOUT HOW TO MOVE WITH PLAYER) NOTE : i also used "group" function to move gun, it worked fine. The only problem was in that function was whenever my player launches vertical velocity (player.body.velocity.y = -xx;) the gun in the group never stops, it gets out of bound in Y direction.. thank you
  5. Wreaking Independence is a small survival shooter I made for this weeks FiMaRu game jam with the theme independence. Its not completely done but mostly, I just need to add music/sounds, touch controls and hopefully another gun. Kill robots using guns, collect scrap metal, build a better gun or more ammo. Play: http://wreakingindependence.clay.io Screenshots(*Warning big*): Any feedback at all is appreciated!