zurcxer

Members
  • Content Count

    17
  • Joined

  • Last visited

About zurcxer

  • Rank
    Member

Profile Information

  • Gender
    Not Telling

Contact Methods

  • Twitter
    rexternberg
  1. I think game.Circle class has a default of 50 as its radius. Even if I change it. It falls endlessly.
  2. Hi, Have you tried this? http://www.html5gamedevs.com/topic/5033-fixed-game-canvas-widthheight/
  3. Hi Pandajs experts! I have this 2 bodies in a world. body1 is a rectangle.body2 is a circle. I also have a ground. I want to make these 2 bodies fall in the ground. Rectangle falls and hit the ground. But the circle continues to fall. this.world = new game.World(0, this.gravity);var groundBody = new game.Body({position: {x: game.system.width / 2, y: 750},collisionGroup: 0});var groundShape = new game.Rectangle(game.system.width, 100);groundBody.addShape(groundShape);this.world.addBody(groundBody);var x = game.system.width / 2;var y = 600;body = new game.Body({position: {x: x, y: y},velocityLimit: {x: 100, y: 1000},collideAgainst: 0,collisionGroup: 1,});var bodyShape = new game.Rectangle(200, 30);body.addShape(bodyShape);game.scene.world.addBody(body);body2 = new game.Body({position: {x: x, y: y},velocityLimit: {x: 100, y: 1000},collideAgainst: 0,collisionGroup: 1,});var bodyShape2 = new game.Circle();body2.addShape(bodyShape2);game.scene.world.addBody(body2);body.mass = 1;body2.mass = 1; Do you have any idea?
  4. Hi pandajs experts, How will I add text boxes and other input elements to pandajs? I've read that we can create elements outside canvas. (http://stackoverflow.com/questions/4797748/can-i-put-a-html-button-inside-the-canvas) What is your thought about this? Thanks,
  5. Great... it works.... Thanks enpu...
  6. How do pandajs experts will code this? I wanted to clear the contents of the container for a new sets of images.
  7. Thanks for the update.
  8. I see.. Right now I'm looking at websocket. I found that panda.js has a plugin for websocket. I wanted to try to create a game that can interact with other players. Is there a sample code on how websocket and panda.js works? Thanks,
  9. The idea is like combining mongodb, nodejs, expressjs, angularjs and pandajs in a single game. Is that possible?
  10. From a database like mongodb
  11. Hi Pandajs experts! How can I make pandajs and angularjs work together? I would like to experiment on getting a resource object and use it in a game. Is that possible? Or is there any other js framework that can do the job? Thanks!
  12. I saw the problem. It's on addParallax method (Flying Dog app). I think It's because of the game.TilingSprite update. Where in it needs to set the texture as the first parameter. Pandajs is really awesome.
  13. Hi, After updating to the latest version 1.2.0. I get this error on loading. The frameId "0" does not exist in the texture cache Thanks,
  14. Hi enpu! I add the following lines on your sprite.js (Container class). I dont know if contains method exist in other class. /** * Check if children exist */ contains: function(obj){ return (this.children.indexOf( obj ) !== -1); }But its not 100% working sometimes I'm receiving an error. I think it occurs when calling the removeChild() method twice. Uncaught Error: [object Object] The supplied DisplayObject must be a child of the caller [object Object]