rmbennin

Members
  • Content Count

    6
  • Joined

  • Last visited

About rmbennin

  • Rank
    Newbie
  • Birthday 12/18/1994

Contact Methods

  • Website URL
    http://rachellebenningtonmedia.com

Profile Information

  • Gender
    Female

Recent Profile Visitors

675 profile views
  1. Thank you so much! I was so confused at what that meant. I'm new to programming and can be dumb about some stuff!
  2. rmbennin

    Stop Update?

    I thought that would work too (which it did, besides the fact my sprites won't die (I have kill on both) for some reason, but then I got these two errors: Uncaught TypeError: Cannot call method 'postUpdate' of null Uncaught TypeError: Cannot read property 'disabled' of null Any ideas on what the problem is? Sorry to be a bother!
  3. Hello everyone, I've looked over all the forums and help docs for how to include a background image for my Phaser game, but for some reason mine isn't working. I keep getting this error repeatedly: "WebGL: drawElements: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'. Or the texture is Float or Half Float type with linear filtering while OES_float_linear or OES_half_float_linear extension is not enabled. " I have this code in preload(): game.load.image("background", "assets/background.jpg");And this code in create(): background = game.add.tileSprite(0, 0, 1000, 600, "background");Any help would be appreciated... Thanks!
  4. rmbennin

    Stop Update?

    Hello all, I am trying to basically stop my Phaser game completely, the main thing is getting it to stop "updating". I'm not sure how to do this. This is my code creating the game: game = new Phaser.Game(1000, 600, Phaser.AUTO, "gameCanv", { preload: preload, create: create, update: update, quitGame: quitGame } ); In the quitGame function, I am trying to stop the game from running, so I can see if the user got a high score, update the scoreboard for it, and ask the user if they want to play again with different conditions. I have this code for that function: function quitGame(){ console.log("in quitGame"); ingredient.kill(); chef.kill(); score = 0; gameOverOne();} //end quitGame function Please help... Thank you!
  5. I actually figured it out... Well, by figured it out, I mean suddenly it started working without me changing any code. Not sure what was going on... But thank you!
  6. Hello, I've looked all over for an explanation as to why I'm getting this error: "Texture Error: frame does not fit inside the base Texture dimensions [object Object]". I believe it is happening from loading in my sprite for my game, but I'm not sure. I used Flash to create a JSON and a PNG file for the sprite, and they both look valid. I'm using this code to load in the sprite: "game.load.atlasJSONHash("chef", "assets/sprites/chef-spritesheet.png", "assets/sprites/chef-spritesheet.json");" Thanks!