Search the Community

Showing results for tags 'generate'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

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

Found 6 results

  1. hi do you know any tools to generate 2d mesh from geometry or Points like following image? i wanna create navmesh data from tiled tool. but i can't find good tool to generate from tiled data yet.. please tell me any good news .. thx.. best regards..
  2. Generating Procedural Racetracks

    Hi my friends, Someone has created a method for generating racetracks in Phaser? PD: I think the hardest thing to do is put the car slow if it leaves the road... I don't have idea Example: http://www.gamasutra.com/blogs/GustavoMaciel/20131229/207833/Generating_Procedural_Racetracks.php Thanks in advance!
  3. Prototype of a game

    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 code to work as this in the video. The goal is to generate enemies and shoot them my hero. So far the problem that I have is that when you build the next enemy. the former enemy stops shooting. And I want to shoot the enemies simultaneously.
  4. Procedurally generating a tilemap

    Currently, I'm trying to take my 2d array and make a tilemap out of it. Unfortunately, I hit a wall right away, and I can't seem to find any examples of doing this. Here's what I've got: var map = new MapGenerator(pregens.openworld1); var tilemap = new Phaser.Tilemap(this.game, null, 32, 32, map.worldWidth, map.worldHeight); tilemap.addTilesetImage('DungeonA2', 'DungeonA2', 32, 32, 0, 0, 0); tilemap.addTilesetImage('WorldA2', 'WorldA2', 32, 32, 0, 0, 192);where map basically returns my "world" object. I'm trying to add tileset images but it keeps failing. In my preload state, I have this: this.load.spritesheet('DungeonA2', 'assets/sprites/tiles/Dungeon_A2.png', 32, 32); this.load.spritesheet('WorldA2', 'assets/sprites/tiles/World_A2.png', 32, 32);so those keys should definitely exist in the cache, but yet it fails with "cannot read property cache of undefined" on tilemap.addTilesetImage. Any ideas what I'm doing wrong?
  5. Hello. Maybe I'm off topic, but maybe someone knows the solution of my question or can tell me where to look. I need to automate OpenOffice so that it was possible to automatically generate reports. Thanks in advance