tanmoy749

Members
  • Content Count

    11
  • Joined

  • Last visited

About tanmoy749

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. tanmoy749

    Loading assets

    Still the same @GideonSam
  2. tanmoy749

    Loading assets

    Can you tell me where's the problem. It's still showing black box with green layer.
  3. tanmoy749

    Loading assets

    var game = new Phaser.Game(800, 600, Phaser.CANVAS); var PhaserGame = function () { this.sprite1; this.sprite2; this.pad; this.stick1; var dropZone; var dragPosition; var bullet; var addGroup; var createBoat; var button; var buttons; var actionOnClick; var items; }; PhaserGame.prototype = { init: function () { this.game.renderer.renderSession.roundPixels = true; this.physics.startSystem(Phaser.Physics.ARCADE); this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.scale.pageAlignHorizontally = true; this.scale.pageAlignVertically = true; }, preload: function(){ this.game.load.crossOrigin = 'anonymous'; // this.game.load.baseURL = 'http://examples.phaser.io/assets/'; this.load.atlas('arcade', 'http://examples.phaser.io/assets/virtualjoystick/skins/generic-joystick.png', 'http://examples.phaser.io/assets/virtualjoystick/skins/generic-joystick.json'); this.load.image('boat', 'bubble.png'); this.load.image('background', 'http://examples.phaser.io/assets/sprites/platform.png'); this.load.image('bg','http://examples.phaser.io/assets/sprites/platform.png'); this.load.image('ship','elbo.svg'); this.load.image('eye', 'elbo.svg'); this.load.image('rotate', 'elbo.svg'); this.load.image('sample', 'elbo.svg'); this.load.image('add','elbo.svg'); this.load.image('delete','http://examples.phaser.io/assets/sprites/space-baddie.png'); this.load.spritesheet('item', 'http://examples.phaser.io/assets/buttons/number-buttons-90x90.png', 90, 90); // this.load.spritesheet('butt', 'http://examples.phaser.io/assets/buttons/button_sprite_sheet.png', 193, 71); },
  4. tanmoy749

    Loading assets

    Yes that black box with green lines is showing. Okay you guys were helpful. I'll try to load them properly now.
  5. tanmoy749

    lebeling sprites

    Basically I want to attach multiple sprites together through drag and drop. When they are attached I need to give them a name. That's why I need this lebeling option @dude78
  6. tanmoy749

    lebeling sprites

    How can I lebel my sprites with a text when I click on them? I have some different sprites that I need to give different names through clicking on them. Thanks in advance.
  7. tanmoy749

    Loading assets

    Thanks guys. Assets are showing now. But I can only see the existence of the sprite. Proper view of the image is still not visible. Maybe i'm missing something very silly. I am using xampp for now.
  8. tanmoy749

    Loading assets

    Can you please elaborate @Mobler ?
  9. Need to make a drawing tool where sprites would be pipes of different shapes and they need to be controlled through drag and drop and virtual joystick.
  10. tanmoy749

    Loading assets

    How to load images or assets from local address instead of phaser assets through web? Whenever I try to load assets from my local drive it doesn't show the contents.I want to load my assets offline. Thanks in advance.
  11. I want to attach one sprite to another sprite through controlling via virtual joystick in phaser 2. I have some sprites like pipe in my game and I want to attach them to some particular position. How could I do that? I have created sprites and vjoy is only controlling one sprite. But I want all sprites to be controlled by vjoy and connect the pipes altogether. Been searching for this for a long time. Also i'm a noob. Any help would be really helpful. Thanks in advance. Love from Bangladesh.