Jump to content

Search the Community

Showing results for tags 'xml'.

  • 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





Found 9 results

  1. Hey all, Right now, Ludei Cocoonjs doesn't load and parse XML files... Which means that we can't load bitmap font data. I am wondering if anyone else has figured out a workaround to this issue?
  2. Hey, I am trying to use a texture atlas that comes with xml and not json. its actually one from kenny nl's free assets, which seems to come with xml only. i cant find a phaser example which loads an xml, and if i convert the xml to a json using an online converter, the json is formatted wrong ( " Atlas JSON Hash given, missing 'frames' Object" ) thanks
  3. I'm using the latest bjs alpha, a few old errors disappeared (fixed I guess), and new ones appeared. These are internal bjs errors that are not related to my code as far as I can tell. 1) I don't know what this is related to. 2) This error is logged for each .babylon file I'm loading. Why am I getting an XML parsing error on a .babylon file written in JSON format?
  4. I remember someone built an extension for Babylon.js where you could use XML tags instead of javascript to build the scene. I've checked the forums and can't find any mention of it anymore. Does anyone remember what it was called? I want to try it out again.
  5. Hi! This is my first time creating a game via a tutorial which I've coded along with so I am a completely new at this but I am eager to learn. I've this game "Bunny Defender" and want to create a simple High Score which I can store in some kind of localstorage with ex XML and display the high score result out on the screen when the game is over. I don't know how to do this and where to start. Would be very thankful if someone could point me at the right direction and how to manage this? // The complete game online http://rewindlevel.net/ // All the game files on github h
  6. Hi there, I am currently using Phaser for a University assignment and absolutely love it! Despite this I am having an issue trying to get a sprite atlas to work. I have created a sprite sheet and corresponding atlas using shoebox and I am loading it into the game like so: game.load.atlasXML('bee', 'assets/images/bee/beeAtlas.png', 'assets/images/bee/beeAtlas.xml');I think everything is working fine at this point. Then within my Bee object I am doing the following: this.sprite = game.add.sprite(50, 50, 'bee');this.sprite.animations.add('fly', Phaser.Animation.generateFrameNames('fly', 1,
  7. 3ddy

    Reading xml file

    Hello, I want to read data and properties from xml file in my game. I have already loaded the xml file in preloader using preload: function () { game.load.xml('xml', 'some_xml.xml', false); },I know that I can get it using cache.getXml(); but the question is... how to read data, properties from that xml? Some simple example will be great. Another questions : Is using xml file to store data (lots of text, nodes) a good idea? Would it work when making native app for android/ios using cocoon? I have found some old post that reading xml was not supported in cocoon, didnt find in
  8. Hello, I'm trying to use the TexturePackerGUI i have generated the spritesheet and a XML archive, when i test my game. This happen: Phaser.Loader - textureatlas[sprites]: Unexpected token <Phaser.Cache.getImage: Key "sprites" not found in Cache.Cannot set frameName: bonecoandando1.png Code o my Game:mapa.prototype = { create: function () { var tempodejogomapa = 0 if(niveldisponivel == 1){mapa = game.add.sprite(0,0,"mapa");} if(niveldisponivel == 2){mapa = game.add.sprite(-800,0,"mapa");} if(niveldisponivel == 3){mapa = game.add.sprite(-1600,0,"mapa");} if(niveldisponivel == 4){mapa =
  9. Hello, I am trying to draw a design for coins that the player collects like in super mario game. The coins design might have some fixed number like 8 designs. I want to draw these based on some random number generation and picking up one design . I am using a paralaxer background and moving the coins. After the coins have gone behind the screen I want to draw a new design. I don't know how to do this as I am new to game programming, my friend suggested me a possible way might be to include an xml file ,which contains like 0 ,1's you draw where there are 1's and leave where there are 0's
  • Create New...