Jump to content

Search the Community

Showing results for tags 'panda.js'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





  1. I posted a question a month ago about licenses for the example games (both here and on github), and I got no response. It appears enpu has not been active on either github or this forum since February. It looks like the Panda.js project is dead?
  2. I made a canvas class for a drawing app and set a white rectangle made with Graphics.drawRect() as its sprite, but I need to change its fill color when I click it. It seems that's not possible according to the few info I've found, so I want to draw another rectangle and change the container sprite but that's not working. Am I doing something wrong? How should I replace the sprite? game.createClass('Canvas', { init: function() { this.drawContainer = new game.Container(); var board = new game.Graphics(); board.visible = false; board.beginFill(0xFF
  3. I'm just starting to learn PandaJS and I need to make a drawing game, where the top section has some controls to choose the type of figure, color, etc, and the bottom section is the drawing area (I attached a quick mockup) I've implemented some interaction with Pixi Graphics to draw the figures but in this moment everything is mixed into a single section, and the drawing starts just where I click the button to choose a figure. I want to be able to click any control from the top section and then start drawing when I click the bottom section. I've tried with containers but I don't really un
  4. Hi all, I am pleased to announce that one of my biggest html5 projects was released this weekend. The project 'Taalblobs' is a commercial website with many educational games that is designed to practise Dutch spelling. It contains 25 games (all written in panda.js), approximately 5000 Dutch words, a reward system for pupils, an adaptive algorithm as well as the option for a manual override, an extensive monitoring system for teachers and many many more cool features, all designed to facilitate educational professionals. Currently Taalblobs will be available in Dutch only but I am thinking
  5. Hi all, Recently it has been a bit quiet on the forum so I thought it would be a good idea to post the announcement here as well as in the showcase forum. I am pleased to announce that one of my biggest html5 projects was released this weekend. The project 'Taalblobs' is a commercial website with many educational games that is designed to practise Dutch spelling. It contains 25 games (all written in panda.js), approximately 5000 Dutch words, a reward system for pupils, an adaptive algorithm as well as the option for a manual override, an extensive monitoring system for teachers and m
  6. Hi, Is good idea today use panda.js?, so I understand that panda isn`t updated and in the repo las commits are of three years ago, and I am studying Pixi.js and I have many questions and dicumentations isn't enought, so for example I want to use scenes, make good animations but with pixi has been complicated for me. Thanks.
  7. I've been playing around with Panda.js using the example endless runner game avaialble here: https://github.com/ekelokorpi/panda.js-engine-games/tree/master/endlessrunner I've been having several issues trying to attempt to get the default scroll event working on mobile. I've modified the game in such a way as the user interacts with the game via DOM elements. As an example, I have a modal popup which they can click or tap to start the game, then when the game is over, enter their details via a similar modal with input fields etc. These modal boxes are rendered on top of the canvas e
  8. Hi Enpu. I really like Panda.js and the example games. Thank you very much for creating it! I wanted to confirm that the code for the example games in https://github.com/ekelokorpi/panda.js-engine-games is also MIT licensed? The examples are a great starting point for new games.. I understand that the graphics and sound assets probably have different terms, and can be replaced. So I am only asking about the license for the code, not the license for the assets. Keep up the good work!
  9. Hi guys, I just wrote a small plugin that enables loading a JSON file generated with PhysicsEditor directly in Panda.js+P2 physics engine. The main goal of this project is to facilitate the process and to provide an efficient the workflow to make great games in Panda.js: You can find the download on Github here: https://github.com/stephan0v/PhysicsEditor-plugin Have a look at the live demo in Panda fiddler here: http://vermeire.home.xs4all.nl/panda/ Requirements: Panda.js frameworkP2 plugin for panda.jsA working version of PhysicsEditor (https://www.codeandweb.com/physicseditor). Instru
  10. Hello guys I am a flash game developer and want to make some html 5 games for web and mobile for fun While searching for html 5 game engines I found panda.js I think this is a perfect game engine for me but I don't seem to find any tutorial aimed towards complete beginner which tells how to set up the project and how to start things. I know javascript but I don't know how to use it with this engine. Please anyone if you know about any beginner tutorial please tell me ! Please! I really like this engine ( I love pandas ) Cheers, crayonHero
  11. Hello, I come from an AS3 Background and have started working with panda.js. So far I am getting used to it, but i do have a question for understanding. What is the difference between: Game.Scene.Container vs Game.Scene.Stage vs Game.Scene.World? I have worked with nape before, so the world is for physics i take it. But where does scene.container and scene.stage differ from eachother? Thanks, N3RD_L1F3
  12. The problem is as described in the following video. https://db.tt/NAvsrdVD I have two timers, one to generate a new enemy. and the other to generate the shot. this.addTimer(3000, this.addEnemy.bind(this), true); //Call method for generate enemysthis.agregarEnemigo(); //update rotation angle for enemythis.addTimer(400, this.eBullets.bind(this), true);addEnemy: function(){ this.enemigo = new game.Enemigo(game.width.random(), game.height.random()); //call class enemy}eBullets: function(){ if(this.enemigo.life === true){ this.enemigo.Shoot(); } }This is my c
  13. A question. I need to rotate an animation, in the direction of another object. Create a method that allows me to do this. but for a sprite, but when I try to type an object animation, but does not rotate. watch the video, which have two methods, which are angles to me to turn my animation, you work to perfection and the other not. Video: https://db.tt/f01HXSmj Look how the sprite with the same angle, pointing to my hero. and when I use the animation with the same angle and not pointing to it. and when I change the method by spinning according to the pointer, rotating smoothly.
  14. Hi guys, I've two questions about PandaJS and vertical scroll system. 1) can someone explain how to make a sprite that going up is followed by the camera? A typical vertical scroll system. I saw this page: http://www.pandajs.net/docs/classes/game.Camera.html but I don't understand how to use these methods. 2) how to make a sprite jump through a platform while he's going from down to top, but stop when he touch the platform during the fall ? Reading the documentation and looking at demos' sources, I saw that I need to use this code to set the gravity (so my sprite fall down after the jump
  15. I need to rotate a sprite, according to the pointer. Phaser has the following code to do this. angleToPointer: function (displayObject, pointer) { pointer = pointer || this.game.input.activePointer; var dx = pointer.worldX - displayObject.x; var dy = pointer.worldY - displayObject.y; return Math.atan2(dy, dx);}Given this code, and reviewing the Class Vector in panda.js 2.0. In documentacionhe it is seen that has two methods which are: angle and angleFromOrigin. angleFromOrigin: function(vector) { return Math.atan2(vector.y, vector.x) - Math.atan2(this.y, t
  16. Hi, I'm a bit a new to Panda.JS. is there a way to load up image assets stored on a CDN? e.g Amazon In Phaser it's something like this: Remove the next 2 lines if running locally this.load.baseURL = 'http://files.phaser.io.s3.amazonaws.com/codingtips/issue008/'; this.load.crossOrigin = 'anonymous'; this.load.image('alien', 'assets/ufo.png');Is there a similar way to achieve this with Panda.js? Thanks
  17. Not if the following is an error. I'm learning this empirically Panda 2.0 game engine, I'm practicing what they learned. and at the moment I am working with graphics. So I'm developing a mini platform game for so implement everything learned. I do not have as sprites, then my hero will be a rectangle. The next thing is that in my class hero who I have called "Cat", I created the body of my hero, the rectangle will be red in the graphic class, adding a rectangle to this rectangle so add to the body of the hero , and finally adding it to the world as we will see in the code. game.createClass('Ga
  18. Hi guys, I just released the beta version of my first panda.js plugin. Download: https://github.com/stephan0v/Panda.js-physics-extention-plugin. Live demo: http://vermeire.home.xs4all.nl/panda/ Panda.js physics extention plugin. This plugin adds several features to the built in basic physics engine of Panda.js. Features: Collision between squares and circles is now far more realisic and follows the laws of physics.Gravity is no longer affected by the mass of the object.The effect of the gravity on individual bodies can be regulated now with the body.gravityFactor propertyYou can add
  19. Hey everyone, I'm recently working on a new arcade game called "Deadly Race Droid", using Panda.js. You'll play as a robot racing with others and fighting the evil snake It's more like a "RogueLite" game, you'll lose if "Life" is empty but you can purchase with rads you get after finishing each level. The game itself is almost done, next thing is the final boss battle then the extra bonus mode and character/level balancing. Seems like there're still lots of things to do, I'll try my best. You can play the demo here: http://ionicrabbit.com/games/DeadlyRaceDroid/ Feedbacks are
  20. I am learning to use this engine, but compared to some methods I've seen online, for example Phaser.js. not managed to create a method that can make my player shoot. This is my class and my method. game.createClass('Shoot', { init: function(x, y){ this.disparo = new game.Sprite('shoot.png'); this.bodyDisparo = new game.Body({ position:{ x: x + this.disparo.width, y:y } }); var circulo = new game.Rectangle(this.disparo.width, this.disparo.height); this.bodyDisparo.addShape(circulo); game.scene.objectContainer.addChild(this.disparo); game.scene.world.addBody(this.bodyDisparo); game.sc
  21. I tried to apply this plugin on my existing project and I can confirm that FPS are always at 60 and there's a lesser CPU usage. This is only a workaround at the moment, so I can't reccomend to use it but could be a huge start point for high performance iOS games. iOS8 is installed on 56% of devices at the moment (https://developer.apple.com/support/appstore/) in my humble opinion, due to a jailbreak not available. But now, a JB was released so I think that this 56% will increase early.
  22. Hi, I've a little problem to using tween. I use this folowing twin to make move a sprite when I click on a button game.scene.addTween(this.object.sprite.position, { y: this.object.sprite.position.y-35}, 500, { easing: game.Tween.Easing.Quadratic.In, repeat: 1, yoyo: true}).start();but if i click on the button during the animation, he restart one at the end with the object position when the second click happened. And its create an unwanted gap.
  23. Hi, i tried to make a game with a pause menu but, i only success to supress resume button (not the restart or the menu button) when i click on it. I've tried with remove child and remove but it's don't work. RestartButton =game.Class.extend({ init:function(){ this.sprite = new game.Sprite('run'); this.sprite.interactive = true; this.sprite.mousedown= this.sprite.tap = function() { game.scene.stage.pausedGame=false; this.remove(); //Need Help here }; this.restartChoice = new game.Text("Restart", {font: '40px wallfont',
  24. Phempt


    Hello guys, is it possible to color a body shape with a repeatable texture? Something like: var floorBody = new game.Body({ position: { x: game.system.width / 2, y: game.system.height - 35 }, collisionGroup: 1 }); /* GAME STANDARD SHAPES & BODIES */ var floorShape = new game.Rectangle(game.system.width, 70); floorShape.TEXTURE = new game.sprite('env/black.jpg'); //something like this floorBody.addShape(floorShape); this.world.addBody(floorBody);
  25. Hello guys, I want to move my sprite to left/right using the gyroscope/accelerometer. Is there something on panda to do this? Edit: Unfortunately the link here: http://www.html5gamedevs.com/topic/7064-how-to-use-accelerometer/?hl=accelerometer is offline.
  • Create New...